I think I fixed my above error by deleting in phpmyadmin 'configZenLightbox'
I have a new question.
How do I add more of the homead's in Banner Manager. Currently on the homepage it has 3 images showing. I would like to show 4 or more images in that location. What I am thinking is when no more will fit, then the next image will start on a new line.
This is what I have tried:
1. In phpmyadmin, I added in the configuration table "Banner Display Groups Home Ad 4 SHOW_BANNERS_GROUP_SETHOMEAD4 homead4 Custom ad 4 for home page 34 ..." Where the 1, 2 and 3 ones are. Looks like it worked as the new one now shows under: Westminster New Template Configuration
2. In banner manager, I added a new banner and gave it the group 'homead4'
3. In Define page editor -> define main page, I added a 4th homead in.
There is a good chance I may not have got the formatting/code correct above, can you please let me know.PHP Code:
<?php
if (SHOW_BANNERS_GROUP_SETHOMEAD1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD1))
{
if ($banner->RecordCount() > 0)
{
echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>';
}
}?>
</div>
</div>
<div class="view view-tenth hm-right">
<div class="hover">
<?php
if (SHOW_BANNERS_GROUP_SETHOMEAD2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD2))
{
if ($banner->RecordCount() > 0)
{
echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>';
}
}?>
</div>
</div>
<div class="view view-tenth hm-right">
<div class="hover">
<?php
if (SHOW_BANNERS_GROUP_SETHOMEAD3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD3))
{
if ($banner->RecordCount() > 0)
{
echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>';
}
}?>
</div>
</div>
<div class="view view-tenth hm-right">
<div class="hover">
<?php
if (SHOW_BANNERS_GROUP_SETHOMEAD4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SETHOMEAD4))
{
if ($banner->RecordCount() > 0)
{
echo zen_display_banner('static', $banner) . '</div><div class="mask"><h2>' . $banner->fields['banners_title'] . '</h2><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) . '" class="info">' . SHOP_NOW . '</a>';
}
}?>
</div>
</div>
</div>
</div>
<br class="clearBoth" />
Currently, this is now giving me 4 banners on my homepage, however the 4th banner is not formatted/spaced correctly on the page.
Attachment 16878
This is what it looks like. Could someone please help?