Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • shadoe Friend
    #137395

    Hey!

    Excellent theme as always.. trying to fix it for one of my clients. We don’t want any articles on the frontpage – ie. a startpage and then link to content further down in the site.. but when I empty frontpage I still get a “content”-window.. is there a way to only show com_frontpage content when there is content assigned to it?

    It’s not really a issue with the template but rather the workings of com_frontpage but if there’s someone who already fixed this I’d love to know.. (will be trying myself but perhaps someone fixed it already)

    😀

    shadoe Friend
    #287767

    <em>@shadoe 107694 wrote:</em><blockquote> (will be trying myself but perhaps someone fixed it already)
    </blockquote>

    Didn’t take too long to fix.. but I had to hack the templates index.php with

    <?php
    $menu = & JSite::getMenu();
    if ($menu->getActive() == $menu->getDefault()) {
    } else {
    ?>
    <div id="ja-current-content" class="clearfix">
    <jdoc:include type="component" />
    </div>
    <?PHP
    }
    ?>

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

This topic contains 2 replies, has 1 voice, and was last updated by  shadoe 15 years, 10 months ago.

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