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 change the border color of search and go box in generated html files?

Knowledge Base Lobby : uDirectory Support Conference : Modify uDirectory Scripts
Nov-19-17 04:32 PM EST
Original Message
How to change the border color of search and go box in generated html files?
Author Chi on 01-04-2002 at 12:37 (EST)
I am able to change the color of search and go box but I don't know where in udirectory.pl I should look to change the border color and border size. Thank you.
Chi
TABLE OF CONTENTS

Table Of Contents
  RE: How to change the border color of search and go box in generated html files? Joseph Pishgar, 2002-01-04 14:15:13 (1)
            How to change the border color of search and go box in generated html files? Chi, 2002-01-04 17:14:24 (2)
                 RE: How to change the border color of search and go box in generated html files? Joseph Pishgar, 2002-01-07 17:07:07 (3)

Messages In This Discussion
         1. RE: How to change the border color of search and go box in generated html files?
        Author Joseph Pishgar on 01-04-2002 at 14:15 (EST)
Hello Chi,

STEP 1: Make a backup of your udirectory.pl script.

STEP 2: Open your udirectory.pl in a text editor. Edit the advanced settings of question #17, which apply to the category settings.

STEP 3: Save your udirectory.pl script (in text if it asks) and upload in ASCII. Set permissions on the file to 755 and try it out!

Regards,
Joseph Pishgar
Microburst Technologies, Inc.
www.uburst.com
TABLE OF CONTENTS
                 2. How to change the border color of search and go box in generated html files?
                Author Chi on 01-04-2002 at 17:14 (EST)
Hi Joseph,

Thank you for your time. I have already changed the "$category_navigation_box_color" in question #17 in udirectory.pl but I am looking for a solution to change the "$category_navigation_box_bordercolor" - I need to change the color of that border and the size of that border around "$category_navigation_box" which its visible in generated html pages.

Thank you,
Chi
TABLE OF CONTENTS
                         3. RE: How to change the border color of search and go box in generated html files?
                        Author Joseph Pishgar on 01-07-2002 at 17:07 (EST)
Hello Chi,

Below is a walkthrough of editting the formats of the uDirectory Listings and Category pages-

--------------------------------------------------------------------------------
#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.



--------------------------------------------------------------------------------
#2 - Instructions To Change The Format Of The Listings
--------------------------------------------------------------------------------

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 "get_listing_html". 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 get the formatted .html for a listing.
#---------------------------------------------------------
sub get_listing_html


STEP 3: You are now looking at the start of the subroutine used to create the HTML for each 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 listing pages and play around with the format by editing the HTML page until you find a format for the listings that you like. Then try to incorparate that HTML into the "get_listing_html" 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 listing format.

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


Hope this helps.
If you have any further questions, please do not hesitate to contact us.

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

TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.