-
AuthorPosts
-
December 12, 2008 at 4:28 pm #136188
Hi,
I don’t know php and need to publish an article on frontpage
Could somebody please write the code which i should use in index.php?Thanks
Regardscjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
December 12, 2008 at 4:53 pm #282621when you make the article you just check “show on front page” on the article parameters. or am i missing something more complicated you want to do?
December 12, 2008 at 5:59 pm #282630<em>@cjmicro 95103 wrote:</em><blockquote>when you make the article you just check “show on front page” on the article parameters. or am i missing something more complicated you want to do?</blockquote>
Thanks for your reply but I have the same problem at http://www.joomlart.com/forums/topic/no-articles-shown-on-frontpage/
So i need the code for JA Vauxitecjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
December 12, 2008 at 6:14 pm #282635ok maybe this has something to do with the ja-front page modules. ja-news and ja-fpnews (which come with the template files but you have to install them)
I have to look into that more for the template I’m using now too. If you install and publish those modules things show up. I bet it is in the template userguide. I’m going to look at that myself!
Cheryl
jay973 Friendjay973
- Join date:
- October 2008
- Posts:
- 401
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 28
- Thanked:
- 105 times in 68 posts
December 12, 2008 at 6:34 pm #282640Hi,
JA News (mod_janews) lists articles by Category/Section and you need to specify them in the module manager, whereas JA News Frontpage (mod_janews_fp) will publish anything that is set to ‘show on front page’ in the standard way.
Hope this helps,
Jason.
<em>@hpromoter 95096 wrote:</em><blockquote>Hi,
I don’t know php and need to publish an article on frontpage
Could somebody please write the code which i should use in index.php?Thanks
Regards</blockquote>December 12, 2008 at 8:18 pm #282672<em>@jay973 95128 wrote:</em><blockquote>Hi,
JA News (mod_janews) lists articles by Category/Section and you need to specify them in the module manager, whereas JA News Frontpage (mod_janews_fp) will publish anything that is set to ‘show on front page’ in the standard way.
Hope this helps,
Jason.</blockquote>
Thank you, but I just want to publish an article on frontpage. I don’t want to use any module or css style of JA News.
Regards,December 12, 2008 at 8:19 pm #282673I’m pretty sure the poster is asking for the old way of posting articles on the frontpage. Meaning, they want to post an article on the frontpage by default, and not having to use JA News or JA News FP modules to do so.
I remember finding something for JA Teline II, but I don’t know if the same holds true for JA Vauxite. Though I wouldn’t be able to find the specific post from the JA Teline II forum.
Edit: I believe this post answers the question. http://www.joomlart.com/forums/showpost.php?p=81599&postcount=4
December 12, 2008 at 8:38 pm #282682<em>@Aedin84 95167 wrote:</em><blockquote>I’m pretty sure the poster is asking for the old way of posting articles on the frontpage. Meaning, they want to post an article on the frontpage by default, and not having to use JA News or JA News FP modules to do so.
I remember finding something for JA Teline II, but I don’t know if the same holds true for JA Vauxite. Though I wouldn’t be able to find the specific post from the JA Teline II forum.
Edit: I believe this post answers the question. http://www.joomlart.com/forums/showpost.php?p=81599&postcount=4</blockquote>
Thank you so much 🙂
Regardscjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
December 22, 2008 at 1:22 am #283732Did that edit work for you? I didn’t get it to work. Please let me know how you did it. I find myself also wanting to display front page same as normal instead of ja_news or ja_newsfp. I tried editing the index.php as in the linked post, but no such luck.
Thanks,Cheryl
OOps, nevermind, I found the answer in this post: http://www.joomlart.com/forums/topic/how-do-i-revert-brack-to-default-joomla-frontpage-style/
September 2, 2009 at 11:31 pm #316169Hi,
I’ve tried that. Yes, it is true: now I can see the front news pubilshed without using JA News.
But now the problem is that it doesn’t have the proper layout: the white bakground is NOT appearing. News are published directly on the grey area.
This is really important for me. Could you please help me???
kmharper Friendkmharper
- Join date:
- October 2006
- Posts:
- 20
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 1 times in 1 posts
March 24, 2010 at 3:00 pm #337590I’m having the same problem. I really need this template to work in the traditional front page format, but the above fixes break the layout of the template.
Please help!!!
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 26, 2010 at 4:06 am #337836Hi kmharper
Please try to do with my way:
– Open templates/ja_vauxite/index.php file, find following code section:
[PHP]
<?php if(!$tmpTools->isFrontPage()) : ?>
<div class=”ja-wrap-center”><div class=”ja-wrap-top”><div class=”ja-wrap-bot”><?php if(!$tmpTools->isFrontPage()) : ?>
<div id=”ja-pathway”>
<jdoc:include type=”module” name=”breadcrumbs” />
</div>
<?php endif ; ?><jdoc:include type=”component” />
</div></div></div>
<?php endif; ?>
[/PHP]and change to:
[PHP]
<div class=”ja-wrap-center”><div class=”ja-wrap-top”><div class=”ja-wrap-bot”>
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id=”ja-pathway”>
<jdoc:include type=”module” name=”breadcrumbs” />
</div>
<?php endif ; ?><jdoc:include type=”component” />
</div></div></div>
[/PHP]
Hope it helps.
-
AuthorPosts
This topic contains 12 replies, has 7 voices, and was last updated by Anonymous 14 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum