How to Make Static Profile Pages in Elgg
Written by Rodolfo Hernandez Monday, 3 January 2011
This article will give you an easy to follow guide on how to make default and static user profiles in Elgg.
Before I jump into I am going to explain what is a profile page. Well, Elgg provides a feature in which anyone that creates an account in Elgg will have a profile page. A profile page is where anyone can describe himself in any way desired.
Default Profile Page:
A way to manage profile pages and making them non user editable is by creating static profiles to all users. By doing this, you can give the desired layout of a profile page that everyone will have. However, before making them static, we will need to establish the default profile that everyone will have. To do this we do the following:
1. Login to your site as an Admin. Go to the Administration Page, then to Tools Administration and look for a plugin called defaultwidgets and enable it. This plugin comes by default in any recent version of Elgg:
2.After enabling it, please go to the Administration menu and click on the Default Profile Widgets link:
3. After clicking on that link, a different page will load. There you can drag and drop the elements that you want to establish by default on all the profiles on your Elgg site:
4. After setting custom default profile, we make them non editable. Basically what we are going to do is removing the edit page button that is located on the profile page.
Profile with Default Custom Layout:
5. Go to YourElggFolder/views/default/canvas/layouts/ and open the file called widgets.php.
6. Look for this line:
That line is located on line 267. Remove it and the edit page buttom will be gone:
For more info about Elgg hosting solutions please visit Arvixe-Elgg Hosting