Forums / Templates, Stylesheets, Page Layout / Changing the way the slider works on the main page ...advice needed

Changing the way the slider works on the main page ...advice needed

Started by huntleybill on 1 Oct 2013, 3:29 AM · Views: 827

Results 1 to 4 of 4
1 Oct 2013, 3:29 AM
#1
huntleybill avatar

huntleybill

Zen Follower

Join Date:
Sep 2011
Posts:
102
Plugin Contributions:
0

Changing the way the slider works on the main page ...advice needed

Using V:1.5with "A modern Zen" template. The best I can tell, the slider picks four random products to display on the main page. Is there any way to make the slider only show items from say "featured products" or "new products" only?

If not, is there a way to turn the slider off?

Thank you
Bill

1 Oct 2013, 3:16 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing the way the slider works on the main page ...advice needed

The best I can tell, the slider picks four random products to display on the main page
Check the read me included with this template under "customize slider" and you will find the following

Change the Slider Images and Links

1 - Create new images in your favorite image editor (standard size is 775 pixals wide by 325 pixals tall)

2 - Upload the images to includes/templates/azienda/images/

3 - Open includes/languages/english/html_includes/azienda/define_main_page.php and you will see code at the top:

define('SLIDE_ONE', 'slide1.jpg');
define('SLIDE_TWO', 'slide2.jpg');
define('SLIDE_THREE', 'slide3.jpg');
define('SLIDE_FOUR', 'slide4.jpg');

define('SLIDE_ONE_URL', 'http://www.brandonturpin.com');
define('SLIDE_TWO_URL', 'http://www.brandonturpin.com');
define('SLIDE_THREE_URL', 'http://www.brandonturpin.com');
define('SLIDE_FOUR_URL', 'http://www.brandonturpin.com');


4 - Change the slide1.jpg to the title of your slide image

5 - Change the url to where you want them directed when it is clicked.

Zen-Venom Get Bitten

1 Oct 2013, 11:26 PM
#3
huntleybill avatar

huntleybill

Zen Follower

Join Date:
Sep 2011
Posts:
102
Plugin Contributions:
0

Re: Changing the way the slider works on the main page ...advice needed

Thanks Kobra..but that didn't help. I read the read me file and there is nothing in it that even mentions the slider. I also went to the define_main_page.php. There is nothing there except for what I typed.

So... I still need to know if there is a way to configure the slider to NOT just pick random pictures from the data base, but instead use the pictures in "featured Products" or if that can't be done, is there is a way to turn it off all together.

2 Oct 2013, 12:43 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing the way the slider works on the main page ...advice needed

It looks like you've turned the slider off. Good idea, in my opinion.