-
AuthorPosts
-
April 6, 2013 at 7:34 pm #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 Friendpb66
- Join date:
- May 2010
- Posts:
- 129
- Downloads:
- 23
- Uploads:
- 10
- Thanks:
- 31
- Thanked:
- 42 times in 27 posts
April 7, 2013 at 7:45 am #489057Wouldn’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?
April 7, 2013 at 2:15 pm #489074For 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 8, 2013 at 10:47 am #489196With 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
AuthorPostsViewing 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, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to show no content on Home Page?
Viewing 4 posts - 1 through 4 (of 4 total)