Elxis CMS Forum

Extensions => Modules => Topic started by: martiras on October 15, 2009, 20:11:50

Title: news flash module
Post by: martiras on October 15, 2009, 20:11:50
hi

1)I have tried to change the mod_newsflash.php code to make the image size displays on a fix weight and height like the frontpage... in a content it will be the originan size but in a newsflash it will resize it to..ex.. 100 x 67 ... i cant find the right source code .. any suggestion???

2) I  need also to limit the text on the same module ex... 200 text no more... what code can i use on the module to fix it?

pls it is very important to get some answers ...

thanks
Title: Re: news flash module
Post by: ks-net on October 15, 2009, 22:11:08
add a css-suffix to the module...

then with css.. format accordingly to your needs

eg:

div.moduletable-mysuffix img {border:0; height:120px; width:120px; margin:5px; padding:5px; .... etc}
Title: Re: news flash module
Post by: martiras on October 16, 2009, 01:24:35
thank you very much ks ...

what about the limitation of words ??? is there any easy way like the first one ??
Title: Re: news flash module
Post by: ks-net on October 16, 2009, 02:30:49
yep...UDC
http://www.elxis-downloads.com/com_downloads/miscellaneous/41.html