How do I NOT show the category tree in the event type based on the policy group that someone belongs to?
I have my theories but I'd rather here from someone experienced with farcry what they would do. Option1 I'm assuming you can extend the event.cfc which I have already done and wrap some kind of if statement around the cfproperty tag. So I would put this in my local cfc: <cfif groupid=#whatever#> <cfproperty ftseq="11" ftfieldset="Categorisation" ftwizardStep="General Details" name="catEvent" type="longchar" hint="Event categorisation." required="no" default="" fttype="category" ftalias="dmevent" ftlabel="Event Category" /> </cfif> However, wouldn't this just make one category form element that shows all the time because its on the baseline copy and then one that shows only if you're part of the right group based on the extended properties. Option2 create a permission that shows the category based weather the group you belong to has that permission. I know how to add a permission via the interface but where/how do you write the code for it? Where does the pemission code live in core and where would it go in the local project? Where/How would you modify the event.cfc to use the permission? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
