Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-11 15:33:39

tsparks
New Member
Registered: 2008-12-08
Posts: 4

Simpla Theme Comment Problem

Hello, I have just begun using Texpattern and I have installed a theme I found attractive. The Simpla Theme. I was able to correct most of the errors that cropped up when I attempted to install the theme, but one persists:

Tag error: -> Textpattern Notice: Page template default does not contain a txp:article tag on line 504

You can see the error here:
http://sparkshouse.com/text/articles/3/roberto-bolano#comment

It occurs when I try to use the comment page.

Can anyone give me a pointer for where to find the solution to this issue?

Thanks so much!

Tom Sparks
tsparks@gmail.com

Offline

#2 2008-12-11 16:15:54

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Simpla Theme Comment Problem

Tom, this is quite an old theme and a few things have changed within Textpattern since the theme was released. It sounds like you may have found most of them but the one everybody seems to miss is that the current “articles” section used to be called “article”. You can either go into the “Sections” tab and change the section name or a better solution would be to go into the default page template and change the line that says:-

<txp:if_section name=",article">

adding the “s” to “article”.

There are a couple more references in the “default” form template as well.

Last edited by thebombsite (2008-12-11 16:32:26)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#3 2008-12-11 19:23:07

tsparks
New Member
Registered: 2008-12-08
Posts: 4

Re: Simpla Theme Comment Problem

Thank you, Thank you!

All the error messages have been cleared now. I have one remaining problem, when yo click the preview button, it shows a preview but no “submit” button so the comment cannot be submitted. Any ideas?

Once I have clicked preview this is the url displayed:

http://sparkshouse.com/text/articles/3/roberto-bolano#cpreview

..Tom Sparks tsparks@gmail.com

thebombsite wrote:

Tom, this is quite an old theme and a few things have changed within Textpattern since the theme was released. It sounds like you may have found most of them but the one everybody seems to miss is that the current “articles” section used to be called “article”. You can either go into the “Sections” tab and change the section name or a better solution would be to go into the default page template and change the line that says:-

<txp:if_section name=",article">

adding the “s” to “article”.

There are a couple more references in the “default” form template as well.

Offline

#4 2008-12-14 14:32:31

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Simpla Theme Comment Problem

I’ve no idea why that would be happening Tom. It’s all working OK on the demo. I see you have changed themes anyway so I can’t view the problem on your site.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2009-02-19 23:00:05

moncrey
New Member
Registered: 2009-02-19
Posts: 1

Re: Simpla Theme Comment Problem

I have also been getting this identical error.

I solved it by removing dashes ( – ) from section names. ninja-pop-tart becomes ninjapoptart.
Not ideal, but no error.

This is an unfortunate problem. Perhaps underscores work? I have not tried.

Offline

#6 2009-02-20 01:31:22

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Simpla Theme Comment Problem

It should work with hyphens in the section name. If you go here where the demo is located you will see that the about section is actually called about-simpla and works just fine. In fact many of the sections on that site are hyphenated. You aren’t putting a double-hyphen “—” in are you?

Last edited by thebombsite (2009-02-20 01:33:34)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB