osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

adding url link to external page from information box

This is a discussion on adding url link to external page from information box within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi. I'm trying to add a link to my information box to link to an external forum so I have ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 05-21-2005, 01:57 PM
Member
 
Join Date: Jun 2004
Location: UK
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
fuzzyphil
Default adding url link to external page from information box

Hi.
I'm trying to add a link to my information box to link to an external forum so I have been trying to modify the /catalog/includes/boxes/information.php file by adding this line.

'<a href="http://linktofile.com" title="titleoflink">titleoflink</a><br>' .

It's not working so is there a second part to this that I must also do for it to work??

All advise welcomed.
P.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 05-21-2005, 02:22 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: adding url link to external page from information box

What is the error you are getting. Please post the new code in context of the line above and below it.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 05-21-2005, 03:55 PM
Jonnyboy's Avatar
New Member
 
Join Date: May 2005
Location: Cambridge England
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Jonnyboy
Default RE: adding url link to external page from information box

Hi

If you have the latest edition of oscmax you need to do somthing like this

$boxContent = '<a href="' . tep_href_link(FILENAME_SHIPPING) . '"> ' . BOX_INFORMATION_SHIPPING . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_PRIVACY) . '"> ' . BOX_INFORMATION_PRIVACY . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONDITIONS) . '"> ' . BOX_INFORMATION_CONDITIONS . '</a><br>' .
'<a href="' . tep_href_link(FILENAME_CONTACT_US) . '"> ' . BOX_INFORMATION_CONTACT . '</a><br>'.
'<a href="' . tep_href_link(FILENAME_CATALOG_PRODUCTS_WITH_IMAGE S, '', 'NONSSL') . '">' . BOX_CATALOG_PRODUCTS_WITH_IMAGES . '</a><br>' .
'<a href="http://linktofile.com" title="titleoflink">titleoflink</a><br>' .
'<a href="' . tep_href_link(FILENAME_GV_FAQ, '', 'NONSSL') . '"> ' . BOX_INFORMATION_GV . '</a>';//ICW ORDER TOTAL CREDIT CLASS/GV


As msasek said post the code so we can take a look

John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Link to an external page jcomputers osCMax v2 Customization/Mods 1 07-27-2006 06:07 PM
adding information page jschafer52 osCMax v2 Customization/Mods 1 10-11-2005 09:21 AM
direct link in Information box thedesignbase osCMax v1.7 Discussion 1 01-30-2005 07:19 AM
Internal/External Links in Information Box silkenstrand osCommerce 2.2 Modification Help 2 08-02-2004 06:23 AM
adding item to cart from external webpage brianstorm osCommerce 2.2 Modification Help 0 04-16-2003 02:38 AM


All times are GMT -8. The time now is 09:41 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax