Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-12-23 13:06:57

tjallen
New Member
Registered: 2007-02-12
Posts: 8

Reserved Terms

Is there a comprehensive list of reserved terms in Textpattern. I had a section and a page named “media” which suddenly quit working. I guessed the problem. I changed the names of the page and section and everything worked again. So I’ve been looking in the tag reference and docs, but I cannot find a comprehensive list of reserved terms. I found “Avoid using” lists for sections, but the term “media” was not included. Maybe an update of the documentation is needed? Thanks, tja

Offline

#2 2014-12-23 13:11:50

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Reserved Terms

Media should not, as far as I know, be a reserved word for custom fields, sections or page templates. There may have been a gremlin in your system..

Offline

#3 2014-12-23 20:42:09

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Reserved Terms

Do you also have an actual directory named ‘media’?

Offline

#4 2015-01-26 08:21:24

tjallen
New Member
Registered: 2007-02-12
Posts: 8

Re: Reserved Terms

Els, Thank-you. That was the answer. Textpattern URLs will link to a named directory rather than a section of the same name. I had a directory named “media” and a section named “media”. The url led to the directory rather than the section.

Offline

#5 2015-01-26 13:22:33

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Reserved Terms

Just added that to the docs. Native English speakers are invited to improve on my mumbling:

Section names already assigned to directories (and of course vice versa) will not work either.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB