Unkown Field Error
3 posts by 2 authors in: Forums > CMS Builder
Last Post: August 20, 2010 (RSS)
By JLynne77 - August 20, 2010 - edited: August 20, 2010
getRecords(phone_directory): Unknown field 'title' in filenameFields or titleField options!
I'm receiving this error after attempting to add a record, and then when attempting to view the section editor after that. I have to delete the entire section editor and start over.
Details:
-New install of v.2.05
-Added a new multi record menu item, but not a pre-formatted one.
-Deleted existing 'title' and 'content' fields. Have also attempted renaming those fields to what I need.
-Added new fields to fill in those I need. Three textboxes and two checkboxes are the final format for a record. No special characters in the field names. Used quick add.
-Can access section editor before any records are entered.
-Add a record. A record consists of a name, phone number, job position, and checking off if this person is either executive or staff. Format for Name, Phone Number, and Position fields is:
"Name W. Initial", "123-456-7890 Ext. 000", "Position"
-Receive error.
-Section editor list in Admin area shows one record exists.
-Attempt to access section editor to delete bad record, but receive error.
I have attempted deleting and recreating this particular section editor several times now. I have tried deleting the existing fields and creating brand new ones. I have tried modifying the existing fields to fit what I need. I have also tried removing 'title' and 'content' from the viewing, sort and search areas of the section editor details. All with the same results.
Any thoughts? Is more information needed?
Thanks in advance for any help.
-----
~Jessica Sullivan, Crystal Realm Designs.
~Jessica Sullivan, Crystal Realm Designs.
Re: [Duches77] Unkown Field Error
By Donna - August 20, 2010
Hi Duches77!
It looks like you removed the title field, but didn't remove it from the filenameField or titleField. You'll find those in the top section of the section editor. To find them, try this:
In your section editor, modify the section giving you the error (in this case, it looks like the phone_directory section.)
At the top of the page, under "General", look for "ListPage Fields". Make sure "title" isn't in there.
Then, click Viewer URLs, and look for "Filename Fields". Make sure "title" isn't there either.
What's happening here is that CMS Builder is attempting to display the title field in other places -- in the URL of your detail pages, and on the page where you add new content for example. So if you delete the title field, it doesn't know what to show there and is going to give you an error. This just means that you need to make sure you remove any other references to the title field.
Let me know if that works for you. :)
It looks like you removed the title field, but didn't remove it from the filenameField or titleField. You'll find those in the top section of the section editor. To find them, try this:
In your section editor, modify the section giving you the error (in this case, it looks like the phone_directory section.)
At the top of the page, under "General", look for "ListPage Fields". Make sure "title" isn't in there.
Then, click Viewer URLs, and look for "Filename Fields". Make sure "title" isn't there either.
What's happening here is that CMS Builder is attempting to display the title field in other places -- in the URL of your detail pages, and on the page where you add new content for example. So if you delete the title field, it doesn't know what to show there and is going to give you an error. This just means that you need to make sure you remove any other references to the title field.
Let me know if that works for you. :)
Donna
--
support@interactivetools.com
--
support@interactivetools.com
Re: [Donna] Unkown Field Error
By JLynne77 - August 20, 2010
Aha... it was the Viewer setting I missed. I got the one in General. It's working now.
Thank you very much!
Thank you very much!
-----
~Jessica Sullivan, Crystal Realm Designs.
~Jessica Sullivan, Crystal Realm Designs.