Board index Themes entry properties & preview_iframe.tpl

Skinning and designing Serendipity (CSS, HTML, Smarty)
User avatar
Don Chambers
Regular
 
Posts: 3576
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA

Postby Don Chambers » Wed Mar 16, 2016 8:08 pm

Timbalu wrote:Fine. Is that placed in entries.tpl only?

Yes - entries.tpl only. No mod to index.tpl or preview_iframe.tpl

User avatar
Timbalu
Regular
 
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Postby Timbalu » Wed Mar 16, 2016 8:25 pm

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/styx/ @ https://github.com/ophian

User avatar
Don Chambers
Regular
 
Posts: 3576
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA

Postby Don Chambers » Wed Mar 16, 2016 8:53 pm

You are correct - and beat me to that correction!!! :wink:

Previous


Return to Themes

Who is online

Users browsing this forum: No registered users and 2 guests