Getting admin and user sidebar to behave with the rest of the site
Jacynthe_D
Joined: 2009-08-15
Posts: 3 |
Posted: Sat, 2009-08-15 02:30 |
I was hired to upgrade a gallery install to the latest stable release and have been having a ... "blast" shall we say retemplating the whole thing to work with the customer's site. After much headbanging against the wall and what not, I have gotten it to where I want it to be EXCEPT when it comes to the bloody admin and user sidebars (when you click either Site Admin or Your Account). The image below shows the correct behavior and the way both sidebars behave. I know that both the SiteAdmin and UserAdmin templates are in the core/templates folder - I figured that much already - but for the life of me I cannot wrap my head around the way I would go about fixing the issue. The way both those files are set, the "menu" AND the content are in a table hence why I can't dissociate the content from the menu. BUT, since I would like for the menu to be located in the sidebar and the content to be in the content-pane... I kinda have to separate them somehow. Any help would be greatly appreciated as I've been looking at this for the best part of 2 hours and am still no closer to finding the solution than I was when I started. Thanks. |
|
Posts: 3
Alright I found a way to do this.... maybe not the BEST way but this works just fine anyways.
Posts: 27300
I bet there was some template issues?
FAQ: How can I make sure that my installation files are all intact?
might have helped. as well as looking for /local/* files
glad you got it sorted.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 3
Actually... it's just that I took all that was in the SiteAdmin.tpl and UserAdmin.tpl in modules/core/templates/ that was related to the menu... and transfered that in the sidebar.tpl by adding the {if} statements
so I basically now my sidebar looks like this
By removing those "menu" options from the core templates and by removing the table, just leaving the call to the gallery file in SiteAdmin and UserAdmin, that did the trick. Not exactly mentioned in any of the FAQ I read!