Forums / Customization from the Admin / New products for *month*

New products for *month*

Locked

Views: 973

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
9 Jun 2010, 10:36 AM
#1
kyra avatar

kyra

New Zenner

Join Date:
Jun 2010
Posts:
17
Plugin Contributions:
0

New products for *month*

Hi everyone,

With the "New products for June" or whatever month it happens to be, is there some way I can move it on my home page so my text goes below it?

My page is http://www.bubbalooba.com if you want to have a look to get what I mean.

Thanks a lot!
Kyra

9 Jun 2010, 12:28 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: New products for *month*

Sure. You would just take a copy of the tpl_index_default.php template in the template_default, place it in your template and then edit the copy to change the order in which the items are output.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

10 Jun 2010, 4:14 AM
#3
kyra avatar

kyra

New Zenner

Join Date:
Jun 2010
Posts:
17
Plugin Contributions:
0

Re: New products for *month*

Thanks kuroi :)

10 Jun 2010, 4:29 AM
#4
kyra avatar

kyra

New Zenner

Join Date:
Jun 2010
Posts:
17
Plugin Contributions:
0

Re: New products for *month*

Actually, I thought I had it figured now, but I'm a bit confused...which part exactly am I moving? I don't really understand php, its a bit confusing! Where does the code start and finish, if you get what I mean? Like, do I start from

/**

  • display the New Products Center Box
    */

or

<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?>

or I don't know..I'm just confused lol. I had a play around with it and I managed to get the box where I wanted, but then the text below repeated itself about 4 times?

10 Jun 2010, 8:54 AM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: New products for *month*

There's a loop in that template, so it sounds as though you have found the text bit OK, but moved it inside the loop so that it's run every time round.

The place to found it is almost to the end of the file after the loop has finished, i.e. as shown below

<?php $show_display_category->MoveNext(); } // !EOF ?>

put it in here

</div>

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

10 Jun 2010, 10:12 AM
#6
kyra avatar

kyra

New Zenner

Join Date:
Jun 2010
Posts:
17
Plugin Contributions:
0

Re: New products for *month*

I'm stil a little bit confused - I know the bit you're talking about, it's at the end of the template, but what am I supposed to be putting in there? I didn't touch that part at all when I was playing around with it earlier. Arghhh confused...

10 Jun 2010, 10:13 AM
#7
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: New products for *month*

Whatever bit you moved to display the text that is now being shown 4 times should go where indicated, rather than where you put it.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

10 Jun 2010, 10:17 AM
#8
kyra avatar

kyra

New Zenner

Join Date:
Jun 2010
Posts:
17
Plugin Contributions:
0

Re: New products for *month*

YOU ARE A GENIUS!!

Thanks a lot :)