Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link to a pop-up file


hdrotleff

Recommended Posts

Hi,

I added a new product description in CATALOG (admin). I want to open a pop-up window with an additional description (for ex. test results) if somebody clicks on a certain text portion. I use the following link:

 

<a title="View Results" href="' . tep_href_link(FILENAME_PORTABLE_RESULTS, '', 'NONSSL') . '">The results are amazing.

<a/>

 

My problem is that the file portable_results.php is not found (error 404). In which directory should it be placed?

I defined it in filenames.php.

 

Many thanks

 

hdrotleff

Link to comment
Share on other sites

In your admin where you insert your product information you can add the page to your "Products URL:" field. You will have to have a consistent line of text that describes that link. The reason is that that line will appear on every page with that default text, however you can change the page it links to for every product in the admin as stated above.

 

I would suggest something like "<link>More information</link> about this product" which you can change in the catalog>includes>languages>english>product_info.php at around line 15. As you can see from the default install of OSC you can include HTML code within the single quotes.

 

Hope this helps.

Link to comment
Share on other sites

In your admin where you insert your product information you can add  the page to your "Products URL:" field. You will have to have a consistent line of text that describes that link. The reason is that that line will appear on every page with that default text, however you can change the page it links to for every product in the admin as stated above.

 

I would suggest something like "<link>More information</link> about this product" which you can change in the catalog>includes>languages>english>product_info.php at around line 15. As you can see from the default install of OSC you can include HTML code within the single quotes.

 

Hope this helps.

 

 

Thanks for your suggestion.

 

What I mean is a small window that opens when I click on More information

Please look at:

 

http://www.elanra.co.uk/products.htm#The%2...eutic%20Ioniser

 

and click on "The results were startling".

 

The information about my product is in html-code in the admin area of the shop and is displayed in "Categories".

 

So I need a link to that window.

 

In the a.m. example the link is

<a title="Click Here For Enlarged Image Of Portable" href="java script:photo_portable();">

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...