Picaflor Azul's ALL BUSINESS template uses this technique - but the difficulty with it is the inclusion of PHP code in the define_main_page.php content.
The instructions in ALL BUSINESS indicate that when you wish to EDIT define_main_page.php in your webshop admin panel (admin >>> tools >>> define pages editor), it is essential that this is done in PLAIN TEXT mode.
So, before you open the page for editing, you have to make sure that the WYSIWYG editor (perhaps you use HTMLArea), is SWITCHED OFF FIRST.
If you don't do this, and open the page with HTMLArea switched ON, then when you save the page, HTMLArea will say "what on earth is all this "dross"... ?" And it will "re-shape" it in a way it thinks it ought to be.
This effectively removes the
<?php stuff ...
PHP Code:
<?php
define(URL1,'http://www.limelightproducts.net/');
define(URL2,'http://www.limelightproducts.net/');
define(URL3,'http://www.limelightproducts.net/');
define(URL4,'http://www.limelightproducts.net/');
define(URL5,'http://www.limelightproducts.net/');
define(IMAGE1,'01.jpg');// recommend width 630px height=280px /
define(IMAGE2,'02.jpg');
define(IMAGE3,'03.jpg');
define(IMAGE4,'04.jpg');
define(IMAGE5,'05.jpg');
?>
... which until then, was "hard-coded" into the page.
So... the slider stops working.
Ideally, you should not be putting PHP statements into a defined page. So sliders that use this as part of their protocol are not ideal for zencart.
If you do use this slider, and you do "paste" these PHP defines into define_main_page.php, then make sure you switch off your WYSIWYG editor BEFORE you open that page for editing.
You can ONLY edit it in PLAIN TEXT MODE.