Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • cmuise Friend
    #149348

    How to assign homepage to JA_Kyanite_II template?

    Actually I need to take out breadcrumb and main body from the homepage.

    I was thinking to install 2nd copy of template and modify topsl.php file.
    How to install 2nd copy of template?

    Thank you

    histeriks Friend
    #335522

    cmuise;168518How to assign homepage to JA_Kyanite_II template?

    Actually I need to take out breadcrumb and main body from the homepage.

    I was thinking to install 2nd copy of template and modify topsl.php file.
    How to install 2nd copy of template?

    Thank you

    Hi cmuise,

    to asign a new homepage, all you need to do is to navigate to your main menu in the menu manager, tick on the new menu item that you want to be your new homepage and click on Default icon (yellow star) in the upper menu.

    Now, for the breadcrumbs, open file main.php, located in /ja_kyanite_ii/layouts/blocks directory, and on line 6 find this:

    <!-- BREADCRUMS -->
    <div id="ja-breadcrums">
    <div class="inner clearfix">
    <strong><?php echo JText::_('You are here')?></strong> <jdoc:include type="modules" name="breadcrumb" />
    </div>
    </div>
    <!-- //BREADCRUMS -->

    insert a module count so that this code looks like this:

    <!-- BREADCRUMS -->
    <?php if($this->countModules('breadcrumb')): ?>
    <div id="ja-breadcrums">
    <div class="inner clearfix">
    <strong><?php echo JText::_('You are here')?></strong> <jdoc:include type="modules" name="breadcrumb" />
    </div>
    </div>
    <?php endif; ?>
    <!-- //BREADCRUMS -->

    this will get you rid of the breadcrumbs, now all you need to do is to take care of this image that stays in the middle when there’s no articles displayed.
    I’ll think of the best way to get rid of that too and i’ll report back 🙂

    cmuise Friend
    #335533

    Thank you for fast responce!
    This is what I am looking for, and please explain how to remove the box image when I don’t have any articles!

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

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

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