Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Box Pages


squigglybee

Recommended Posts

I added a new box to the left side of my store. I added the links in the box. Now, what I want to do is change what is on the page. I created the new pages based on my shipping.php file as it suggested I do. What part of the code do I edit to reflect what I want to show up on my new page? And... can I add HTML there instead somewhere?? Like, instead of just text, I want to insert an image.

 

I installed a contrib. that added a link on my admin panel to allow me to edit my privacy and shipping pages by adding my text or HTML into a text box. I can't figure out how to do this for new pages.

 

I'd greatly appreciate help!!

Link to comment
Share on other sites

I added a new box to the left side of my store. I added the links in the box. Now, what I want to do is change what is on the page. I created the new pages based on my shipping.php file as it suggested I do. What part of the code do I edit to reflect what I want to show up on my new page? And... can I add HTML there instead somewhere?? Like, instead of just text, I want to insert an image.

 

I installed a contrib. that added a link on my admin panel to allow me to edit my privacy and shipping pages by adding my text or HTML into a text box. I can't figure out how to do this for new pages.

 

I'd greatly appreciate help!!

 

What is your website so I can take a look to see what you are talking about? and what box are you reffering too?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

What is your website so I can take a look to see what you are talking about? and what box are you reffering too?

 

I added a box on the left. It says "other stuff." I created all the pages that link underneath that based on the default shipping.php file.

 

My REAL shipping file was edited by installing a contrib. that allowed me to edit that page by adding a link in my admin panel. I was able to add HTML directly into atext box and it added it to my site. Since I don't have that capability with just any regular old page, I'm stuck.

 

http://www.cute-hello.com

Link to comment
Share on other sites

I'm just not an expert with php. I am more familiar with HTML so I need some help here... ;)

I only got one page is just your index page

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

I've tried searching and can't find what I need.

 

 

ok to take away the text and links for an example:

 

change this:

$info_box_contents = array();
 $info_box_contents[] = array('text' => '<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>');

 

to this:

 

$info_box_contents = array();
 $info_box_contents[] = array('text' => '<p><a href="http://www.yourdomain.com"><img border="0" src="images/yourimage.jpg" width="157" height="133"></a></p>.</a>');

 

that is how you put an image with link of image in the box

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...