Zen Cart Logo
Forums / General Questions / Can I put some html content on the first page only?

Can I put some html content on the first page only?

Views: 1,999

Results 21 to 25 of 25
17 May 2013, 7:10 PM
#21
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Can I put some html content on the first page only?

How can this be repeated and duplicated, so a different banner gets generated for different categories?

Can you have different banners for different category pages?

17 May 2013, 8:23 PM
#22
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Can I put some html content on the first page only?

Kevin205:

How can this be repeated and duplicated, so a different banner gets generated for different categories?

Can you have different banners for different category pages?

Don't be put off by its title, download this mod and study the readme, it should help you achieve what you are looking to do.

17 May 2013, 8:31 PM
#23
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: Can I put some html content on the first page only?

picandnix:

Don't be put off by its title, download this mod and study the readme, it should help you achieve what you are looking to do.

Which mod is this? Do you mean

<?php
  if ($this_is_home_page && SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
    if ($banner->RecordCount() > 0) {
?>
17 May 2013, 9:21 PM
#25
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: Can I put some html content on the first page only?

I will give it a try. Thanks.