CZNews Flash

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZNews Flash
RedWolf111
CZ Addict
usa.gif wisconsin.gif
Occupation: Owner of MR Kettle Corn
Age: 54
Gender: Male
Status: Offline
Joined: Jun 02, 2003
0.07 posts per day
Posts: 572
Points: 135,122
   
Hi,

I just installed the CZNews Flash block and would like to change it a little bit. Mine goes backwards....lol. Instead of it showing the newest News post and then going towards the oldest, it shows the oldest news post there is. Would appreciate any help.
Here is the code
$scrolldirection = "left";
$toshow = "30";

global $prefix, $db;
     $content = "<table width=\"100%\" border=\"0\">";
     $content .= "<Marquee Behavior=\"Scroll\" Direction=\"$scrolldirection\" width=\"100%\" ScrollAmount=\"3\" ScrollDelay=\"30\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\">";
     $cznf = $db->sql_query("SELECT sid, title, comments, counter from ".$prefix."_stories ORDER BY sid ASC LIMIT 0,$toshow");
     while (list($sid, $title, $comments, $counter) = $db->sql_fetchrow($cznf)) {
   
     $content .= "<b>&raquo; ;; ;;<font class=\"heading\"><a href=\"modules.php?name=News&amp;file=article&amp;sid=$sid\">$title</b></a> ;; ;; ;;";
     }
     $content .= "</table>";


Thanks in advance,

RedWolf



_________________
[ Register or login to view links on this board.] You never know what you can find at TWFsales. Stop in today for some great deals.
Back to top Reply with quote
#2   re: CZNews Flash
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Change ORDER BY sid ASC to ORDER BY sid DESC. That should reverse the order.



Back to top Reply with quote
#3   re: CZNews Flash
RedWolf111
CZ Addict
usa.gif wisconsin.gif
Occupation: Owner of MR Kettle Corn
Age: 54
Gender: Male
Status: Offline
Joined: Jun 02, 2003
0.07 posts per day
Posts: 572
Points: 135,122
   
TYVM Kelly..icon_smile.gif

RedWolf




_________________
[ Register or login to view links on this board.] You never know what you can find at TWFsales. Stop in today for some great deals.
Back to top Reply with quote
#4   re: CZNews Flash
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
YVW. icon_biggrin.gif



Back to top Reply with quote
#5   re: CZNews Flash
Isaiah
CZ Newbie
Isaiah has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Jan 24, 2005
0.00 posts per day
Posts: 1
Points: 921
   
I installed CZnews flash normally, and worked great..

BUT,

everything seems fine ONLY at Internet Explorer...

At firefox, the WHOLE page resizes to an unkown big size, so the whole front page is bigger than expected, and the result is awful.

Anyone had the same problem ?

Is there a solution ?



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum