Pages become inactive on save.

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
User avatar
Dave
Forum Members
Forum Members
Posts: 19
Joined: Fri Jul 07, 2006 11:59 am

Pages become inactive on save.

Post 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?
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

Re: Pages become inactive on save.

Post 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.
User avatar
Dave
Forum Members
Forum Members
Posts: 19
Joined: Fri Jul 07, 2006 11:59 am

Re: Pages become inactive on save.

Post 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.
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Pages become inactive on save.

Post 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 :P

Thanks for all great job already done.
Regards
blast2007
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

[Solved?] Re: Pages become inactive on save.

Post 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
Last edited by blast2007 on Thu Oct 18, 2007 4:43 pm, edited 1 time in total.
User avatar
Dave
Forum Members
Forum Members
Posts: 19
Joined: Fri Jul 07, 2006 11:59 am

Re: Pages become inactive on save.

Post 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.
User avatar
Dave
Forum Members
Forum Members
Posts: 19
Joined: Fri Jul 07, 2006 11:59 am

Re: Pages become inactive on save.

Post by Dave »

This seems like a bug in 1.2. Should it be reported somewhere?
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: Pages become inactive on save.

Post by tsw »

core bugs should be reported in bug tracker (http://dev.cmsmadesimple.org/tracker/?group_id=6)
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Pages become inactive on save.

Post 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)
Last edited by blast2007 on Tue Oct 23, 2007 4:26 pm, edited 1 time in total.
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Re: Pages become inactive on save.

Post 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.
User avatar
Dave
Forum Members
Forum Members
Posts: 19
Joined: Fri Jul 07, 2006 11:59 am

Re: Pages become inactive on save.

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Pages become inactive on save.

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Pages become inactive on save.

Post by blast2007 »

Thank a lot calguy!
Regards
blast2007
User avatar
Dave
Forum Members
Forum Members
Posts: 19
Joined: Fri Jul 07, 2006 11:59 am

Re: Pages become inactive on save.

Post 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
Image

2. I open the page to edit it and now Inactive and Show in Menu are disabled (but checked), make edits and save.
Image

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
Image

I would think default behavior should allow them to make pages they own active/inactive.

Thanks again for your work,

Dave
User avatar
blast2007
Power Poster
Power Poster
Posts: 508
Joined: Wed Aug 01, 2007 5:36 pm

Re: Pages become inactive on save.

Post 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
Post Reply

Return to “CMSMS Core”