osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Adding outside links to info boxes

This is a discussion on Adding outside links to info boxes within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I installed a forum and topsite section in my web site. I made a box called extras, In extas I ...


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 11-14-2002, 09:31 PM
Lurker
 
Join Date: Nov 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
chardae
Default Adding outside links to info boxes

I installed a forum and topsite section in my web site.

I made a box called extras, In extas I need to link to these programs which are located outside the catalog directory ie... http://forums.mysite.com instead of www.mysite.com/forums. My question is how do I write the link to go directly to the forum?

I type it in as a url link in boxes/extras and osc adds the mysite.com before forums.mysite.com. so it looks like this.....

http://www.mysite.com/forums.mysite.com

which of course does not work.

Any suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-15-2002, 08:40 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
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

I am not sure if you followed the instructions in the guide, but this is normally where you would add the link info:

file: /catalog/includes/boxes/yourcustombox.php


Simply hardcode your url into this section. That should work for you. See the last link in this example:


Code:
 $info_box_contents[] = array('align' => 'left',
                               'text'  => '<a href="' . tep_href_link(FILENAME_TESTPAGE1, '', 'NONSSL') . '">' . BOX_TEST_LINK1 . '</a><br>' .
                                          '<a href="' . tep_href_link(FILENAME_TESTPAGE2, '', 'NONSSL') . '">' . BOX_TEST_LINK2 . '</a><br>' .
                                          '<a href="' . tep_href_link(FILENAME_TESTPAGE3, '', 'NONSSL') . '">' . BOX_TEST_LINK3 . '</a><br>' .
                                          '<a href="http://yourlink.com">AAbox Hosting</a>'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-15-2002, 10:46 AM
Anonymous
Guest
 
Posts: n/a
Default Thanks allot it works that way

I was trying to place the links in the existing codes by changing the "define line" to point to the out side web page, thats why it included my web address before the forum url. Duhhhhhhhhhhhhh! LOL

Thanks for your help....
Now if you want to upload all 4000 products for me i would be even more greatful ...........


RFL

You guys are great!
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
image headers in info boxes? Dragonmom osCMax v2 Customization/Mods 4 12-20-2006 08:13 AM
Customization of info boxes islander osCMax v2 Customization/Mods 6 03-05-2006 01:46 PM
New pages and straight links in info block(box) thedesignbase osCMax v1.7 Discussion 2 01-29-2005 08:11 AM
how do I increase the width of the info boxes ? twinklep osCommerce 2.2 Modification Help 1 09-09-2004 08:38 PM
boxes and links help me andes1 osCommerce 2.2 Modification Help 0 07-08-2004 10:13 AM


All times are GMT -8. The time now is 05:20 AM.


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