Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

add link to catagories box


ms-signs

Recommended Posts

Posted
hi,

 

Can a link to a .html file be added to the catagories box as a catagory, if so how?

 

Thank you

 

I will need to add a new box with help links! one quick question, can I add links to none php files in simple html tags to my box, I have no experience in .php. I tried following the directions on how to creat a new box and just could not do it.

Posted

You can use "normal" html for external links but for internal linking, you should use the osCommerce tep_href_link() function to maintain a user session, should their browser not accept your cookie.

Without wanting to sound condescending, adding a new box and links isn't that difficult, if you use the knowledge base tutorial. What part are you having difficulty with?

Posted
You can use "normal" html for external links but for internal linking, you should use the osCommerce tep_href_link() function to maintain a user session, should their browser not accept your cookie.

Without wanting to sound condescending, adding a new box and links isn't that difficult, if you use the knowledge base tutorial. What part are you having difficulty with?

 

I added the box as instructed, when I went to my site i got an error message and left colum covered most of the screen. Im working on it right now this is what I have:

 

<?php

/*

$Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

?>

<!-- help //-->

<tr>

<td>

<?php

$info_box_contents = array();

$info_box_contents[] = array('text' => BOX_HEADING_HELP);

 

new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('text' => '<a href="http://ms-signs.com/quoterequest.html">'Quote Request'</a><br>'

'<a href="http://ms-signs.com/fileupload.html">'Upload Your File'</a><br>'

'<a href="http://ms-signs.com/fileprep.pdf">'File Preparation'</a><br>'

'<a href="http://ms-signs.com/artwork.html">'Artwork Questionnaire'</a><br>'

'<a href="http://ms-signs.com/cardauthorization.html">'Card Authorization Form'</a><br>'

'<a href="http://ms-signs.com/portfolio/banners.html">'Visit Our Portfolio'</a>');

 

new infoBox($info_box_contents);

?>

</td>

</tr>

<!-- help_eof //-->

 

 

Like I said no php experience and limited html

 

thank you

Posted

Nothing obviously wrong there. What error message do you get?

 

As said before, using normal html anchors and html pages could lead to your users lose their session. They will get fed up with that if they have added to cart.

Posted
Nothing obviously wrong there. What error message do you get?

 

As said before, using normal html anchors and html pages could lead to your users lose their session. They will get fed up with that if they have added to cart.

 

 

this error

 

Parse error: syntax error, unexpected '<' in /hermes/bosweb/web281/b2813/ipw.mssigns/public_html/includes/boxes/help.php on line 23

 

thank you

Posted
this error

 

Parse error: syntax error, unexpected '<' in /hermes/bosweb/web281/b2813/ipw.mssigns/public_html/includes/boxes/help.php on line 23

 

thank you

 

Thank you I got it to work!

Posted

Just noticed you are using quotes around the link text - 'Quote Request'. Remove the quote marks.

 

 

EDIT: Also just noticed the string wasn't concatenated. I guess that is what the problem was.

Archived

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

×
×
  • Create New...