-
AuthorPosts
-
Menalto Friend
Menalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
March 11, 2008 at 5:08 pm #241960Which version of Joomla do you use?
March 11, 2008 at 5:11 pm #241961Im using J! 1.5
March 18, 2008 at 2:14 pm #242484I have the same problem. Can you solve it please?
March 18, 2008 at 11:39 pm #242524Hi Cgandola,
This is caused by deleting one of the buttons from the ‘main menu’ list. A button that defines the layout.
So you may have deleted the button ‘layout’ or ‘samples’ which I did. Unfortuantley I had to start from scratch and redo the project. So be careful what you deleteI asked in another thread how layout for articles is chosen or created.
March 25, 2008 at 2:41 am #243110Same problem here. Can’t seems to find any answer
bigrk Friendbigrk
- Join date:
- February 2007
- Posts:
- 1425
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 39
- Thanked:
- 45 times in 15 posts
March 25, 2008 at 3:45 am #243112Have you read this thread?
http://www.joomlart.com/forums/topic/fix-for-ja-news-showing-on-every-page/
March 25, 2008 at 4:40 pm #243165<em>@bigrk 45702 wrote:</em><blockquote>Have you read this thread?
http://www.joomlart.com/forums/topic/fix-for-ja-news-showing-on-every-page/</blockquote>
this hack works also in joomla 1.5?
i try this in 1.5 but the code seems different.March 27, 2008 at 10:39 am #243340technical support have no idea?
March 28, 2008 at 7:30 am #243434This is the code in 1.5, The fix does not work
<?php if ( $this->countModules(“ja-news”) ) { ?>
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
March 28, 2008 at 8:08 am #243437Can you try this:
Find this in the index.php file:
<?php if ( $this->countModules("ja-news") ) { ?>
<div id="ja-newswrap">
<jdoc:include type="modules" name="ja-news" style="raw" />
</div>
<?php } ?>
Replace it so it looks like this:
<?php if( JRequest::getVar( 'view' ) == 'frontpage' ) { ?>
<div id="ja-newswrap">
<jdoc:include type="modules" name="ja-news" style="raw" />
</div>
<?php } ?>I tested this here local where i put the ja-news to be visible on all pages, i tried to click on each menu item, each article/link in the ja-news module and ja-news shows only on frontpage
1 user says Thank You to Menalto for this useful post
-
AuthorPosts
This topic contains 12 replies, has 6 voices, and was last updated by webtregy 16 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum