Hi!
In Elgg the footer is in page_wrapper div, I want to level up it:
I want to put out it from page_wrapper, as direct child of page_container div.
Can I do that?
Thanks
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.
maybe I was not clear... ^^'
I try to explain better, this is elgg strcture:
I need to make this change:
Is it possible? How can I do it?
Thanks
Yes, you can do that with a plugin. You have to override the pageshell view.
ok, but how?
in pageshell.php I have the div in page_wrapper.
I have no visibility of page_container div. :(
Thanks
more ideas?
You can easily do this by creating custom footers and page-wrapper(i think) in the page-elements folder in your theme.
mmm where is page-wrapper?
It's not in page-elements folder.
Thanks
If you go to your elgg folder>views>default>page_elements, you will see the files which provide most of the HTML for your elgg site. DO NOT EDIT THESE FILES, instead, copy them to your theme folder and edit them there until you have your desired structure.
The files you will probably need to edit should be the footer.php and maybe the header_contents... if not explore a bit...
I saw header_contents, but I didn't find the solution.
In this file I have this:
But I have not visibility to footer... :(
Am I wrong?
Looking at your proposed structure, you can probably achieve this by just editing the footer.php. Try adding a </div> after the first clearfloat in the footer.php file, that should close the page wrapper div and then delete the now redundant page wrapper div at the bottom of the file (it is clearly commented so you shouldn't miss it).
That should give you your desired layout.
- Previous
- 1
- 2
- Next
You must log in to post replies.