-
AuthorPosts
-
checkmate40 Friend
checkmate40
- Join date:
- February 2008
- Posts:
- 104
- Downloads:
- 0
- Uploads:
- 19
- Thanks:
- 15
- Thanked:
- 3 times in 1 posts
October 30, 2009 at 1:17 am #145622Here’s a link to the similar question. But thats been marked “answered”
http://www.joomlart.com/forums/topic/removing-empty-container-from-homepage/
The solution posted abovebreaks the sub page formatting though… Is there a way to split the formatting of the homepage content and the sub page content so they are not controlled by the same style/div?
Or have it recognize when there is no homepage content and turn off the formatting…
There a way to disable the frontpage content div altogether without it effecting the sub pages?
Thanks.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
October 30, 2009 at 2:03 am #322068Hi
for the case, please try to do with my guider:
Open templates/ja_lead/index.php, at about line 173, find following code:
[PHP] <div class=”ja-content-inner”>
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id=”ja-current-content” class=”clearfix”>
<jdoc:include type=”component” />
</div>
<?php endif; ?><?php if ( $this->countModules(‘ja-news’) ) { ?>
<!– JA NEWS –>
<div id=”ja-news”>
<jdoc:include type=”modules” name=”ja-news” style=”xhtml” />
</div>
<!– //JA NEWS –>
<?php } ?></div>[/PHP]
and change to:
<?php if(!$tmpTools->isFrontPage()) : ?>
<div class="ja-content-inner">
<div id="ja-current-content" class="clearfix">
<jdoc:include type="component" />
</div>
</div>
<?php endif; ?>
I think you don’t need to use ja-news position in the case so i removed it.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
October 30, 2009 at 2:03 am #322069Hi
for the case, please try to do with my guider:
Open templates/ja_lead/index.php, at about line 173, find following code:
[PHP] <div class=”ja-content-inner”>
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id=”ja-current-content” class=”clearfix”>
<jdoc:include type=”component” />
</div>
<?php endif; ?><?php if ( $this->countModules(‘ja-news’) ) { ?>
<!– JA NEWS –>
<div id=”ja-news”>
<jdoc:include type=”modules” name=”ja-news” style=”xhtml” />
</div>
<!– //JA NEWS –>
<?php } ?></div>[/PHP]
and change to:
<?php if(!$tmpTools->isFrontPage()) : ?>
<div class="ja-content-inner">
<div id="ja-current-content" class="clearfix">
<jdoc:include type="component" />
</div>
</div>
<?php endif; ?>
I think you don’t need to use ja-news position in the case so i removed it.
1 user says Thank You to JA Developer for this useful post
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Anonymous 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum