not saving updates

5 posts by 3 authors in: Forums > CMS Builder
Last Post: December 19, 2011   (RSS)

By vyskocil - December 15, 2011

updated from 1.3 to 2.7 and having some issues. There is one page that will not save an update so the page cannot be changed. Other pages seem to work OK so I am not sure where to start looking.

This is the setup of the page that I cannot edit Admin > [url "http://shetek.org/cmsAdmin/admin.php?menu=database&action=listTables"]Section Editors[/#0066cc][/url] > [url "http://shetek.org/cmsAdmin/admin.php?menu=database&action=editTable&tableName=summer_employment"]summer employment[/#800080][/url] General Viewer Urls Searching Sorting Advanced
Section Name Indent on menubar Table Name cms_ Database table name used by PHP and MySQL Section Type Multi Record
ListPage Fields
These fields are displayed on the [url "http://shetek.org/cmsAdmin/admin.php?menu=summer_employment"]editor list page[/#800080][/url] (beside modify and erase)

example: field1, field2 List Page Url example: /news/newsList.php Detail Page Url example: /news/newsDetail.php Preview Page Url leave blank to use Detail Page Url These urls are used when creating links to viewers for this section.
Update the urls and filenames to match the viewers you create.

Filename Fields
example: field1, field2
These fields are added to viewer links to create more descriptive urls for users
and search engines. The first field value that isn't blank is used.
Example Url: viewer.php?record_title_goes_here-123
Search Fields title, content


This section lets you control what search options are available on the [url "http://shetek.org/cmsAdmin/admin.php?menu=summer_employment"]editor list page[/#800080][/url]. Disabling Search If you don't want any search options displayed just leave the box above blank.

Simple Search For basic search functionality enter a list of comma separated fieldnames on the first line only. The editor list will display a single keyword search field that allows your users to search on those fields. Example: title, content

Advanced Search For each search field you want to appear enter the following: Label|FieldList|searchType

label - This is displayed before the search field, such as: Category, Hidden, etc
fieldlist - This is the fieldname or fieldnames (comma separated) to be searched. If there are multiple fieldnames a text field will be displayed. If there is only one fieldname and it is a list or checkbox field a dropdown list of options will be displayed. (Tip: enter _all_ for all fields).
searchType - This can be one of: match, keyword, prefix, query, min, max, year, month or day. See the docs for more details on search types. Example:

Keyword|title,content|query
Status|product_status|match
Hidden|hidden|match
Full Name|createdBy.fullname (special case for searching by record owner)

This example search might look something like this:

Keyword Status <select> Active On Sale Discontinued Checkbox <select> Checked Unchecked


Tip: Use your own fieldnames instead of the examples. Order By
These sorting settings are used for both the [url "http://shetek.org/cmsAdmin/admin.php?menu=summer_employment"]editor[/#800080][/url] and the viewers (although viewers can override them). Here are some common sorting values that can be used here and in the viewers. Use your own fieldnames instead of the examples.
title, author sort by title, then author

date DESC, title sort by date in descending order (newest first), then by title

price+0, date sort by price numerically, then by date (oldest first)

featured DESC, date DESC sort featured (checkbox field) records first, then order by date (newest first)

RAND( ) sort in random order (for viewers only)

Tip: The "Order By" field is actually just the standard MySQL ORDER BY clause of a SELECT statement. So if you're familiar with MySQL you can enter any ORDER BY clause you want here. Otherwise, congratulations! You just learned some MySQL! Max Records Max records for this section (leave blank for unlimited) Max records per user (leave blank for unlimited) Disable Add Don't allow adding records Disable View Don't allow viewing of records through "view" menu Disable Modify Don't allow modifying records Disable Erase Don't allow removing records Disable Preview Don't allow previewing records Disabled Accounts Viewers: Hide records that are "Created By" a user who is: deleted, disabled, or expired Hide Menu Don't show this section on the menu bar Required Plugins Example: plugin1.php, plugin2.php Drag Field Label Field Type Field Name Action
none text field text box wysiwyg date/time list checkbox upload separator [img]http://shetek.org/cmsAdmin/lib/images/drag.gif[/img]
Record Number none
num
system field [img]http://shetek.org/cmsAdmin/lib/images/drag.gif[/img]
Created none
createdDate
system field [img]http://shetek.org/cmsAdmin/lib/images/drag.gif[/img]
Created By none
createdByUserNum
system field [img]http://shetek.org/cmsAdmin/lib/images/drag.gif[/img]
Last Updated none
updatedDate
system field [img]http://shetek.org/cmsAdmin/lib/images/drag.gif[/img]
Last Updated By none
updatedByUserNum
system field [img]http://shetek.org/cmsAdmin/lib/images/drag.gif[/img]
Order none
dragSortOrder
modify erase [img]http://shetek.org/cmsAdmin/lib/images/drag.gif[/img]
Title textfield
title
modify erase [img]http://shetek.org/cmsAdmin/lib/images/drag.gif[/img]
Content wysiwyg
content
[url "http://shetek.org/cmsAdmin/admin.php?menu=database&action=editTable&tableName=summer_employment#"]modify[/#0066cc][/url] [url "http://shetek.org/cmsAdmin/admin.php?menu=database&action=editTable&tableName=summer_employment#"]erase[/#0066cc][/url] Any ideas ?

Re: [vyskocil] not saving updates

By gkornbluth - December 16, 2011

Hi vyskocil,

Just a few quick ideas,

Have you set any advanced options (check boxes) for that editor in the advanced tab by mistake?

Have you set the user permission for that user in the accounts editor for that specific page to something other than "editor"?

Start there and let us know.

Jerry Kornbluth
The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

Re: [gkornbluth] not saving updates

By vyskocil - December 19, 2011

I did not change any settings. When I click on advanced settings nothing happens.
What I did find is that when I click on the HTML icon it opens the html window but there is no code there? This is a mulit-record section and I was able to add another section and save it. For that new recorde I can see the HTML. but I cannot control any of the formatting with the WYSIWYG even though the content is set up that way.

Re: [vyskocil] not saving updates

By Jason - December 19, 2011

Hi,

So when you modify a record and click "SAVE", the information you entered is lost. Is that right? Does it happen everywhere or just in one section? Does it happen when creating new records?

If you could fill out a [url http://www.interactivetools.com/support]2nd Level Support Request[/url] with that information, we can take a look for you.

Thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/