test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • vidak Friend
    #186523

    In Ja T3 Blank Framework there is option to show no content on home page.

    Just create content.php inside /templates/ja_t3_blank/themes/theme_name/blocks/content.php

    and put

    // No direct access
    defined(‘_JEXEC’) or die;

    $menu = & JSite::getMenu();
    if ($menu->getActive() !== $menu->getDefault()) {
    ?>
    <jdoc:include type=”component” />
    <?php
    }
    ?>

    HOW TO DO THAT IN JA ARGO?

    I tried this in /templates/ja_argo/tpls/blocks with no success.

    Thanks in advance

    … and I found two bugs in mod_jacontentslider.v2.6.3.zip and mod_jaslideshow.v2.5.9.zip

    If I select appropriate language inside menu, menu will be shown on that language but will select content from all available languages.

    Vidak

    pb66 Friend
    #489057

    Wouldn’t it be easier to go into the template manager and then layout tab and select a layout that doesn’t have content in it?

    vidak Friend
    #489074

    For multilingual sites it is much easier to change file mainbody-content-left.php

    templates/ja_argo/tplsblocks/mainbody-content-left.php

    change these lines
    <div class=”t3-content-main”>
    <jdoc:include type=”component” />
    </div>

    with this lines
    <?php

    $app = JFactory::getApplication();
    $menu = $app->getMenu();
    $lang = JFactory::getLanguage();
    if ( $menu->getActive() != $menu->getDefault( $lang->getTag() ) ) {

    ?>
    <div class=”t3-content-main”>
    <jdoc:include type=”component” />
    </div>

    <?php } ?>

    Ninja Lead Moderator
    #489196

    With JA Argo Template: you don’t need to change code from php file, you can enable it in configuration of template Admin , see the screenshot

    Let me know if this way helps


    1. configure_argo
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Ninja Lead 11 years, 8 months ago.

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