test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • pakojoom Friend
    #121038

    in the news title (works fine for the content).

    Just edit this file :
    /modules/ja_newsflash/ja-newsflashloader.php

    Look for line 182.

    [PHP]/* ORIGINAL CODE
    if ($params->get(‘link_titles’)) $newTitle .= “<a href=””.$row->link_on.”” title=””.$row->title.””>”.$row->title.”</a>”;
    //else $newTitle .= “”.$row->title.””;
    */

    /* MODIFIED CODE */
    if ($params->get(‘link_titles’)) $newTitle .= “<a href=””.$row->link_on.”” title=””.textprocess($row->title).””>”.textprocess($row->title).”</a>”;
    else $newTitle .= “”.textprocess($row->title).””;
    [/PHP]

    pakojoom Friend
    #222669

    in the template_css.css, lo for

    /* JA Newsflash */
    div.nftitle {
    font-size: 150%;
    font-weight: bold;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    /* ADD THE LINE BELOW */
    margin-top: 10px;
    }

    This leave some espace on the top’s news title for the accents

    pakojoom Friend
    #222670

    Three steps :

    1/ In modules/ja_newsflash/ja-newsflashloader.php file, find :
    [PHP]$newReadmore = “<a href=””.$row->link_on.”” title=””.$row->link_text.””>”.$row->link_text.”</a>”;[/PHP]

    and (works for me), replace it by :
    [PHP]$newReadmore = “<a href=””.$row->link_on.”” title=””._READ_MORE.””>”._READ_MORE.”</a>”;[/PHP]

    2: Go to your mod_janewsflash module and replace the templates by :
    <div style=”overflow:hidden; height:323px;” ><div class=”nfimages”>##IMAGE##</div><div class=”nftitle”>##TITLE##</div><div class=”nfcontent”>##CONTENT##</div><div class=”nfreadmore”>##READMORE##</div></div>

    3: add some CSS class in the template_css.css file, try to find a section named
    /* JA Newsflash */, and add this :

    div.nfreadmore a:link {
    margin: 0;
    padding:0;
    color:#C15700;
    }
    div.nfreadmore a:hover {
    color:#FF9A48;
    }

    pakojoom Friend
    #222672

    div.nfreadmore a:link,div.nfreadmore a:visited,div.nfreadmore a:hover,div.nfreadmore a:active {
    margin: 0;
    padding:0;
    color:#C15700;
    text-decoration:underline;
    }
    div.nfreadmore a:hover {
    color:#FF9A48;
    text-decoration:none;
    }

    willyram Friend
    #270342

    Actually what you got to do is just to add the “readmore” parameter in the module options, which for some reason was missing.

    In the modules/ja_newsflash.xml file, add the following:

    <param name="readmore" type="list" default="1" label="Show Read More link" description="Show read more link, if applicable.">
    <option value="0">No</option>
    <option value="1">Yes</option>
    </param>

    Right below the “animation” section.

    This was for Joomla 1.0.15, perhaps someone else could provide the equivalent for Joomla 1.5

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

This topic contains 5 replies, has 2 voices, and was last updated by  willyram 16 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum