www.uburst.com www.uburst.com

"How to delete the Horizontal Lines in generated html files?"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Modify uDirectory Scripts
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"How to delete the Horizontal Lines in generated html files?"
Posted by Chi on Jan-03-02 at 08:47 PM (EST)
Hi, how can I delete and/or change the colors/size of the Horizontal Lines in generated html files by editing udirectory.pl?

Thanks,
Chi Young

Click to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: How to delete the Horizontal Li..., Joseph Pishgar, Jan-04-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: How to delete the Horizontal Lines in generated html files?"
Posted by Joseph Pishgar on Jan-04-02 at 02:19 PM (EST)
Hello Chi,

This snippet should be of some assistance to you-

--------------------------------------------------------------------------------
#1 - Instructions To Change The Format Of The Category Pages
--------------------------------------------------------------------------------

STEP 1: Make a backup of your current udirectory.pl script - just in case!


STEP 2: The HTML for each category page is all handled by one subroutine in the uDirectory script called "create_html_page". So open the uDirectory script using any Text Editor (such as WordPad) and locate the following section of code (located in about the middle of the script):

#---------------------------------------------------------
# Subroutine to create an html page from the specified
# category data file.
#---------------------------------------------------------
sub create_html_page

STEP 3: You are now looking at the start of the subroutine used to create the HTML for each page (a seperate subroutine called "get_listing_html" handles generating the HTML for each specific listing). If you are familiar at all with HTML, then as you scroll down though this subroutine, you should be able notice where the HTML tags are being inserted.

Use the current syntax of the Perl code as a model and try making the little changes that you desire.

AS A TIP, You may want to download one of the current uDirectory category pages and play around with the format by editing the HTML page until you find a format you like. Then try to incorparate that HTML into the "create_html_page" subroutine.

STEP 4: After making the HTML format changes in the uDirectory script, save the script and transfer it back out to your server. Use the "Generate HTML" utility to regenerate all of the HTML pages with the new format.

NOTE, You may have to hit REFRESH or RELOAD on your browser to see the changes on your web pages.

Hope this helps.

Regards,
Joseph Pishgar
Microburst Technologies, Inc.
www.uburst.com

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.