User Account Page Editing Issue

hgreer - September 7, 2007 - 14:39
Project:Membership types and registration modification
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I am using the Membership types and registration modification module. It's a great module, but I've run into a bit of a snag.
If a user is logged in and clicks on My Account, they will be able to see the Pageroute associated with their Membership Type, but if from that interface they try to edit any part of the pageroute nodes and click Submit at the bottom of the page, the changed information is not saved. (They get a message saying that it is saved, but it is not.) The only way to actually create and save the nodes in the pageroute is to have them go to Create Content (if they have not created the nodes yet) or to click on the node itself and then click edit.
I have compared the code of the Submit buttons involved to help isolate the problem--here is the one on the User Account page that does not work--

(This first button doesn't even display on the page)

(This one displays but does not save the node.)

Here is the button when you go directly to the node and click edit, this one works just fine--

In both cases, I have been clicking on the Submit button.

Please advise.

Thanks.

#1

rconstantine - September 7, 2007 - 17:05

I assume you thought you placed screen shots or something in your text. Didn't you notice when you posted that there weren't any?

Anyway, it sounds like you didn't give those users the 'Edit own XYZ' permission where XYZ is the name of the content type. They would be able to create, but not edit the type.

If a user is logged in and clicks on My Account, they will be able to see the Pageroute associated with their Membership Type, but if from that interface they try to edit any part of the pageroute nodes and click Submit at the bottom of the page, the changed information is not saved.

By 'see the Pageroute', I hope you mean that the pages from the route are represented as tabs in their edit screen. There should not be any data from the nodeprofile pages on the account 'view' tab. See the screen shot, then see the next post where I'll continue this message.

AttachmentSize
useraccountview.png 14.3 KB

#2

rconstantine - September 7, 2007 - 17:07

See the screen shot for what the edit tab should look like. Do your screens match mine? They should. Otherwise you've got some of your settings wrong. Did you go through the USAGE section of the README?

AttachmentSize
useracountedit.png 10.48 KB

#3

rconstantine - September 7, 2007 - 17:09

By the way, I truncated the shots. Both continue down with items not needed for this conversation.

#4

rconstantine - October 19, 2007 - 15:53
Status:active» fixed

I have done a rework of this since you were absolutely right. I thought that the issue had been a CCK one, but later realized it was how I was using pageroutes. So the next release will have changes that fix this. I'll need to rework the README though, so it will take me a little bit of time.

#5

fossie - October 23, 2007 - 08:29

Is the dev version working correctly?

#6

rconstantine - October 23, 2007 - 17:09

The new 1.3 and the dev are the same as of today, and they should both be working. Use 1.3. Let me know if something still isn't right.

#7

rconstantine - October 23, 2007 - 17:10

Oh, and don't forget in your pageroute definitions to use "Tabs", not "Buttons".

Please let me know if I have forgotten any documentation on this.

#8

Anonymous - November 12, 2007 - 22:42
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.