-
AuthorPosts
-
June 25, 2007 at 10:03 am #121038
in the news title (works fine for the content).
Just edit this file :
/modules/ja_newsflash/ja-newsflashloader.phpLook 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]June 25, 2007 at 10:10 am #222669in 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
June 25, 2007 at 10:49 am #222670Three 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;
}June 25, 2007 at 11:12 am #222672div.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 Friendwillyram
- Join date:
- August 2008
- Posts:
- 16
- Downloads:
- 9
- Uploads:
- 1
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
September 13, 2008 at 5:02 pm #270342Actually 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
-
AuthorPosts
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