Preview not working...

This is an archive of old posting to the User Forum

Preview not working...

Postby Brandon Eley » Thu Jan 09, 2003 7:33 pm

I've never really played around with the preview feature before but thought
it was a great idea. I just went to preview a few pages and noticed that any
links (relative not absolute) are not pulling up at all. No pictures,
stylesheet, etc.

Anyone know why this is? I would think it should render the page as if it
were in the home directory, since that's where it is... but don't know.

Any help would be appreciated,

Brandon Eley
2BigFeet.com
Brandon Eley
 

Re: Preview not working...

Postby loren_d_c » Fri Jan 10, 2003 10:48 am

It can't render it as if it is coming from the home directory, it is a
cgi in the ShopSite CGI Directory that is serving up the page, so if you
have relative URL's in your page, they will be based on the directory
the preview cgi is located. One way to make relative URLs be based from
your home directory even if the page is actually elsewhere is to use a
BASE tag in the header. Also might be a good idea to refer to your style
sheet css file by it's full URL.

-Loren


Brandon Eley wrote:
I've never really played around with the preview feature before but thought
it was a great idea. I just went to preview a few pages and noticed that any
links (relative not absolute) are not pulling up at all. No pictures,
stylesheet, etc.

Anyone know why this is? I would think it should render the page as if it
were in the home directory, since that's where it is... but don't know.

Any help would be appreciated,

Brandon Eley
2BigFeet.com
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 54 guests