Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do i insert a link ?


rayjuan

Recommended Posts

Posted

hi all,

 

having trouble inserting a RE DIRECTION link in the code below

 

<ul>

<li class="wrapper_div"><div class="div_pic"><?php if ($banner = tep_banner_exists('dynamic', 'banner2')) { ?><?php echo tep_display_banner('static', $banner);?></div>

<div class="div_hint">

<div class="div">

<a class="txt" href="<?php echo tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id'])?>" target="_self">Super Value 1</a>

<a class="txt2" href="<?php echo tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id'])?>" target="_self">View Package Details</a>

 

 

 

do i insert my link for example http://www.abc123.com after the filename redirect coding?

 

tried the above but it does not work.

 

HELP!

 

thank you

 

Rae

Posted

not familiar with how that banner rotation script works but i would assume there is a control panel for it in the administrator section of oscommerce to handle it ?

 

<a class="txt2" href="<?php echo tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id'])?>" target="_self">View Package Details</a>

 

i hqve bolded and underlined the bit of code i think is being referenced, this part would be populated from the databse which makes me think theres a control panel for this banner rotation script ?

Posted

HI andy! brilliant! i believe its located at the banner manager in admin..

 

thanks!

Posted

HI andy! brilliant! i believe its located at the banner manager in admin..

 

thanks!

 

glad you got it sorted, was that the default banner module that came with oscommerce ? i haven't used it yet that's why i was unfamiliar with it :)

Archived

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

×
×
  • Create New...