The default page layout on a new 1.8x install appears to be one_sidebar. How can I change mine default view to two_sidebar or 3 columns?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
There is no default layout per se. Each plugin chooses the layout it prefers.
You can overwrite the layout views and call the 3 column layout view that you would like to display instead.
I tried placing views/default/page/layout/one_sidebar.php into mytheme and replacing the code with the code from the two_sidebar.php file and that works OK except on any ALL groups, file, pages or blog page, such as www.elggsite.com/groups/all. www.elggsite.com/groups/member/admin and www.elggsite.com/groups/owner/admin are fine. Why is that?
I think you should copy layouts/content.php to your theme and change the bottom line to,
echo elgg_view_layout('two_sidebar', $params);
@gillie... I have tried that too and get the same bad effect as above, just on "all" pages. View here... http://my.teamsgalore.com/groups/all
It only displays the sidebar (right column) but aligned to the left. Also on Search Results page.
Something else is wrong. Did you remove previous edits and run upgrade.php
@gillie... Just ran upgrade... still same problem.
Try to remove whatever you add to sidebar_alt.
@gillie... Spot on.
Here's my start.php code...
?>
when I remove the elgg_extend_view code the siteworks OK so what is the correct way to place content into the sidebar_alt area?
How come this line...
elgg_extend_view('page/elements/sidebar_alt', 'page/elements/profile','700');
works fine in all site pages except...
myelggsite.com/groups/all
myelggsite.com/files/all
myelggsite.com/bookmarks/all
Works OK on My or Friends but on All it displays only the sidebar (right colmn) with no css.
An expanation and solution would be much appreciated.
;-oO;X
- Previous
- 1
- 2
- Next
You must log in to post replies.