| Author |
|
mario2710 Newbie

Joined: 17 September 2009
Netherlands Posts: 3
|
| Posted: 22 September 2009 at 12:47am | IP Logged
|
|
|
Installed the cms and when changing the cms document which came with the package I get these errors: Document name is required (although a document name is present) and Document Content is required (although content is present). Same goes when creating an new document: document name and content is entered, same errors.
|
Back to Top  |
|
| |
Hooded SOOP Admins


Joined: 09 April 2004
Canada Posts: 2118
|
| Posted: 22 September 2009 at 3:28am | IP Logged
|
|
|
I'm posting a fixed version of the file here.
I will place it in the downloads as well in a couple days with a small patch.
mgmt_documentsm.zip
This file has been updated withthe change mentioned below.
__________________ The worlds worst speller. Thats why I bought ieSpell.
Now I just got to remember to use it [IMG]smileys/smiley18.gif" />
|
Back to Top  |
|
| |
mario2710 Newbie

Joined: 17 September 2009
Netherlands Posts: 3
|
| Posted: 22 September 2009 at 4:01am | IP Logged
|
|
|
The errors are partially fixed.
Regarding editing the present document: changes are saved, however I tried to center a sentence with Tinymce and on the frontpage it displays:
p align="center">Welcome to Soop Portal Phoenix!
Tried to create a new document. When saving it gives me a validation error. Also the save button gets disabled then.
|
Back to Top  |
|
| |
Hooded SOOP Admins


Joined: 09 April 2004
Canada Posts: 2118
|
| Posted: 22 September 2009 at 4:06am | IP Logged
|
|
|
Hmm
OK I'll take a deeper look into where thats coming from.
__________________ The worlds worst speller. Thats why I bought ieSpell.
Now I just got to remember to use it [IMG]smileys/smiley18.gif" />
|
Back to Top  |
|
| |
INSA Newbie

Joined: 22 September 2009
Croatia Posts: 7
|
| Posted: 22 September 2009 at 8:09am | IP Logged
|
|
|
I have the same error.
|
Back to Top  |
|
| |
Hooded SOOP Admins


Joined: 09 April 2004
Canada Posts: 2118
|
| Posted: 22 September 2009 at 9:06am | IP Logged
|
|
|
OK this one tokk a little more that a couple head scratchs
Open the file mgmt_documentsm.asp in an editor.
Scroll down to line 302
Replace Code if len(cor.io.f("page_content"))<=100 With Code if len(cor.io.f_rtf("page_content"))<=100 And that shold be it.
__________________ The worlds worst speller. Thats why I bought ieSpell.
Now I just got to remember to use it [IMG]smileys/smiley18.gif" />
|
Back to Top  |
|
| |
INSA Newbie

Joined: 22 September 2009
Croatia Posts: 7
|
| Posted: 22 September 2009 at 11:03am | IP Logged
|
|
|
Now i cant save edited or new made CMS document. When i click save changes nothing happens.
|
Back to Top  |
|
| |
Hooded SOOP Admins


Joined: 09 April 2004
Canada Posts: 2118
|
| Posted: 22 September 2009 at 11:08am | IP Logged
|
|
|
Please download the file again I updated it.
__________________ The worlds worst speller. Thats why I bought ieSpell.
Now I just got to remember to use it [IMG]smileys/smiley18.gif" />
|
Back to Top  |
|
| |
INSA Newbie

Joined: 22 September 2009
Croatia Posts: 7
|
| Posted: 22 September 2009 at 11:16am | IP Logged
|
|
|
Now its working properly :D, only to note if you don't write allot of text and click Save changes you will get validation error and even if you write more text after error you will not be able to save and you must reload it again.
|
Back to Top  |
|
| |
Hooded SOOP Admins


Joined: 09 April 2004
Canada Posts: 2118
|
| Posted: 22 September 2009 at 11:29am | IP Logged
|
|
|
Takes a minium of 100 characters to validate a document.
__________________ The worlds worst speller. Thats why I bought ieSpell.
Now I just got to remember to use it [IMG]smileys/smiley18.gif" />
|
Back to Top  |
|
| |
cziv Super Dedicated Socialist

