Page 1 of 2
Pages become inactive on save.
Posted: Thu Oct 18, 2007 12:40 pm
by Dave
I have an education site with about 250 users and just upgraded to 1.2. When an editing user edits a page, the page automatically becomes inactive. They do not have access to making pages active or inactive, they did have access to this setting prior to the upgrade.
I checked the new "Page Defaults" and it is set to active.
Did something change in the permissions that I need to address, I don't want to keep making pages active for 250 users?
Re: Pages become inactive on save.
Posted: Thu Oct 18, 2007 3:48 pm
by WarMace
I hope I understand your problem correctly.
After reading
http://wiki.cmsmadesimple.org/index.php ... ups/Groups
I believe you want to go to the page in particular and go to the Options tab for the page and see if that person is an editor of their own page, if you want certain people to only have access to their own pages.
Re: Pages become inactive on save.
Posted: Thu Oct 18, 2007 3:56 pm
by Dave
They do own their pages and are able to edit, it is just that when they save their edits the page becomes inactive.
Re: Pages become inactive on save.
Posted: Thu Oct 18, 2007 4:30 pm
by blast2007
Hi all, same problem for me here.
After upgrading to 1.2 when an user modify an owned page and hit "apply" button, page become inactive by default.
Any help will be appreciated
Thanks for all great job already done.
Regards
blast2007
[Solved?] Re: Pages become inactive on save.
Posted: Thu Oct 18, 2007 4:41 pm
by blast2007
I've found a solution for this problem.
Just check "Modify Page Structure" flag active on group permission section and problem disappears.
Regards
blast2007
Re: Pages become inactive on save.
Posted: Thu Oct 18, 2007 4:54 pm
by Dave
That works, but gives them the ability to delete pages they do not own. In addition, it makes pages visible when the go to content pages. Not a big deal, but we have some limited ability users and over 1000 pages.
Re: Pages become inactive on save.
Posted: Fri Oct 19, 2007 11:39 am
by Dave
This seems like a bug in 1.2. Should it be reported somewhere?
Re: Pages become inactive on save.
Posted: Fri Oct 19, 2007 2:18 pm
by tsw
Re: Pages become inactive on save.
Posted: Tue Oct 23, 2007 4:20 pm
by blast2007
Hi all,
sorry, but I can't understand if this strange behavior is a bug or a configuration issue.
Anyone could confirm this problem?
Thanks and regards
blast2007
CMS Made Simple 1.2 - PHP 5.1.6-1 - MySQL 5.0.24a - Apache 2.0.55-4 - GNU/linux (kernel 2.6.17-12)
Re: Pages become inactive on save.
Posted: Tue Oct 23, 2007 6:19 pm
by cnymike
I have been experiencing this problem as well since upgrading to 1.2. It is very perplexing. Once a user edits the page, the page options are changed so the page is hidden in the menu and inactive.
Re: Pages become inactive on save.
Posted: Tue Oct 23, 2007 6:29 pm
by Dave
Is more information needed here? What information?
I'm about to try to do a roll back because I'm spending a couple hours a day fixing items not showing up on the web.
This is very frustrating, I've submitted it as a bug and no action has been taken.
The fix suggested above, to give permission to the group to "Modify Page Structure" does resolve this problem. However it does give them the ability to change the order and delete pages they do not own, which is not an acceptable solution.
My group that is affected has the following permissions:
Add Pages
Modify Files
Remove Pages
Use Album
This has worked from 0.13 to present, until the upgrade to 1.2.
Any help is greatly appreciated.
Re: Pages become inactive on save.
Posted: Wed Oct 24, 2007 11:58 pm
by calguy1000
I found it, and fixed it in svn.
This issue also applies to the 'showinmenu' parameter too from what I see.
Anyways, look here for the diff:
http://trac.cmsmadesimple.org/cgi-bin/trac.cgi/changeset/4237
It will tell you what file to change, and what lines to change in that file.
Re: Pages become inactive on save.
Posted: Thu Oct 25, 2007 8:30 am
by blast2007
Thank a lot calguy!
Regards
blast2007
Re: Pages become inactive on save.
Posted: Thu Oct 25, 2007 11:16 am
by Dave
Calguy, thanks for your work but it still is not right. I've applied your diff file but I'm still having problems.
Users have permission to Add Pages, Modify Files, and Use Album
With a user from this group
1. I create a new page, add title ... and submit. The Inactive and Show in Menu appear correctly
2. I open the page to edit it and now Inactive and Show in Menu are disabled (but checked), make edits and save.
3. Open the page to edit again and now Inactive and Show in Menu are disabled (but unchecked), they have now way to reactivate their pages
I would think default behavior should allow them to make pages they own active/inactive.
Thanks again for your work,
Dave
Re: Pages become inactive on save.
Posted: Thu Oct 25, 2007 12:32 pm
by blast2007
Dave wrote:
....
I would think default behavior should allow them to make pages they own active/inactive.
Thanks again for your work,
Dave
Hi Dave,
I want to inform you that (on my site) after applying patch suggested by calguy everything works fine.
Here my user permission settings: Add Pages, Remove Pages, Use Album
Regards
blast2007