Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • metroarea Friend
    #127025

    Hi, 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 Friend
    #243448

    You mean get same setup as if you look at JA-Teline? By using a module as frontpage and nothing else?

    metroarea Friend
    #243461

    Menalto,

    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 Friend
    #243471

    Find 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.

    metroarea Friend
    #243510

    Thanks. I would never have been able to do this without your help!

Viewing 5 posts - 1 through 5 (of 5 total)

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