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 🙂