cziv the title-less!
Joined: 17 May 2004
Greece Posts: 1322
|
| Posted: 22 September 2009 at 11:36am | IP Logged
|
|
|
@Hooded
What the guy is trying to say is that if you fail to validate due to short text, then you can't continue.
You must refresh.
|
Back to Top  |
|
| |
Hooded SOOP Admins


Joined: 09 April 2004
Canada Posts: 2118
|
| Posted: 22 September 2009 at 11:50am | IP Logged
|
|
|
mine is not working like that and it's the same file I just uploaded.
If there is an error it should recover the save button from validating...
Make sure you've dled the latest link here in the top post.
__________________ The worlds worst speller. Thats why I bought ieSpell.
Now I just got to remember to use it [IMG]smileys/smiley18.gif" />
|
Back to Top  |
|
| |
cziv Super Dedicated Socialist

cziv the title-less!
Joined: 17 May 2004
Greece Posts: 1322
|
| Posted: 22 September 2009 at 11:55am | IP Logged
|
|
|
I have the latest. The "Validating ..." button stays forever like that.
If you write more text, you can't save.
You must start again.
|
Back to Top  |
|
| |
INSA Newbie

Joined: 22 September 2009
Croatia Posts: 7
|
| Posted: 22 September 2009 at 12:03pm | IP Logged
|
|
|
Im using latest version too with the new file you posted and its a same problem.
|
Back to Top  |
|
| |
mario2710 Newbie

Joined: 17 September 2009
Netherlands Posts: 3
|
| Posted: 23 September 2009 at 12:39am | IP Logged
|
|
|
another problem is that alignment doesn't work, tried to center the text, but after saving the text still shows left.
Is it a problem to lower the value of 100 being the minimum set of text so shorter texts can be entered?? If I set it to 10 then there's no problem entering and saving shorter texts
|
Back to Top  |
|
| |
Hooded SOOP Admins


Joined: 09 April 2004
Canada Posts: 2118
|
| Posted: 23 September 2009 at 2:55am | IP Logged
|
|
|
The reason I choose 100 is becasue it's a Document not a post.
You can shorten it to anything you like
__________________ The worlds worst speller. Thats why I bought ieSpell.
Now I just got to remember to use it [IMG]smileys/smiley18.gif" />
|
Back to Top  |
|
| |
arforth Groupie

Joined: 01 September 2005
Canada Posts: 53
|
| Posted: 10 October 2009 at 2:09pm | IP Logged
|
|
|
Quote: Hooded
OK this one tokk a little more that a couple head scratchs
Open the file mgmt_documentsm.asp in an editor.
Scroll down to line 302
Replace Code if len(cor.io.f("page_content"))<=100 With Code if len(cor.io.f_rtf("page_content"))<=100 And that shold be it.
Is this the same code we need to change to have the min characters lower??
|
Back to Top  |
|
| |
ph4nt0m SOOP Admins


Joined: 03 August 2005
United Kingdom Posts: 711
|
| Posted: 10 October 2009 at 4:18pm | IP Logged
|
|
|
Yes it is, but try to remember that it counts html characters, so <p> </p> would be classed as 8 characters
__________________ "Microsoft Products are Generally Bug Free"
-- Bill Gates
|
Back to Top  |
|
| |
arforth Groupie

Joined: 01 September 2005
Canada Posts: 53
|
| Posted: 10 October 2009 at 5:01pm | IP Logged
|
|
|
great thanks, works awsome.
is there a way to point a menu item or a link to a cms document?
|
Back to Top  |
|
| |
Joe R Newbie

Joined: 18 March 2006
United States Posts: 1
|
| Posted: 06 November 2009 at 1:31pm | IP Logged
|
|
|
Quote: mario2710 another problem is that alignment doesn't work, tried to center the text, but after saving the text still shows left.
I think if you put in a paragraph break before and after the area of text you want to center..that the center alignment tool will then work and stick to center that area of text for you.
|
Back to Top  |
|
| |