2011-03-02, 16:49:41
Thanks for the reply Chris. Hmmm, apologies. I should have included the code I insert in the component.
It's this:
It's pretty straight-forward.
I found this in the components.xml file:
When I check the source while the component doesn't show up, I find this there:
OK, this is interesting. I just removed the exec-php plugin, and the box disappears from all pages, whether I worked on the content or not.
It's this:
Code:
<div class="sidebar-right">
<p><a href="http://www.f1grandprixtours.com/subscribe/"><img src="http://localhost/f1grandprixtours/theme/f1gp/images/subscription-box.png" alt="Subscribe" /></a></p>
</div>
It's pretty straight-forward.
I found this in the components.xml file:
Code:
<item><title><![CDATA[subscribe-sidebar]]></title><slug>subscribe-sidebar</slug><value><![CDATA[<div class="sidebar-right">
<p><a href="http://www.f1grandprixtours.com/subscribe/"><img src="http://localhost/f1grandprixtours/theme/f1gp/images/subscription-box.png" alt="Subscribe" /></a></p>
</div>]]></value></item>
When I check the source while the component doesn't show up, I find this there:
Code:
<?php get_component('subscribe-sidebar'); ?>
OK, this is interesting. I just removed the exec-php plugin, and the box disappears from all pages, whether I worked on the content or not.