uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
How to delete the Horizontal Lines in generated html files?

Knowledge Base Lobby : uDirectory Support Conference : Modify uDirectory Scripts
Nov-18-17 03:38 AM EST
Original Message
How to delete the Horizontal Lines in generated html files?
Author Chi on 01-03-2002 at 20:47 (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
TABLE OF CONTENTS

Table Of Contents
  RE: How to delete the Horizontal Lines in generated html files? Joseph Pishgar, 2002-01-04 14:19:02 (1)

Messages In This Discussion
         1. RE: How to delete the Horizontal Lines in generated html files?
        Author Joseph Pishgar on 01-04-2002 at 14:19 (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
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.