Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • troy Friend
    #151289

    I would like to differentiate the home page from sub ages with an alternate header.

    What is the best method to set up a separate header for the home page header?

    toymaker Friend
    #344570

    Piece of cake!
    BTW… testing this fix for you made me realize there’s a problem inside Seleni’s template configuration.
    http://www.joomlart.com/forums/showthread.php?p=179798#post179798
    so thx! 😉

    The main page (frontpage) can be always referenced as being ItemId 1

    So, because T3 has this wonderfull per/item id or per/component layout option, you can actually change layouts quite easily using your template config.

    What you need to do is this…

    Step 1: Go to your Layouts folder and duplicate your default.php layouts file (name your new copy default-front.php)
    Step 2: Go to the blocks folder and duplicate your header.php file (name it header-front.php)
    Step 3: Open your newly created header-front.php file and make all changes you’d like the front page to have or show.
    Step 4: Open your new layout default-front.php and edit line 58 from this:

    <?php $this->loadBlock('header') ?>
    To this:

    <?php $this->loadBlock('header-front') ?>
    Step 5: go to your admin interface >> template config and where it says “Page Layouts Overwrite”, make a new entry on a new line like this

    1=default-front

    What we are doing here, is using T3 new layout overrides capabilities to change the layout of the front page.

    Hope it helps!
    Gabriel

    troy Friend
    #347026

    That was easy!!! Thanks, toymaker

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  troy 14 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum