Artisteer - Web Design Generator

Changing Elgg Profile Layout

Feb 14th, 2010 | By juipodev | Category: Elgg Hacks
Share |

If you work with Elgg, you know that in default Elgg profile page, the Profile Fields extend into the middle column. No matter what theme you use (Elgg default or plugin) this is the default layout that is coded in Elgg core Profile plugin files.

One of our clients wanted to have the Profile table in one single column with Profile Info Fields below the Profile Icon so other widgets can be flush on the top of middle and right columns with the Profile.

Profile Info Single Column Layout

To make these sorts of changes you need to get familiar with Elgg’s view system. This is not easy to achieve as it is controlled by Elgg core/plugin files (even though in this particular project, code was done in such way that layout is controlled by the theme itself – photo above)

The layout of the profile widgets and dashboard widgets is handled in: /views/default/canvas/layouts/widgets.php

Right now it is using tables to display profile. With some css styling and php coding this can be achieved for unique, single column user profile view.


Share |

Leave Comment

You must be logged in to post a comment.

Next?

RSS-Feed Subscribe to RSS-Feed
Subscribe via Email Subscribe via E-Mail

Add to Technorati Favorites

More from this category