close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

UPDATING issue within the admin_cms section of Power CMS

Thread began 11/29/2011 7:52 am by Rune Brynestad | Last modified 12/08/2011 1:37 pm by Rune Brynestad | 2134 views | 9 replies |

Rune Brynestad

UPDATING issue within the admin_cms section of Power CMS

After making a simple change on a selected page, I clicked the UPDATE button to update the site with the new content. Instead, I received the following message in a call-out box right above the Content Location field.

Message = "This field accepts alphanumeric characters only." See attached picture. The page will not complete the update to the site.

As you can see from the picture I get the message because I'm using the norwegian letter å in the content location field. Sometimes the user need to use letters like this, so I need to change the validation rule. How and where do I change it?

Regards
Rune

Sign in to reply to this post

Jason ByrnesWebAssist

in the js/editable_select.js file, change line 79:

dest.className="selectBoxInput validate['required','alphanum']";




to:

dest.className="selectBoxInput validate['required']";
Sign in to reply to this post

Rune Brynestad

What about Power Store 4.5 ?

Thanks. It works perfect in Power CMS Builder.
However, I have the same problem in the CMS Section of Power Store 4.5.
I tryed the same approach there, but it did not work.
How do I solve this problem in Powerstore 4.5 ?

Thanks again.

Regards
Rune

Sign in to reply to this post

Jason ByrnesWebAssist

It's the same fix in power store.

make sure to clear your browsers cache, it may not be working because the script has been cached by the browser.

Sign in to reply to this post

Rune Brynestad

Yes, it was the browser cache.
Works perfect now.

Thanks.

Regards
Rune

Sign in to reply to this post

Rune Brynestad

Same problem for the Add New Content Location

Sorry to bother you again with this, but I have exactly the same problem with the Add New Content Location. See attached picture.

Regards
Rune

Sign in to reply to this post

Jason ByrnesWebAssist

in the admin_cms/contents_insert.php page, change:
<input type="text" name="ContentGroup" id="ContentGroup" class="validate['required','alphanum']" /><br />

to:
<input type="text" name="ContentGroup" id="ContentGroup" class="validate['required']" /><br />

Sign in to reply to this post

Rune Brynestad

Sorry, I could not find this line in the admin_cms/contents_insert.php page.

The one that is closest is

<input type="text" name="ContentRefID" id="ContentRefID" value="<?php echo((isset($_POST['ContentRefID']))?$_POST['ContentRefID']:"") ?>" class="validate['required','alphanum']" />

which i changed to

<input type="text" name="ContentRefID" id="ContentRefID" value="<?php echo((isset($_POST['ContentRefID']))?$_POST['ContentRefID']:"") ?>" class="validate['required']" />

The change made no difference.

I'm attaching a copy of my admin_cms/contents_insert.php file

Regards
Rune

Attached Files
contents_insert.zip
Sign in to reply to this post

Jason ByrnesWebAssist

OK, on the admin_cms/pages.php file, change:
<input type="text" name="ContentGroup" id="ContentGroup" class="validate['required','alphanum']" />

to:
<input type="text" name="ContentGroup" id="ContentGroup" class="validate['required']" />

Sign in to reply to this post

Rune Brynestad

Perfect.

Thanks again.

Regards
Rune

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...