Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • veenes Friend
    #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.14

    wilero Friend
    #314964

    I have the exact same problem here, do not want to display the title but have not figured out yet how to do it.

    Saguaros Moderator
    #314966

    Hello 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

    wilero Friend
    #314999

    WOW! 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..

    veenes Friend
    #315020

    Thank you very much… works like a charm indeed… well done! 😀

Viewing 5 posts - 1 through 5 (of 5 total)

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