Page 1 of 1

No formatting of Sticky posting extended entry

Posted: Mon Oct 09, 2006 12:38 pm
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

Re: No formatting of Sticky posting extended entry

Posted: Mon Oct 09, 2006 12:51 pm
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

Posted: Mon Oct 09, 2006 12:56 pm
by d_cee
Hi Garvin

I'll email you a link to my development site

Dave

Posted: Mon Oct 09, 2006 1:04 pm
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

Posted: Mon Oct 09, 2006 1:52 pm
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

Posted: Mon Oct 09, 2006 2:47 pm
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

Posted: Mon Oct 09, 2006 3:03 pm
by d_cee
Hi Garvin

sorry I misunderstood :-(

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

thanks as always

Dave