test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • ashtravel Friend
    #157891

    Hi,

    I wonder how can I have the breadcrumbs position to show under the module “slideshow” in addition to the one located at the bottom of the pages in the module position called “breadcrumb”?

    I need the “copy & paste” information to duplicate the breadcrumb position in the template. Please see attached images.

    I will appreciate any help.

    Thank & regards,


    1. ja-portfolio-breadcrumbs
    2. ja-portfolio-breadcrumbs-2
    Saguaros Moderator
    #368720

    Now, please come to the template’s configuration, and click to the Layouts Tabs and then edit the Default Layout.
    Find:

    <block name=”slideshow” type=”modules” style=”raw”>slideshow</block>

    replace:

    <block name=”slideshow” type=”modules” style=”raw”>slideshow</block>
    <block name=”navhelper” type=”navhelper” main-inner=”0″></block>

    ashtravel Friend
    #368834

    Thanks, that worked. But there is a “To Top” link at the top of the page now :).

    Phill Moderator
    #368837

    Quite simple really, we need to create a new block type so first adjust the code given above to

    <block name="navhelper1" type="navhelper1" main-inner="0"></block>

    noting that we have now called the block navehelper 1 instead.

    We then create a new block by making a file called navhelper1.php containing the code below and placing it in templates>ja_portfolio>blocks>navehelper1.php

    <?php
    /*
    # ------------------------------------------------------------------------
    # JA T3v2 Plugin - Template framework for Joomla 1.5
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. For details
    # on licensing, Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
    # Author: JoomlArt.com
    # Websites: http://www.joomlart.com - http://www.joomlancers.com.
    # ------------------------------------------------------------------------
    */
    ?>
    <?php $this->genBlockBegin ($block) ?>

    <div class="ja-breadcrums">
    <strong><?php echo JText::_('You are here')?></strong> <jdoc:include type="module" name="breadcrumbs" />
    </div>

    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
    </ul>

    <?php $this->genBlockEnd ($block) ?>

    Clear your cache (browser and jat3) and that should do the trick. You may want to add some styling but that is up to you.

    ashtravel Friend
    #368998

    Worked! Many thanks for your help guys…

    The outcome is attached.

    Regards,


    1. top-breadcrumbs
    albertvn Friend
    #381871

    <em>@phill luckhurst 211140 wrote:</em><blockquote>Quite simple really, we need to create a new block type so first adjust the code given above to

    <block name="navhelper1" type="navhelper1" main-inner="0"></block>

    noting that we have now called the block navehelper 1 instead.

    We then create a new block by making a file called navhelper1.php containing the code below and placing it in templates>ja_portfolio>blocks>navehelper1.php

    <?php
    /*
    # ------------------------------------------------------------------------
    # JA T3v2 Plugin - Template framework for Joomla 1.5
    # ------------------------------------------------------------------------
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license - GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. For details
    # on licensing, Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
    # Author: JoomlArt.com
    # Websites: http://www.joomlart.com - http://www.joomlancers.com.
    # ------------------------------------------------------------------------
    */
    ?>
    <?php $this->genBlockBegin ($block) ?>

    <div class="ja-breadcrums">
    <strong><?php echo JText::_('You are here')?></strong> <jdoc:include type="module" name="breadcrumbs" />
    </div>

    <ul class="no-display">
    <li><a href="<?php echo $this->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
    </ul>

    <?php $this->genBlockEnd ($block) ?>

    Clear your cache (browser and jat3) and that should do the trick. You may want to add some styling but that is up to you.</blockquote>

    Please note the file name in the code please: :laugh:

    <block name="navehelper1" type="navhelper1" main-inner="0"></block>

    alphajoomla Friend
    #491421

    Goodday

    I have followed the instructions as per the original thread but I am failing to get it to work. Its just blank. I downloaded JA Portfolio last week. The coding I have used as copied from the previous replies is as follows:-

    In Layout Settings “Default” I have this code:-
    <block name=”slideshow” type=”modules” style=”raw”>slideshow</block>
    <block name=”navehelper1″ type=”navhelper1″ main-inner=”0″></block>

    In navehelper1.php, I have this code:-

    <?php
    /*
    # ————————————————————————
    # JA T3v2 Plugin – Template framework for Joomla 1.5
    # ————————————————————————
    # Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
    # @license – GNU/GPL V2, http://www.gnu.org/licenses/gpl2.html. For details
    # on licensing, Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
    # Author: JoomlArt.com
    # Websites: http://www.joomlart.comhttp://www.joomlancers.com.
    # ————————————————————————
    */
    ?>
    <?php $this->genBlockBegin ($block) ?>

    <div class=”ja-breadcrums”>
    <strong><?php echo JText::_(‘You are here’)?></strong> <jdoc:include type=”module” name=”breadcrumbs” />
    </div>

    <ul class=”no-display”>
    <li><a href=”<?php echo $this->getCurrentURL();?>#ja-content” title=”<?php echo JText::_(“Skip to content”);?>”><?php echo JText::_(“Skip to content”);?></a></li>
    </ul>

    <?php $this->genBlockEnd ($block) ?>

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

This topic contains 7 replies, has 5 voices, and was last updated by  alphajoomla 11 years, 8 months ago.

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