No formatting of Sticky posting extended entry

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

No formatting of Sticky posting extended entry

Post by d_cee »

I've edited the entries.tpl file on a new theme I'm working on and seem to have broken the extended entries display - but only for sticky postings.

If I click on a dated 'continue reading extended entry' everything is fine but if it's a sticky posting 'continue reading extended entry' I just get a page of text - no CSS.

I've pasted my entries.tpl file here http://rafb.net/paste/results/B5vldg56.html
If anybody can figure out what's going wrong I'd be eternally grateful :-)

EDIT: I'm getting this Smarty error
Fatal error: Smarty error: [in smartymarkupplugin:-1914441356 line 5]: syntax error: unclosed tag {foreach} (opened line 5). (Smarty_Compiler.class.php, line 320) in /var/www/vhosts/mydomain.com/subdomains/mysubdomain/httpdocs/bundled-libs/Smarty/libs/Smarty.class.php on line 1095
thanks

Dave
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: No formatting of Sticky posting extended entry

Post by garvinhicking »

Hi!

The first issue really is strange, do you have a link to see this?

About the smarty error: somewhere in your pages you seem to use the smartymarkup plugin and entered some code that starts with {foreach} but does not end with it.

Regards,
Garvin
# 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/
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi Garvin

I'll email you a link to my development site

Dave
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Ah, okay, its your test site. I already checked it. The error of missing CSS is caused by your Smarty Error. so you need to check where the smarty markup plugin is getting "bad" content.

HTH,
Garvin
# 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/
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi Garvin

I've just checked and this is happening no matter what theme I select (including the default) so it's unconnected with my editing.

So it's either a problem with Serendipity 1.1alpha7
or my install

Dave
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi David!

As I told you, the smarty markup plugin and the content of one of your entries or staticpages is causing this :) :)

Simply remove the smarty markup plugin, then the error should go away, if you don't want to wade through your content(s).

Regards,
Garvin
# 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/
d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee »

Hi Garvin

sorry I misunderstood :-(

I've removed the plugin and all is fine now.

thanks as always

Dave
Post Reply