Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • dignacio Friend
    #157582

    I don’t want the content block shown on the homepage, but still want to be shown on other pages. Is this possible for this template?

    dignacio Friend
    #367617

    Can anyone help me on this? I just don’t want the main content block shown on the frontpage.

    Phill Moderator
    #367619

    You will need to create a new profile to do that.

    1) You click to the Profiles tabs => click to create new button to create a new profiles, you named it “home-page”.
    You click to home-page profile: you choose No for the Hide Main content block parameter

    2) you click to the Global tab, in the Profile Override Settings panel , you add the Home menu with the home-page profile

    Hope that helps.

    dignacio Friend
    #367638

    Hi Phill,

    Thanks for your response. I know you can do what you mentioned above on the newer templates. The JA Kyanite is a little bit older and the interface is different when you edit the template on the backend of Joomla. The profile and global tabs are not there. Any other tips? Any help is much appreciated.

    Saguaros Moderator
    #367861

    Yes, Now please open the file templatesja_kyanite_iilayoutsdefault.php

    and find:
    [PHP]
    <!– MAIN CONTAINER –>
    [/PHP]

    replace:
    [PHP]
    <?php if( !$this->isFrontPage() ): ?>
    <!– MAIN CONTAINER –>
    [/PHP]

    and find:
    [PHP]
    <!– //MAIN CONTAINER –>
    [/PHP]

    replace:
    [PHP]
    <!– //MAIN CONTAINER –>
    <?php endif; ?>
    [/PHP]

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

This topic contains 5 replies, has 3 voices, and was last updated by  Saguaros 13 years, 11 months ago.

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