rayjuan Posted November 14, 2010 Posted November 14, 2010 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
andy_1984 Posted November 14, 2010 Posted November 14, 2010 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 ?
rayjuan Posted November 15, 2010 Author Posted November 15, 2010 HI andy! brilliant! i believe its located at the banner manager in admin.. thanks!
andy_1984 Posted November 17, 2010 Posted November 17, 2010 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 :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.