-
AuthorPosts
-
jamjodesign Friend
jamjodesign
- Join date:
- June 2008
- Posts:
- 432
- Downloads:
- 27
- Uploads:
- 40
- Thanks:
- 59
- Thanked:
- 14 times in 3 posts
July 7, 2009 at 2:29 pm #142569Hi, I want to remove the JA News 1.3.1 from the frontpage and just have a standard blog section as per alot of the other Joomlart templates. I have unpublished the JA-News Module but now my articles will not come up on the frontpage even with the frontpage icon checked and the JA-NEWS 1.3.1 unpublished.
Any suggestions?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 7, 2009 at 4:59 pm #310284Can you not simply disable the module?
jamjodesign Friendjamjodesign
- Join date:
- June 2008
- Posts:
- 432
- Downloads:
- 27
- Uploads:
- 40
- Thanks:
- 59
- Thanked:
- 14 times in 3 posts
July 7, 2009 at 5:11 pm #310286As I said above Tom – when you switch off this module then nothing appears on the homepage in that area – not even when you have frontpage checked on the article. So no, if i unpublish the module nothing will appear here!!
Hence I am wondering what the other options are?
jamjodesign Friendjamjodesign
- Join date:
- June 2008
- Posts:
- 432
- Downloads:
- 27
- Uploads:
- 40
- Thanks:
- 59
- Thanked:
- 14 times in 3 posts
July 8, 2009 at 5:42 pm #310408I am surprised there is no solution for this yet? I presume everyone is keeping with JA News 1.3.1 then and not using blog layout?
October 9, 2009 at 4:50 am #319946Hi jamjodesign,
Did you ever get an answer to this? There are several threads about this but no real solution yet. If you do have an answer to this please post. Thanks
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
October 9, 2009 at 6:39 am #319950Why don’t you just make a new Articles ยป Front Page (Front Page Blog Layout) menu item in main menu and set it as the default? Then unpublish or delete the existing home menu item.
October 9, 2009 at 2:35 pm #320013That is exactly what we are trying to do but the template was written to NOT use Joomla’s frontpage manager. Instead it uses the ja-news module. If we disable the ja-news module and create a link to Joomla’s native frontpage component we get a blank page in the content area. We are FORCED to use the ja-news setup.
We just want to use the simple and easy frontpage component from Joomla. I find it ridiculous that no one from Joomlart has offered a solution to this. There are about 4 posts regarding this over the span of a couple of months and no solutions. People are frustrated as am I. WTH???
October 9, 2009 at 3:00 pm #320018Just an update….Here is the original code with the content area and the ja-news module position:
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id="ja-current-content" class="clearfix">
<jdoc:include type="component" />
</div>
<?php endif; ?><?php if ( $this->countModules('ja-news') ) { ?>
<!-- JA NEWS -->
<div id="ja-news">
<jdoc:include type="modules" name="ja-news" style="xhtml" />
</div>
<!-- //JA NEWS -->
<?php } ?>Now here is how I removed the ja-news and restored the standard content area so we can use the frontpage component normally:
<div id="ja-current-content" class="clearfix">
<jdoc:include type="component" />
</div>The problem I have now is the columns are not working. I select two columns for the frontpage articles but they all appear in one column.
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
October 9, 2009 at 6:05 pm #320034Hello,
I wouldn’t have done it that way.
You should at least put back:
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id="ja-current-content" class="clearfix">
<jdoc:include type="component" />
</div>
<?php endif; ?>
Template tools among other things tells the template how to display the page.
It’s hard for me to tell what is going on with your site without looking at the code, but I would try modifying the css instead of hacking the index.
Firefox has a very usefull tool called firebug which can help you track down the correct css to edit.October 9, 2009 at 6:21 pm #320036In the Menu item parameters for the Front Page Blog layout, have you set the number of leading and intro articles to be more than 0? JA-News works by suppressing these (by setting them to 0) so if you disable and remove the JA-News module (which is the right way to do it, there’s no need to hack any code), then Joomla! is set to display nothing…
Hope this helps.
David.
October 9, 2009 at 8:36 pm #320046Thanks for responding guys! Maybe Joomlart should hire you as at least you respond.
Let me first recap:
1) the ja-news component that comes with ja-lead disables (overrides) the native Joomla Frontpage Manager.
2) You would ‘assume’ that if you disable or remove the ja-news 9and the ja-frontpage news) module that it would revert back to the frontpage being managed by the frontpage manager. This is not the case. If I create a menu item linking to the Frontpage blog layout the resulting page is empty, blank, no articles. The site structure is there but no content in the body.When I put it back to this:
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id="ja-current-content" class="clearfix">
<jdoc:include type="component" />
</div>
<?php endif; ?>
The same thing happens. Only when I remove the above do I got articles to show up with the frontpage manager. Now however, I cannot control the layout as in the columns, etc.Such a simple thing that is causing lots pf people grief and what really pisses me off is not a peep from the Joomlart staff. Some other threads discussing the same problem:
http://www.joomlart.com/forums/topic/ja_lead-not-showing-articles-on-front-page/
http://www.joomlart.com/forums/topic/change-frontpage-lead/instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
October 9, 2009 at 11:24 pm #320059So I installed this template and took a look at the code, but its a little beyond my level of expertise.
I was however able to create a menu item and set it to section blog layout. I then set it as the default menu item and at least the home page had the standard blog layout.
You could do it this way and just keep any articles you want to dispaly on the front page in one section.
Anyway, I hope this helps.
October 10, 2009 at 2:41 am #320073HI instantinlaw,
Thanks for the effort. In fact that is exactly what we are doing in the menatime. We created a ‘frontpage’ section/category and are duplicating our ‘frontpage articles’ in that category just so they appear on the frontpage. It is a quick temporary workaround but not a viable long term solution for a constantly changing frontpage.
Every article belongs in its own proper section and category. If we want to add it to the frontpage that means twice the work.
I think the solution lies in effectively restoring the normal function of Joomla’s native frontpage manager.
Like you it is beyond my capacites but it seems like relying on Joomart is futile. This issue has been discussed the moment the template came out. Since then not a peep from them. I keep wondering why we keep giving them our money.
instantinlaw Friendinstantinlaw
- Join date:
- February 2007
- Posts:
- 1646
- Downloads:
- 6
- Uploads:
- 28
- Thanks:
- 68
- Thanked:
- 210 times in 62 posts
October 10, 2009 at 3:14 am #320076Have you tried submitting a support ticket? http://support.joomlart.com/index.php
October 12, 2009 at 1:48 pm #320253Finally done! Here is what I had to do to get the JA-News frontpage module to stop preventing the use of Joomla’s native frontage manager.
First you have to remove the PHP tags around the following (line 175 approx):
Before:
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id="ja-current-content" class="clearfix">
<jdoc:include type="component" />
</div>
<?php endif; ?>After:
<div id="ja-current-content" class="clearfix">
<jdoc:include type="component" />
</div>Once this is done you then have to rename (or remove, better to just rename it in case you want it back someday) the following folder:
/templates/ja_lead/html/com_content/frontpage/
The last step is to restore the proper functioning of the frontpage manager. Without renaming the folder /frontpage/ you will have difficulties formatting your frontpage.
Hope this helps everyone who was having this difficulty. Cheers.
-
AuthorPosts
This topic contains 21 replies, has 6 voices, and was last updated by qbali 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum