Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • davepain Friend
    #132071

    I’m having problems getting an article to display on the homepage. I’ve been through the forum and changed the index.php file to :

    <jdoc:include type=”component” />

    instead of

    <?php if(!$tmpTools->isFrontPage()) : ?>
    <jdoc:include type=”component” />
    <?php endif; ?>

    However it doesn’t seem to have done anything.

    The URL for the site is http://79.171.33.154/~intrform/

    Cheers,
    Rob.

    Sherlock Friend
    #264985

    Hi
    Plz go to Menus-> Mainmenu, then choose Home to edit
    2485
    You will see like image, change some paramaters as you want

    davepain Friend
    #265031

    Brilliant, cheers for the quick reply!

    kmharper Friend
    #265536

    Thanks guys, I had this problem too and these two posts solved it for me. I wonder why the IF statement doesn’t work?

    <?php if(!$tmpTools->isFrontPage()) : ?>
    <jdoc:include type="component" />
    <?php endif; ?>

    mj1256 Friend
    #266144

    Bump for an answer?

    mj1256 Friend
    #266177

    there is a simple way

    I wanted just one frontpage article on the main page

    I created a category and a section called ironically, frontpage

    I then created one article, assigned it to the frontpage sect/cat and assigned it to the frontpage

    then go to your menu manager/mainmenu/home

    make the parameters setting as above, but change the article type to article instead of frontpage blog category.

    now I have one article on the main page.

    Daniel McIntosh Friend
    #268043

    <em>@mj1256 74550 wrote:</em><blockquote>then go to your menu manager/mainmenu/home

    make the parameters setting as above, but change the article type to article instead of frontpage blog category.

    now I have one article on the main page.</blockquote>

    Thanks! That worked for me. 😎

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

This topic contains 7 replies, has 5 voices, and was last updated by  Daniel McIntosh 16 years, 2 months ago.

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