additional_themes templates updated

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

additional_themes templates updated

Post by Timbalu » Sat Oct 26, 2013 8:09 pm

Due to the Serendipity 1.7 Series and up running Smarty 3, we have to be more precise in var naming situations. Most of that was already fixed in a very early alpha state 3 years ago in all serendipity core template files, but, in this case, was accidentally forgotten to be fixed in additional_themes templates.

We are sorry for this!

This just now came up these days, when trying to access the entries_summary.tpl, by /archive → "show headlines" links or via eg. /archives/2013/03/summary.html or /archives/2013/03/C3/summary.html.
The needed change is very easy (without -/+):

Code: Select all

-    {foreach from=$entries item="entries"}
-        {foreach from=$entries.entries item="entry"} 

+    {foreach from=$entries item="sentries"}
+        {foreach from=$sentries.entries item="entry"} 
We had to update several additional_themes entries_summary.tpl files. If you are affected by this, please change the file manually or load a fresh copy tomorrow via Spartacus.

These are the themes by their directory name, which in most cases is the same as on Spartacus!
  • GreenMile
  • Sagittarius-A
  • andreas06
  • andreas08
  • axcur
  • bex01
  • greenway
  • i3theme
  • kamouflage
  • mimbo
  • mo3
  • one_true_layout
  • pixel
  • plus9
  • splat
  • truth
  • xkur
If using a copy template please go the manual way.

Note: Several other themes where updated over the time because of new Smarty issues or other Serendipity bug fixes. Please make sure your copy template is up to date.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
garvinhicking
Core Developer
Posts: 30014
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: additional_themes templates updated

Post by garvinhicking » Tue Oct 29, 2013 3:46 pm

Good catch, thanks!
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

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

Re: additional_themes templates updated

Post by Don Chambers » Tue Oct 29, 2013 4:22 pm

I believe the template used for the s9y blog also needs to be updated.

Post Reply