Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Info box colours/images + Moving New Products box


Guest

Recommended Posts

Hey,

 

i'm using the latest version of OSC, but in the old version i found all the images i needed to change the infobox colours..

so corner_right.gif, corner_left.gif etc etc..

i have found these to change.. but the rest of the bar behind say.. shopping cart box, when it's viewed just on the main page..

wasn't it just a line of pixel colours, such as grey.. and it just repeats as long as it needs to, to fill the shopping cart bar, or new products bar, or reviews bar etc etc..

 

how do i change this in this new version??

 

ALSO..

 

i created a new php box for an additional page, and wanted to move the NEW PRODUCTS off the main page, onto this php page, so its not the first thing people see on the site, but when they go to the new store.php box i created, the new products box can appear on there..

 

anyone know what i need to cut and/or change from index.php and move to my new store.php?

 

thank you.

appreciate any help.

:thumbsup:

Link to comment
Share on other sites

Hey,

 

i'm using the latest version of OSC, but in the old version i found all the images i needed to change the infobox colours..

so corner_right.gif, corner_left.gif etc etc..

i have found these to change.. but the rest of the bar behind say.. shopping cart box, when it's viewed just on the main page..

wasn't it just a line of pixel colours, such as grey.. and it just repeats as long as it needs to, to fill the shopping cart bar, or new products bar, or reviews bar etc etc..

 

how do i change this in this new version??

 

ALSO..

 

i created a new php box for an additional page, and wanted to move the NEW PRODUCTS off the main page, onto this php page, so its not the first thing people see on the site, but when they go to the new store.php box i created, the new products box can appear on there..

 

anyone know what i need to cut and/or change from index.php and move to my new store.php?

 

thank you.

appreciate any help.

:thumbsup:

I think this is what you are wanting. Make an image of height = 'however high you want it and width say about 10px. Fill this image with the colour you want. Now in your stylesheet.css go to your TD.infoBoxHeading and add the following:

height:30;
background-image: url('/images/Image1.gif');
background-repeat: repeat-x;
background-position: left;

Image1.gif is the image you made, the height can be changed for your image size. Now you must do this to all the other boxes you want to change.

Hope this helps. I found it in a contribution but cannot remember the name.

Link to comment
Share on other sites

hey yeh,

cheers..

i also found just in the stylesheet.css that the boxes are just using a background colour..

so i just changed that.

 

thanks anyway.

 

ONE OTHER THING..

on the INDEX.php though,

i've got rid of all the welcome guest etc etc..

and i want to put in my own images, text etc..

which i can do through index.php in includes/languages/english/index.php.. right..

BUT, there's still 2 white lines, well transparent lines, not sure.. that i'm trying to get rid of at the top of the box contents..

 

Does anyone know where this code is hidden?

i'm guessing its in the index.php just in the main folder, as it's there to assign either a heading or something for any product pages etc..

any help would be appreciated.

the site i'm doing for reference is my football club's page which you can view at

www.coolumfc.com

cheers

:thumbsup:

Link to comment
Share on other sites

BUT, there's still 2 white lines, well transparent lines, not sure.. that i'm trying to get rid of at the top of the box contents..

If I understand what you want....

 

The part where you "commented out the 'Welcome guest" message:

 

		   <tr>
		<td class="main"><!--Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://www.coolumfc.com/login.php"><u>log yourself in</u></a>? Or would you prefer to <a href="http://www.coolumfc.com/create_account.php"><u>create an account</u></a>?--></td>
	  </tr>
	  <tr>
		<td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td>
	  </tr>

Change it to this:

 

<!--
	   <tr>
		<td class="main">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://www.coolumfc.com/login.php"><u>log yourself in</u></a>? Or would you prefer to <a href="http://www.coolumfc.com/create_account.php"><u>create an account</u></a>?</td>
	  </tr>
	  <tr>
		<td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td>
	  </tr>
-->

I MOVED the commenting code ( <!-- and --> )

 

Then, just ABOVE that, find this code:

 

	  <tr>
	<td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td>
  </tr>

Change it to:

 

<!--
  <tr>
	<td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td>
  </tr>
-->

That will move the blue image to the top of the box.

 

I think that's what you want.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Hey, yeh, cheers.

Helped me find the 2 pixel seperator lines i needed to clear and it pushed my image up top.

thanks.

 

Another new Problem??

if you dont mind again..

 

With all the PHP boxes i've made and where the content comes up inside each one, (so the info inside the main white box on each page)

is there a way to scroll it, with say overflow or have it skip to next page etc to avoid pushing the footer boxes down further each time more info is packed into each content section..

if you get what i mean..

So for example..

i'm having a game reviews page..

now lets say the coaches of each team send me reviews to put up, and by the way i am making seperate php boxes for each team.. (to avoid having to many reviews on the one page, to make people have to scroll for ages..)

if the info gets to the bottom of the box, i'd like if possible to add a 'page 2', and/or 'next' button, so it skips to another php box.. OR just have it, so that box can scroll down WITHOUT the rest of the page scrolling..

?

hope this isnt too confusing.

cheers for anyone who understands what i'm saying, and can assist.

:thumbsup:

 

If I understand what you want....

 

The part where you "commented out the 'Welcome guest" message:

 

		   <tr>
		<td class="main"><!--Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://www.coolumfc.com/login.php"><u>log yourself in</u></a>? Or would you prefer to <a href="http://www.coolumfc.com/create_account.php"><u>create an account</u></a>?--></td>
	  </tr>
	  <tr>
		<td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td>
	  </tr>

Change it to this:

 

<!--
	   <tr>
		<td class="main">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://www.coolumfc.com/login.php"><u>log yourself in</u></a>? Or would you prefer to <a href="http://www.coolumfc.com/create_account.php"><u>create an account</u></a>?</td>
	  </tr>
	  <tr>
		<td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td>
	  </tr>
-->

I MOVED the commenting code ( <!-- and --> )

 

Then, just ABOVE that, find this code:

 

	  <tr>
	<td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td>
  </tr>

Change it to:

 

<!--
  <tr>
	<td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td>
  </tr>
-->

That will move the blue image to the top of the box.

 

I think that's what you want.

Link to comment
Share on other sites

Your code for a scrolling box:

 

<style type="text/css">
ul {
margin-top: 0px;
margin-bottom: 0px; 
margin-left: 0px; 
padding-left: 0px; 
} 

.scrollArea {
width: 500px; 
height: 500px;
padding-left: 5px;
padding-right: 5px; 
border-color: #6699CC;
border-width: 1px; 
border-style: solid;
float: left; 
overflow: auto;
}
</style>

Use:

 

<td>
<span class="scrollArea">

<!-- insert scrollable data here -->

</span>
</td>

I worked out the above code for your site using the Webdeveloper addon inside Firefox.

 

I posted it so I won't forget it!

:lol:

 

Post the PHP code for one of your pages, and I'll help you work it in.

 

PLEASE POST THE PHP CODE BETWEEN "CODE" TAGS TO PRESERVE FORMATTING.

 

Rght now you don't have any pages with data long enough to scroll, but maybe you can make one. Your "Results" page is almost long enough to scroll. That's the one I was using to test the code on.

 

Or, you can change this parameter:

 

height: 500px;

to something smaller to get an idea of how it works/what it looks like.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Can i post that into STS template or somewhere will it will act for every PHP page..??

if not, which results.php should i put it in, just the one in public_html..

cheers

 

 

Your code for a scrolling box:

 

<style type="text/css">
ul {
margin-top: 0px;
margin-bottom: 0px; 
margin-left: 0px; 
padding-left: 0px; 
} 

.scrollArea {
width: 500px; 
height: 500px;
padding-left: 5px;
padding-right: 5px; 
border-color: #6699CC;
border-width: 1px; 
border-style: solid;
float: left; 
overflow: auto;
}
</style>

Use:

 

<td>
<span class="scrollArea">

<!-- insert scrollable data here -->

</span>
</td>

I worked out the above code for your site using the Webdeveloper addon inside Firefox.

 

I posted it so I won't forget it!

:lol:

 

Post the PHP code for one of your pages, and I'll help you work it in.

 

PLEASE POST THE PHP CODE BETWEEN "CODE" TAGS TO PRESERVE FORMATTING.

 

Rght now you don't have any pages with data long enough to scroll, but maybe you can make one. Your "Results" page is almost long enough to scroll. That's the one I was using to test the code on.

 

Or, you can change this parameter:

 

height: 500px;

to something smaller to get an idea of how it works/what it looks like.

Link to comment
Share on other sites

You need to post the contents of ONE SPECIFIC PAGE (between CODE tags) so we can integrate it and see if it's what you want.

 

I'd think you can use that as a "template" for future pages.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

ok, sweet, cheers,

i'll give it a go..

 

You know how we cleared the white bar above the image on INDEX.php..

on the CONTACT_US.php there's one as well..

but i've cleared alot of the pixel seperator lines and cannot find which one moves that gap..?

any ideas..

 

thanks. :thumbsup:

 

You need to post the contents of ONE SPECIFIC PAGE (between CODE tags) so we can integrate it and see if it's what you want.

 

I'd think you can use that as a "template" for future pages.

Link to comment
Share on other sites

The space in the "Contact Us" page is caused by an extra <br>:

 

<!-- start Default Content //-->

<form name="contact_us" action="http://www.coolumfc.com/contact_us.php?action=send" method="post"><br>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

that code wasn't in there, but

yeh found where the <BR> was.

thanks.

 

Do you know anything about making the NEW PRODUCTS from appearing on index.php, be moved to appear on my STORE.php page only?

cheers :thumbsup:

 

 

The space in the "Contact Us" page is caused by an extra <br>:
Link to comment
Share on other sites

that code wasn't in there

What you saw was the PHP equivilant.

 

I was fairly sure I posted enough for you to find it.

 

The code that makes the new products appear probably looks about like this:

 

		  <tr>
		<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
	  </tr>

You'd just have to move that code to the correct place in the new page.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

right, found that, added it..

But now it needs some heading code to define it right?

as you can see from whats appearing..

 

But what about all the other code that's listed in INDEX.php about new products, like special price stuff etc etc..

will i need to copy across anything else?

hmm, maybe i'll throw in a dummy item now.. to check

 

What you saw was the PHP equivilant.

 

I was fairly sure I posted enough for you to find it.

 

The code that makes the new products appear probably looks about like this:

 

		  <tr>
		<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>
	  </tr>

You'd just have to move that code to the correct place in the new page.

Link to comment
Share on other sites

You'll need to copy some of these from the /includes/languages/english/index.php into /includes/languages/english/store.php I presume:

 

<?php
/*
 $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

define('TEXT_MAIN', 'This is a default setup of the osCommerce project, products shown are for demonstrational purposes, <b>any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products is to be treated as fictional.<br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>Error Messages</b><br><br>If there are any error or warning messages shown above, please correct them first before proceeding.<br><br>Error messages are displayed at the very top of the page with a complete <span class="messageStackError">background</span> color.<br><br>Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.</td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b>Editing Page Texts</b><br><br>The text shown here can be modified in the following file, on each language basis:<br><br><nobr class="messageStackSuccess">[path to catalog]/includes/languages/' . $language . '/' . FILENAME_DEFAULT . '</nobr><br><br>That file can be edited manually, or via the Administration Tool with the <nobr class="messageStackSuccess">Languages->' . ucfirst($language) . '->Define</nobr> or <nobr class="messageStackSuccess">Tools->File Manager</nobr> modules.<br><br>The text is set in the following manner:<br><br><nobr>define(\'TEXT_MAIN\', \'<span class="messageStackSuccess">This is a default setup of the osCommerce project...</span>\');</nobr><br><br>The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:<br><br><nobr>define(\'TEXT_MAIN\', \'\');</nobr><br><br>More information concerning the PHP define() function can be read <a href="http://www.php.net/define" target="_blank"><u>here</u></a>.</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</td><td class="main" valign="top"><b>Securing The Administration Tool</b><br><br>It is important to secure the Administration Tool as there is currently no security implementation available.</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/4.gif') . '</td><td class="main" valign="top"><b>Online Documentation</b><br><br>Online documentation can be read at the <a href="http://www.oscommerce.info" target="_blank"><u>osCommerce Knowledge Base</u></a> site.<br><br>Community support is available at the <a href="http://www.oscommerce.com/forums" target="_blank"><u>osCommerce Community Support Forums</u></a> site.</td></tr></table><br>If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://www.oscommerce.com" target="_blank"><u>support site of osCommerce</u></a>. This shop is running on osCommerce version <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
 define('HEADING_TITLE', 'Let\'s See What We Have Here');
 define('TABLE_HEADING_IMAGE', '');
 define('TABLE_HEADING_MODEL', 'Model');
 define('TABLE_HEADING_PRODUCTS', 'Product Name');
 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
 define('TABLE_HEADING_QUANTITY', 'Quantity');
 define('TABLE_HEADING_PRICE', 'Price');
 define('TABLE_HEADING_WEIGHT', 'Weight');
 define('TABLE_HEADING_BUY_NOW', 'Buy Now');
 define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
 define('TEXT_SHOW', '<b>Show:</b>');
 define('TEXT_BUY', 'Buy 1 \'');
 define('TEXT_NOW', '\' now');
 define('TEXT_ALL_CATEGORIES', 'All Categories');
 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'What\'s New Here?');
} elseif ($category_depth == 'nested') {
 define('HEADING_TITLE', 'Categories');
}
?>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thank you.

Absolute legend.

 

some more quick questions..

things like the What's new box, bestsellers etc that normally appear on the main page..

is it possible to have them only appear on the store php page in the left or right columns, but not the main page,

by just removing the $whatsnewbox from index.php and adding it to store.php??

 

cheers

:thumbsup:

 

You'll need to copy some of these from the /includes/languages/english/index.php into /includes/languages/english/store.php I presume:

 

<?php
/*
 $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

define('TEXT_MAIN', 'This is a default setup of the osCommerce project, products shown are for demonstrational purposes, <b>any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products is to be treated as fictional.<br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/1.gif') . '</td><td class="main" valign="top"><b>Error Messages</b><br><br>If there are any error or warning messages shown above, please correct them first before proceeding.<br><br>Error messages are displayed at the very top of the page with a complete <span class="messageStackError">background</span> color.<br><br>Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.</td></tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/2.gif') . '</td><td class="main" valign="top"><b>Editing Page Texts</b><br><br>The text shown here can be modified in the following file, on each language basis:<br><br><nobr class="messageStackSuccess">[path to catalog]/includes/languages/' . $language . '/' . FILENAME_DEFAULT . '</nobr><br><br>That file can be edited manually, or via the Administration Tool with the <nobr class="messageStackSuccess">Languages->' . ucfirst($language) . '->Define</nobr> or <nobr class="messageStackSuccess">Tools->File Manager</nobr> modules.<br><br>The text is set in the following manner:<br><br><nobr>define(\'TEXT_MAIN\', \'<span class="messageStackSuccess">This is a default setup of the osCommerce project...</span>\');</nobr><br><br>The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:<br><br><nobr>define(\'TEXT_MAIN\', \'\');</nobr><br><br>More information concerning the PHP define() function can be read <a href="http://www.php.net/define" target="_blank"><u>here</u></a>.</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/3.gif') . '</td><td class="main" valign="top"><b>Securing The Administration Tool</b><br><br>It is important to secure the Administration Tool as there is currently no security implementation available.</td></tr><tr><td class="main" valign="top">' . tep_image(DIR_WS_IMAGES . 'default/4.gif') . '</td><td class="main" valign="top"><b>Online Documentation</b><br><br>Online documentation can be read at the <a href="http://www.oscommerce.info" target="_blank"><u>osCommerce Knowledge Base</u></a> site.<br><br>Community support is available at the <a href="http://www.oscommerce.com/forums" target="_blank"><u>osCommerce Community Support Forums</u></a> site.</td></tr></table><br>If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://www.oscommerce.com" target="_blank"><u>support site of osCommerce</u></a>. This shop is running on osCommerce version <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.');
define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {
 define('HEADING_TITLE', 'Let\'s See What We Have Here');
 define('TABLE_HEADING_IMAGE', '');
 define('TABLE_HEADING_MODEL', 'Model');
 define('TABLE_HEADING_PRODUCTS', 'Product Name');
 define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');
 define('TABLE_HEADING_QUANTITY', 'Quantity');
 define('TABLE_HEADING_PRICE', 'Price');
 define('TABLE_HEADING_WEIGHT', 'Weight');
 define('TABLE_HEADING_BUY_NOW', 'Buy Now');
 define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');
 define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');
 define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');
 define('TEXT_SHOW', '<b>Show:</b>');
 define('TEXT_BUY', 'Buy 1 \'');
 define('TEXT_NOW', '\' now');
 define('TEXT_ALL_CATEGORIES', 'All Categories');
 define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');
} elseif ($category_depth == 'top') {
 define('HEADING_TITLE', 'What\'s New Here?');
} elseif ($category_depth == 'nested') {
 define('HEADING_TITLE', 'Categories');
}
?>

Link to comment
Share on other sites

You've already moved the "New Products".

 

Moving the other things would be done in the same fashion.

 

Just a little code transplanting....

;)

 

So when are you going to post the code for one of your pages so we can add the scrolling text box?

:unsure:

 

I didn't write the code (Google is a Godsend!), but I spent an hour or more the other night using Firefox and the webdeveloper tools working it into your HTML source code....

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

so by just moving the whatsnew and bestseller boxes from catalog/index.php to catalog/store.php they'll only appear in the left or right coloumns when people view the store page? but if i want them on other pages too, then i'll have to place the code into those php pages as well..?

that sound right, or no..?

;)

 

You've already moved the "New Products".

 

Moving the other things would be done in the same fashion.

 

Just a little code transplanting....

;)

 

So when are you going to post the code for one of your pages so we can add the scrolling text box?

:unsure:

 

I didn't write the code (Google is a Godsend!), but I spent an hour or more the other night using Firefox and the webdeveloper tools working it into your HTML source code....

:)

Link to comment
Share on other sites

Ok, thought this one would be easy..

But where do i resize the text box on the CONTACT_US.php page..

cos it's fairly big, and i wanted to cut the height down, but where i thought it was..

 

<td class="main"><?php echo ENTRY_ENQUIRY; ?></td>

</tr>

<tr>

<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td>

 

this isnt it..?

:huh:

 

 

so by just moving the whatsnew and bestseller boxes from catalog/index.php to catalog/store.php they'll only appear in the left or right coloumns when people view the store page? but if i want them on other pages too, then i'll have to place the code into those php pages as well..?

that sound right, or no..?

;)

Link to comment
Share on other sites

nevermind this one..

idiot here realised the 15 was for '15 lines' so i changed it..

hope it makes for a good laugh though.

cheers :blush:

 

Ok, thought this one would be easy..

But where do i resize the text box on the CONTACT_US.php page..

cos it's fairly big, and i wanted to cut the height down, but where i thought it was..

 

<td class="main"><?php echo ENTRY_ENQUIRY; ?></td>

</tr>

<tr>

<td><?php echo tep_draw_textarea_field('enquiry', 'soft', 50, 15); ?></td>

 

this isnt it..?

:huh:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...