You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 58 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - FIX - Ephemerids, layout problem [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
reikimaster
Sergeant
Sergeant


Joined: Jan 31, 2004
Posts: 148


PostPosted: Sat Mar 06, 2004 7:58 pm Reply with quoteBack to top

in block-Ephemerids.php

changed line 40 from:

Code:
$content .= "$row[content]";


to:

Code:
 $content .= "$row[content]<br>";


this fixes a problem where only the first entry (row) for a given date would display correctly. Any subsequent enties (rows) for that same date would format incorrectly as the year for row3 would be appended to the end of the information for row2 when displayed. Year for row4 would be appended to the end of the information for row3 and so on...


BEFORE:
1899
Aspirin was patented by chemist Felix Hoffman1900
Gottlieb Daimler, German motor engineer who invented the motorcycle, died1930
Clarence Birdseye's first frozen foods went on sale in Springfield, Massachusetts, US1937
Valentina Tereshkova, Soviet astronaut, was born1987
A cross-channel ferry left Zeebrugge, Belgium, with its bow doors open it capsized suddenly outside the harbour, killing over 180 passengers

AFTER:

1899
Aspirin was patented by chemist Felix Hoffman
1900
Gottlieb Daimler, German motor engineer who invented the motorcycle, died
1930
Clarence Birdseye's first frozen foods went on sale in Springfield, Massachusetts, US
1937
Valentina Tereshkova, Soviet astronaut, was born
1987
A cross-channel ferry left Zeebrugge, Belgium, with its bow doors open it capsized suddenly outside the harbour, killing over 180 passengers
Find all posts by reikimasterView user's profileSend private message
reikimaster
Sergeant
Sergeant


Joined: Jan 31, 2004
Posts: 148


PostPosted: Sat Mar 06, 2004 8:04 pm Reply with quoteBack to top

same file block-Ephemerids.php .. slightly different display option

if you change lines 39 and 40 to read like this:

Code:
$content .= "<b>$row[yid]</b> - ";
$content .= "$row[content]<br>";


you get an output that looks like this when displayed:

1899 - Aspirin was patented by chemist Felix Hoffman
1900 - Gottlieb Daimler, German motor engineer who invented the motorcycle, died
1930 - Clarence Birdseye's first frozen foods went on sale in Springfield, Massachusetts, US
1937 - Valentina Tereshkova, Soviet astronaut, was born
1987 - A cross-channel ferry left Zeebrugge, Belgium, with its bow doors open it capsized suddenly outside the harbour, killing over 180 passengers
Find all posts by reikimasterView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.228 Seconds - 234 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::