Doesn't seem like it as far as I have seen - why are these in there anyway?
![Smile :)](./images/smilies/icon_smile.gif)
YL
Code: Select all
{capture name="foo"}
{serendipity_hookPlugin hook="entries_footer"}
{/capture}
{if $smarty.capture.foo != ''}
{* my conditional smarty code *}
{/if}
Code: Select all
{capture assign='foo'}
{serendipity_hookPlugin hook="entries_footer"}
{/capture}
{if $foo !=''}
....
{/if}
More like boring, rather simple new template coming together.Don Chambers wrote:Exciting new template coming together?
Well, it is better than sitting around doing nothing!yellowled wrote:More like boring, rather simple new template coming together.
Actually, no, it's not. Still does not emit the hook results, even if there are any.yellowled wrote:That's working.
Its not going to emit the results, unless you emit them because the results were captured and assigned to {$foo}.yellowled wrote:Actually, no, it's not. Still does not emit the hook results, even if there are any.
Code: Select all
{capture assign='foo'}
{serendipity_hookPlugin hook="entries_footer"}
{/capture}
{if $foo !=''}
<p>{$foo}</p> {* if you need it as its own element *}
{* your conditional smarty code *}
{/if}