-
AuthorPosts
-
metroarea Friend
metroarea
- Join date:
- March 2008
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
March 28, 2008 at 5:33 am #127025Hi, All –
I would like to make the contents of the Latest News module more prominent by placing it in the Front Page module (body of the Home Page) instead of in one of the module positions around the perimeter. I am getting the impression that this cannot be done — or can it?
As an alternative, how can I make the font size larger in Latest News and change its color if I assign it to the Slide Show position.
Thank you for any help you can provide.
George
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
March 28, 2008 at 10:14 am #243448You mean get same setup as if you look at JA-Teline? By using a module as frontpage and nothing else?
metroarea Friendmetroarea
- Join date:
- March 2008
- Posts:
- 24
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
March 28, 2008 at 1:37 pm #243461Menalto,
I would like to use one Latest News module as the Front Page and nothing else. I looked at JA Teline; that looks like many module positions grouped in the middle of the page with a different Latest News attached to each one — not quite what I want.
Any thoughts? Thanks.
George
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
March 28, 2008 at 3:21 pm #243471Find this in the index.php file of the template:
<jdoc:include type="component" />
Replace it with this:
<?php
$m_intro = JParameter::def( "intro", 4 );
$m_leading = JParameter::def( "leading", 1 );
if ( !$tmpTools->isFrontPage() || $m_intro || $m_leading) {
?>
<jdoc:include type="component" />
<?php } ?><?php if ($this->countModules('ja-news')) { ?>
<div id="ja-newswrap">
<jdoc:include type="modules" name="ja-news" style="raw" />
</div>
<?php } ?>
This gives you a module position called ja-news, which you can use for a module on frontpage.
Remember to add this:
<position>ja-news</position>
into the templateDetails.xml file, Also follow the setup of the menu in the ja-teline forum. -
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by metroarea 16 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum