Well, for example i had changed some dmProfile property label text... anyways, digging around the last day was a good tutorial an sich to further in depth go through the structure of Farcry.
My main concern is that if i want to use a custom behaviour like a permission set or sqlwhere in dmProfile.cfm (that is in plugin/ customadmin/customlists/), Farcry used that nicely but after i have done an edit in automatically goes back to using the core dmProfile files. So when a user is logged in and only got permissions to see his / her own profile and then after edit is redirected to use the core files, then the custom behaviour is gone. As you stated yourself, and as i indeed experienced, you can't just rename the dmProfile and farUser files so that this problem is eliminated. Because in the docs you read you can extend core files you would think you could do it the way i tried to. I now put everything back to English label text and better go for a total translation so others also can use it. And the extra properties will go in a seperate type which can be used all together with dmProfile and farUser in one webskin. I just have to find my way with certain behaviour and structure. Of course if you have any additional insights or advice, yes please. Thanks. On Apr 1, 12:24 am, Blair McKenzie <[email protected]> wrote: > What changes are you trying to make? > > On Tue, Mar 31, 2009 at 11:14 PM, Marco van den Oever < > > [email protected]> wrote: > > > I am using the edit form in webtop, although i extended farUser and > > dmProfile in: > > > plugin/packages/types > > > i still saw that not all changes where displayed, only the new added > > fields to farUser and dmProfile where used, and the changes to > > existing fields (translated some label and hints text) where not > > reflected. > > > So then i thought that was because with that edit link you are using > > the core files instead of the extended and changed files in plugin/ > > packages/types. > > > Then i further thought about if this is so, i also can't set my own > > permission set to dmProfile.cfm because again that edit link uses the > > core files. > > > Which results in that i have to change the core files which can be > > overwritten in any update in the future. > > > That was the problem. Or am i missing the picture here? Thinking to > > difficult? > > > Thanks. > > > On Mar 31, 6:22 am, Blair McKenzie <[email protected]> wrote: > > > You won't get anywhere by changing their names. FarCry refers to both > > > farUser and dmProfile by name. But you can extend them to add functions > > if > > > you need to. > > > > If you are trying to expose the dmProfile so that public users can edit > > it, > > > then you should be writing your own webskin. While the core edit form may > > > work, it was designed to be used in the webtop. > > > > On Tue, Mar 31, 2009 at 11:11 AM, Marco van den Oever < > > > > [email protected]> wrote: > > > > > Which means new types to deploy etc, I'm now at the webtop login > > > > checking how i can make farcry login based on the new types for user > > > > and profile tables, it's still using the farUser table, so if you hear > > > > me saying stuff like this, am i on the right track? > > > > > On Mar 31, 2:09 am, Marco van den Oever <[email protected]> > > > > wrote: > > > > > Is it right you mean copying all the farUser and dmProfile files and > > > > > change the names? That means every reference in that files also have > > > > > to be changed? Just to be sure? > > > > > > On Mar 31, 12:29 am, Blair McKenzie <[email protected]> wrote: > > > > > > > Can't you just make your own copy of the files involved and change > > the > > > > > > names? > > > > > > > Blair > > > > > > > On Tue, Mar 31, 2009 at 8:13 AM, Marco van den Oever < > > > > > > > [email protected]> wrote: > > > > > > > > I have a "Profile" link in a webtop xml: > > > > > > > > /conjuror/invocation.cfm? > > > typename=dmProfile&method=edit&ref=typeadmin&module=customlists/ > > > > > > > dmProfile.cfm > > > > > > > > I want to link like this because i want users to link directly to > > the > > > > > > > dmProfile edit page, created a custom edit and provided the > > current > > > > > > > user objectid by session to set up a custom stObj based on > > session > > > > > > > user objectid. > > > > > > > > The problem is that i want to set a permissionset for the > > dmProfile > > > > > > > that i have placed in: > > > > > > > > plugin/packages/types and plugin/webskin/dmProfile > > > > > > > > But because i now directly use the above link it seems that i am > > > > using > > > > > > > the core dmProfile files. > > > > > > > > I don't want to change things in core, so any thoughts on how i > > could > > > > > > > change that link so that it still refers to a direct dmProfile > > edit > > > > > > > page but uses the dmProfile files from the plugin instead core? > > > > > > > > Thank you. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
