Forum Moderators: coopster & phranque

Message Too Old, No Replies

using ssi to modify a cgi script

ssi/cgi

         

dave373a

11:50 am on Nov 8, 2002 (gmt 0)

10+ Year Member



Hello

There is a website that I am trying to install a classifieds script to which is not a problem for me but because the site is using tables I managed to modify the script somewhat and was able to incorporate it into the tables.

However, I did not do a good job because the script does not fit like it should in the table. Portions of it went to the bottom of the page. Someone told me I can use SSI in order to fix the problem.

Here is the url and maybe if someone could tell me how to use ssi to fix this problem or a better way to go about it.

Please remember that the original site is consistent throughout [tables] and the classifieds script I am attempting to install should only appear in the middle of the tables already on the site.

<snip>

Step by step detail would be appreciated.

I am also aware of the page not fully loading and the cosmetics. It was not my intention to use that design. My main concern is the above problem. I will fix the cosmetics later.

Thanks

Dave

[edited by: jatar_k at 6:10 pm (utc) on Nov. 8, 2002]
[edit reason] sorry no url drops see TOS [webmasterworld.com] [/edit]

jatar_k

6:55 pm on Nov 8, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld [webmasterworld.com] dave373a

Is the part that slipped to the bottom supposed to follow the part in the center?

Can you just alter the place in the script where it is outputted to get it into the same area? It's scripting so it is done server side, I can't tell anything from the link.

Can you describe where and how the script is doing things and then we can maybe help you out.

dave373a

8:33 pm on Nov 8, 2002 (gmt 0)

10+ Year Member



Hi Jatar

And thanks for the welcome

The script can be downloaded here. Its the classifieds but not the sql version

<snip>

Thanks
Dave

[edited by: jatar_k at 10:37 pm (utc) on Nov. 8, 2002]
[edit reason] wrong link [/edit]

dave373a

8:34 pm on Nov 8, 2002 (gmt 0)

10+ Year Member



Oh and yes the bottom was supposed to follow the center.

Thanks again
Dave

dave373a

8:35 pm on Nov 8, 2002 (gmt 0)

10+ Year Member



Oh I am sorry

Go to this link and download my classifieds..

www.fuzzymonkey.org/newfuzzy/software/perl/

Dave

[edited by: jatar_k at 10:38 pm (utc) on Nov. 8, 2002]
[edit reason] delinked [/edit]

andreasfriedrich

1:34 pm on Nov 10, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To identify and solve your problem follow the steps outlined below.
  • Get the script to work outside of your more complex template.
  • Validate the output of your script.
  • Use a placeholder on your page where you want the script output to appear. If your page does not display as you want it, you need to check your HTML code.
  • Validate that page.

After successfully completing those steps have the scripts output appear where the placeholder was. Now everything should display just as you want.

Andreas

dave373a

9:11 pm on Nov 10, 2002 (gmt 0)

10+ Year Member



To identify and solve your problem follow the steps outlined below.

>>Get the script to work outside of your more complex template.<<

Yes done that initially.

>>Validate the output of your script.<<

No problem there either

>>Use a placeholder on your page where you want the script output to appear. If your page does not display as you want it, you need to check your HTML code.<<

HTML is fine. Part of the html code in the original script appears in the subroutine section of the cgi codes and might be why I am having that problem.

>>Validate that page.<<

No problem there

>>After successfully completing those steps have the scripts output appear where the placeholder was. Now everything should display just as you want.

Andreas<<

That was already done initially.

Thanks
Dave