Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where to add code to change page style


Sundial

Recommended Posts

Hi Simple question really. Where in the php pages do I add the code to create this layout style.

 

http://poljot-times.nevelev.com/russian-watches/

 

Its the header section I'm interested in as I like the logo on the right to move with the width of the browser window - ie liquid design as per the colums and other bits. I notice the oscommerce installation doesn't have a graphic in the top right you see.

 

Thanks

 

J

Link to comment
Share on other sites

the default oscommerce installation has a logo on the left and 3 icons on the right...

 

in header.php , just change the logo for ur preferd picture....and then remove the 3 icons and replace them with ur logo.....

 

B)

Link to comment
Share on other sites

the default oscommerce installation has a logo on the left and 3 icons on the right...

 

in header.php  , just change the logo for ur preferd picture....and then remove the 3 icons and replace them with ur logo.....

 

B)

 

Hi Touy bear

Is this the code I need to alter

 

php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>';

 

if I just want the one new logo and want to dispense with the 3 original icons is that easy to do. Is it also possible to place the new logo accurately ie flush with the bottom of the cell.

ta

J

Link to comment
Share on other sites

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
   <td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
 </tr>
</table>

Link to comment
Share on other sites

Thanks I will try this and post a reply later

J

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>
? ?<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
?</tr>
</table>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...