Page 2 of 2

Re: entry properties & preview_iframe.tpl

Posted: Wed Mar 16, 2016 7:08 pm
by Don Chambers
Timbalu wrote:Fine. Is that placed in entries.tpl only?
Yes - entries.tpl only. No mod to index.tpl or preview_iframe.tpl

Re: entry properties & preview_iframe.tpl

Posted: Wed Mar 16, 2016 7:25 pm
by Timbalu
But {assign var="entry" value=$entry scope="parent"} is already in...

Code: Select all

{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
{foreach from=$entries item="dategroup"}
    {foreach from=$dategroup.entries item="entry"}
    {assign var="entry" value=$entry scope="parent"}
    <article id="post_{$entry.id}" class="clearfix serendipity_entry{if $dategroup.is_sticky} sticky{/if}">
...

Re: entry properties & preview_iframe.tpl

Posted: Wed Mar 16, 2016 7:53 pm
by Don Chambers
You are correct - and beat me to that correction!!! :wink: