Gary,

Thanks for this, i had got most of what you outlined already, did not know details about the dmPermissionBarnacle table.

I replace the _javascript_ popup with a link to do the same call to the edit.cfm.

<a href="">Edit Profile</a>

This took me to the the normal admin logon screen. That is when i asked my question, thought that someone would have been there before.

Chris.

Gary Menzel wrote:
Hello Chris,

It is possible to do what you want with FarCry.  Although, I have not tried
doing any of this as I have been waiting for 2.1 to allow me to override
dmProfile (so will be getting into that once our new site is launched).

The login process sets a flag in the Session scope called firstLogin (this
happens when there is an empty dmProfile in the database for the user).

You can then use any mechanism you like to obtain the dmProfile information
from your user.

The mimic the same functionality as is found in the Admin console, have a
look at farcry_core/admin/home.cfm.  THere are a bout three lines of
_javascript_ there to do the popup (inluding an edit.cfm page to edit the
profile, of course - which just calls a Navajo tag to edit the object).

This is a generic object editing page.

This may be where you are encountering "permission" problems and may be a
"bug" that Daemon will have to look into.

Having said that, I could find nothing in the permissions tables that
implied that dmProfile had any permissioning on it at all.  The
dmPermissionBarnacle table is the hookup between an object and a permission
and (in my system at home) there were no dmProfile entries.

This will probably be one for the guys when they are all back after the
Christmas Break.

Regards,
Gary Menzel



  
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris
Kent
Sent: Wednesday, 24 December 2003 6:17 AM
To: FarCry Developers
Subject: [farcry-dev] New Registration Procedure


Hi,

I am creating a new user regsitration procedure for website users
(visitors not admin) and would like to use dmProfile.

What I am trying to do is create the dmUser record when the new user
first registers, then following the Farcry new user procedure I want to
execute the firstlogin process to allow the user to edit their dmProfile
record using Farcry edit.cfm logic.

This does not work as the user does not have permissions to do this,
they need "admin" I am guessing?

Does anyone have a solution? Or should I my own form to amend dmProfile?
I do hope it is possible through Farcry.

Thanks in advance,
Chris.

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004
    



  
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to