entry properties & preview_iframe.tpl

Skinning and designing Serendipity (CSS, HTML, Smarty)
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: entry properties & preview_iframe.tpl

Post 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
=Don=
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: entry properties & preview_iframe.tpl

Post 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}">
...
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: entry properties & preview_iframe.tpl

Post by Don Chambers »

You are correct - and beat me to that correction!!! :wink:
=Don=
Post Reply