-
AuthorPosts
-
davepain Friend
davepain
- Join date:
- March 2007
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 11, 2008 at 9:30 am #132071I’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.1 user says Thank You to davepain for this useful post
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
davepain Frienddavepain
- Join date:
- March 2007
- Posts:
- 2
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
August 12, 2008 at 9:22 am #265031Brilliant, cheers for the quick reply!
kmharper Friendkmharper
- Join date:
- October 2006
- Posts:
- 20
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
August 15, 2008 at 8:50 pm #265536Thanks 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 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
August 20, 2008 at 12:35 am #266144Bump for an answer?
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
August 20, 2008 at 2:33 am #266177there 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 FriendDaniel McIntosh
- Join date:
- September 2014
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
August 31, 2008 at 7:18 am #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. 😎
-
AuthorPosts
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