Forums / Templates, Stylesheets, Page Layout / Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

Locked

Started by jerry5763837 on 31 May 2009, 3:34 PM · Views: 1,161

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
31 May 2009, 3:34 PM
#1
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

Hello, everyone,

Could you please help me to see what is the problem?

I just want the new products(class=centerBoxWrapper id=whatNew) at bottom of homepage to display at my custom place, what code should i copy and past?

i tried to copy the following code from includes\templates\template_default\templates\tpl_index_default.php,

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?>
<?php
/**
 * display the New Products Center Box
 */
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>

and past where i desired, but error occured.
Fatal error: Call to a member function Execute() on a non-object in ..\submenucontents.php on line 58

Did i copy the wrong code? what correct code should i work with?
Many for your suggestion in advance. thanks.:frusty:

1 Jun 2009, 1:45 AM
#2
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

anybody know how to solve this problem?
many thanks in advance.:frusty:

1 Jun 2009, 7:58 AM
#3
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

Jerry, is your site live?
Got a URL for us?
Do you have an example of where you're wanting to move this to?

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

1 Jun 2009, 8:47 AM
#4
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

Hi, Get Em Fast,

Many thanks for your reply.

I am test on my local PC.

I planning to use MouseHoverTab style on my homepage, and want to put the new product/feature products/special (class=centerBoxWrapper) into
mousehovertab, please see following picture.
here is the original JS code for my tabs.http://www.dynamicdrive.com/dynamicindex1/mouseovertabs.htm

there are 3 main tabs, when mouse hover on, it appear auto.
New products/ feature product/ special

what code for New products/ feature product/ special should i copy?

1 Jun 2009, 8:55 AM
#5
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

Ahhh, I see what you're trying to do. I'm sure it's possible, as is anything, but it's beyond me. Maybe somebody else will pick up on this thread and have an answer for you. Sorry I couldn't be of any help.

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

1 Jun 2009, 9:04 AM
#6
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

hi, Get Em Fast,

Anyhow, many thanks for your quick response.
:clap:

anybody konw how to solve this? please help. :no:

2 Jun 2009, 1:24 AM
#7
jerry5763837 avatar

jerry5763837

Zen Follower

Join Date:
May 2008
Posts:
261
Plugin Contributions:
0

Re: Trouble adding new products(class=centerBoxWrapper id=whatNew) at bottom of homepage

anybody there?:lamo: