You need to put some restriction on where the additional content must appear.
Look here for some ideas:
http://www.zen-cart.com/forum/showthread.php?t=55487
You need to put some restriction on where the additional content must appear.
Look here for some ideas:
http://www.zen-cart.com/forum/showthread.php?t=55487
20 years a Zencart User
Awesome! I just tried this:
<!--additional content below featured products-->
<?php if ($this_is_home_page)
{ ?>
INSERT HTML HERE
<?php } ?>
<!-- eof additional content below featured -->
THANK YOU!
Last edited by aly22; 7 May 2009 at 03:57 PM. Reason: Figured it out thanks to schoolboy
I've been experimenting for half an hour and can't figure out where exactly to put your code without messing up other parts of the page. A little more info, please, for us non-programmers!
R
As is often the case, I experimented a little more and figured it out right after the 7-minute limit to edit or cancel my previous post.
It goes at line 132 (of tpl_main_page.php):
Thanks!PHP Code:.... * prepares and displays center column
*
*/
require($body_code); ?>
<!--additional content below featured products-->
<?php if ($this_is_home_page)
{ ?>
YOUR TEXT OR CODE
<?php } ?>
<!-- eof additional content below featured -->
<?php
if (SHOW_BANNERS_GROUP_SET4 != ......
R
Will this work even if the featured products is not currently displayed?
This is exactly almost what I want !
I have a bilingual website, how could I add a user defined box here, instead of just having content ? I can set up the box, I just don't know how to call it.
Thank you !
Please, could someone help me out with this ?
Thanks in advance![]()