Created a Property (Create Account Panel/Profile Property). Added Define in global.php, which by the way is NOT where the Admin Panel says it is (Quote: "Reminder: After you create a new property label above (such as _MYINT), you must create a define in 'config/languages/eng/global.php' to provide a display string for the new property label. For _MYINT, it could be: define('_MYINT', 'My integer');), but in modules/Profile/pnland/eng/global.php, or at least I put the entry there and it seems to work.
The Property appears in the Account Profile - Personal Info, so the Property has been saved (I see it in the Table users_property)
Then I made an entry into this new Property (Edit - Personal Info). Click OK, and..... nothing.
How do I get it to store/save a value? It looks like it should be stored in the user_data Table?, but when I looked at this Table, it was empty. I guess I could make an entry into this Table manually, but don't want to do it that way.... messy....
Taking this a step further, is it possible to use an Admin Account to change a value in a Users Profile?
As always, I could be missing something obvious?...
Show your support for Zikula! Sign up at Github account and watch the Core project!
- Guite responded to »Convert modules to 'Gettext'« 11:37 PM
- slartibardfast responded to »Zikula: Not Ready for Prime Time?« 09:42 AM
- krator responded to »Multiple Errors Migrating Dizkus 3,1 to Dizkus 3.2« 18. Jun
- trichers created topic »Mobile Theme html5 and link with tel:« 18. Jun
- incasas responded to »Migrating Postcalendar 6.2 to Postcalendar 8.0« 17. Jun
- krator responded to »Error converting RATINGS and WEBLINKS« 16. Jun
Some more info that may (or may not ) be useful:
None of the default Profile entries:
Public e-mail address
Seem to be saved when trying to change any. Then I noticed an error flagged in IE (Bottom Right of Browser Status Bar) "Done, but with errors on page".
Error: 'Event' is undefined
Error: 'Validation' is undefined
Which I presume indicates a problem, and may be something to do with why the function (editing the Profile) is not working?
But I am out of my depth here. What could this be indicating?
edited by: slartibardfast, Mar 26, 2009 - 06:53 PM
Well, banging the rocks together and persistence does pay off sometimes. Looking in the System Settings, I noticed that nothing had been selected for the module for managing the User Profile. Set this to Profile, and editing now works.
Still get the IE errors (as above) but they do not prevent the Personal Info from being edited, so whatever it is, it is not part of this problem.
It works, so it works, and am grateful for that...