The Joomla! Forum ™






Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Jun 04, 2012 12:54 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Nov 12, 2007 5:43 am
Posts: 92
Tried this but it does not work.
http://docs.joomla.org/Using_the_Page_C ... plate_Code
When I follow the exact same instruction I just get blank page.

I tried adding this to the body tag.
Code:
   <body class="<?php echo $this->pageclass_sfx?>">

It the class just won't show.
I also tried adding it to other divs.

I want to basically have a different layout for the homepage.
My idea is to set a page class in the menu and then using CSS change the layout position and hide certain elements. Yes and I also want to have a different body background only for the home page.

The problem is that the page class is only applied to <div class="item-page"></div>
This does help me change the position of the content through CSS. But I cannot change the background and hide other elements of the page as they are "outside" of this class
Any help is appreciated.

Also I thought of duplicated my current template and doing the necessary changed and apply the 2nd template only to the home page.
I can find not way to upload the template. I tried renaming the current Beez5 template and uploading it through the extension panel but it did not work the entire design was haywire for some reasons the CSS codes all remained the same.(I had yet to edit it I just duplicated it and installed it).
I really cannot find any information on how to install a template copy.
If I used the "duplicate" template option in the back end I can see two styles but there is not way to edit it. I can't even figure how does that help.
I even used save as copy. But it does not save any copy. It only adds one more style with the name "BEEZ 5 Default Copy"
But there is not way to edit that.
Thanks in advance.


Top
 Profile  
 
PostPosted: Mon Aug 27, 2012 3:52 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Jan 06, 2009 9:39 pm
Posts: 196
If you want to load a modded second template just ftp it into your templates folder (or upload it with cpanel) and then go to extensions => extension manager and hit the discover button. This should make it appear in Templates. Go into templates to the modded template and click on it in the left-hand STYLE column. When it opens, look in the menu assignment panel. Select Home under the Main menu. It is one of the few improvements I have found in an otherwise prematurely released product.

I made it because I had trouble with page class suffixes. :)

Good luck,

Lowtech

_________________
That one may smile and smile, and be a villain.
-Wm. Shakespeare, Hamlet, Act 1, Sc. 5.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group