-
AuthorPosts
-
August 19, 2009 at 1:15 pm #143563
Hello,
I have been trying to hide the title tekst in janewsflash by clicking “hide title” in the advanced parameters of an article. But in JA raite the tilte keeps appearing. I also tried to alter the CSS in templates – janews but that doesn’t seem to be working either.
Can anyone help me with this?
i am using Joomla 1.5.14wilero Friendwilero
- Join date:
- August 2009
- Posts:
- 28
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 3 times in 1 posts
August 21, 2009 at 8:02 am #314964I have the exact same problem here, do not want to display the title but have not figured out yet how to do it.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 21, 2009 at 9:36 am #314966Hello wilero and veenes
JA News Flash has’nt any configtution to enable or disable display title of aritcle.
You must to have some change about code for this function.Now, You open configution xml file: /modules/mod_janewsflash/mod_janewsflash.xml
+ then add this block code at line
[PHP]<param name=”display_title” type=”list” default=”1″ label=”Display Title” description=”Endable or disable display Title”>
<option value=”0″>No</option>
<option value=”1″>Yes</option>
</param>[/PHP]
+ You Open file: /modules/mod_janewsflash/ja_newsflash/ja-newsflashloader.php
At line 135,136:[PHP]
if ($params->get(‘link_titles’)) $newTitle .= “<a href=””.$row->link_on.”” title=””.$row->title.””>”.$row->title.”</a>”;
else $newTitle .= “”.$row->title.””;
[/PHP]==>> replace:
[PHP]
if( $params->get(‘display_title’) ){
if ($params->get(‘link_titles’)) $newTitle .= “<a href=””.$row->link_on.”” title=””.$row->title.””>”.$row->title.”</a>”;
else $newTitle .= “”.$row->title.””;
}
[/PHP]– Finally, You go to administrator system, and update JA Newflash ‘s Configuration
Good luck
3 users say Thank You to Saguaros for this useful post
wilero Friendwilero
- Join date:
- August 2009
- Posts:
- 28
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 6
- Thanked:
- 3 times in 1 posts
August 21, 2009 at 2:29 pm #314999WOW! Works like a charm 🙂 Thank you very much tiench. Nice to have it as a configurable options now! 😀 and to have learned something on the way as well..
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by veenes 15 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum