Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the What's New Menu Link For OSC 2.3.1


rayjuan

Recommended Posts

Hi all, i just recently installed an OSC 2.3.1 template and would like to ammend the What's New menu tab .

 

The What's new tab is currently linked to Products_New.Php

 

is it possible to have it linked to another address? for example www.mystore.com/index.php

 

how do i do it?

 

thank you!!

 

Rae

Link to comment
Share on other sites

hi george, thanks for chipping in!

 

yup ive approached monstertemplates.com but their unable to help me on this..

 

tried searching under header.php but to no avail.. this is whats displayed

 

 

 


[b]<?php[/b]
[b]/*[/b]
[b]  $Id$[/b]

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

[b]  Copyright (c) 2010 osCommerce[/b]

[b]  Released under the GNU General Public License[/b]
[b]*/[/b]

[b]  if ($messageStack->size('header') > 0) {[/b]
[b]    echo '<div class="grid_24">' . $messageStack->output('header') . '</div>';[/b]
[b]  }[/b]

[b]?>[/b]

[b]<div id="header" class="container_<?php echo $oscTemplate->getGridContainerWidth(); ?>">[/b]
[b]<div class="grid_<?php echo $oscTemplate->getGridContainerWidth(); ?>">[/b]

[b]     <a class="logo" href="<?php echo tep_href_link(FILENAME_DEFAULT);?>"><?php echo tep_image(DIR_WS_IMAGES.'store_logo.png', STORE_NAME, '', '', '')?></a>  [/b]
[b]        <?php[/b]
[b]            if (($oscTemplate->hasBlocks('boxes_menu'))) {[/b]
[b]?> [/b]
[b]<div class="boxes_menu"> [/b]
[b]         <?php echo $oscTemplate->getBlocks('boxes_menu'); ?>[/b]
[b]</div>            [/b]
[b]<?php[/b]
[b]}[/b]
[b]?>   [/b]
[b]<?php[/b]
[b]            if (($oscTemplate->hasBlocks('boxes_header_search'))) {[/b]
[b]?> [/b]
[b]<div class="box_header_search"> [/b]
[b]         <?php echo $oscTemplate->getBlocks('boxes_header_search'); ?>[/b]
[b]</div>            [/b]
[b]<?php[/b]
[b]}[/b]
[b]?>[/b]
[b]<?php[/b]
[b]            if (($oscTemplate->hasBlocks('box_header_user_menu'))) {[/b]
[b]?> [/b]
[b]<div class="box_header_user_menu"> [/b]
[b]         <?php echo $oscTemplate->getBlocks('box_header_user_menu'); ?>[/b]
[b]</div>            [/b]
[b]<?php[/b]
[b]}[/b]
[b]?>[/b]

[b]<?php[/b]
[b]            if (($oscTemplate->hasBlocks('box_header_cart'))) {[/b]
[b]?> [/b]
[b]<div class="box_header_cart"> [/b]
[b]         <?php echo $oscTemplate->getBlocks('box_header_cart'); ?>[/b]
[b]</div>            [/b]
[b]<?php[/b]
[b]}[/b]
[b]?>[/b]
[b]<?php[/b]
[b]            if (($oscTemplate->hasBlocks('boxes_header'))) {[/b]
[b]?> [/b]
[b]<?php echo $oscTemplate->getBlocks('boxes_header'); ?>[/b]
[b]<?php[/b]
[b]}[/b]
[b]?>[/b]


[b]</div>[/b]
[b]</div>[/b]



[b]<?php[/b]
[b]  if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {[/b]
[b]?>[/b]
[b]<table border="0" width="100%" cellspacing="0" cellpadding="2">[/b]
[b]  <tr class="headerError">[/b]
[b]    <td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td>[/b]
[b]  </tr>[/b]
[b]</table>[/b]
[b]<?php[/b]
[b]  }[/b]

[b]  if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {[/b]
[b]?>[/b]
[b]<table border="0" width="100%" cellspacing="0" cellpadding="2">[/b]
[b]  <tr class="headerInfo">[/b]
[b]    <td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td>[/b]
[b]  </tr>[/b]
[b]</table>[/b]
[b]<?php[/b]
[b]  }[/b]
[b]?>[/b]



Link to comment
Share on other sites

I've no idea how they did the menu and no idea how your website look like, but for sure you have an idea about the mostertemplates support. What does this mean "unable to help" ?

 

Anyway, there are several "blocks" called (using the $oscTemplate->getBlocks() ), whatever is called here is a class, the relevant file is probably under includes/modules I can't tell you for sure

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...