Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • sunnyjey Friend
    #191571

    I’m looking to put anchor links in current Ja fixel template. How do I put nice looking anchor link with scroll down effect like Ja OnePage template ?

    It this built in bootstrap 2.5 joomla ja-fixel template ?

    Any tip will be highly appreciated. Thank you.

    phong nam Friend
    #510013

    Hi sunnyjey,

    The JA Onepage template has a special layout named “onepage” layout containing only one position “onepage” that we created a new module style display the anchor ID at the title that menu items can link to.

    function modChrome_onepage($module, &$params, &$attribs)
    {
    $key = strtoupper(str_replace (' ', '_', stripslashes($module->title)));
    $subtitlekey = 'TPL_SUBTITLE_'.$key;
    $subtitle = JText::_($subtitlekey);
    $menuid = strtolower(str_replace (' ', '_', stripslashes($module->title)));
    ?>
    <section class="section onepage<?php echo $params->get('moduleclass_sfx'); ?>" id="<?php echo $menuid ?>">

    <div class="container">

    <?php if ($module->showtitle != 0) : ?>
    <div class="section-title" id="<?php echo $menuid ?>">
    <h2><span><?php echo $module->title; ?></span></h2>
    <span class="section-subtitle"><?php echo $subtitle ?></span>
    </div>
    <?php endif; ?>

    <div class="row-fluid">
    <?php echo $module->content; ?>
    </div>

    </div>

    </section>
    <?php
    }

    I did attach the modules.php containing the new onepage module style that you can try edit and put into templates/ja_template/html/ path.


    1. modules.zip
Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  phong nam 10 years, 6 months ago.

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