At first I also thought it must be my mistake, but I tested the dmFacts which I didn't override and the same problem came up with the 'Send to Draft' button. So I looked in to it and I think I found the problem in the core (FC6.0.8).
In the farcry/core/tags/formtools/objectadmin.cfm at line 486 is where 'Send to Draft' is processed. It simply redirects with a cflocation as oppose to the 'approve' at line 472 which uses skin:onReady to open up a jQuery dialog. Can it be corrected or there is a reason not to use the 'approve' pattern? Szabolcs On Mon, Dec 6, 2010 at 5:45 PM, Blair McKenzie <[email protected]> wrote: > It's always a good idea to keep the CMS plugin up to date, but I don't > think there is anything criitical. All I can think of is that you may have > missed something while redefining the buttons. > > Blair > > > On Tue, Dec 7, 2010 at 7:49 AM, Szabolcs Nagy <[email protected]>wrote: > >> Thank you Blair. I managed to redefine them with the right permissions. >> Most of them are working fine. The 'Send To Draft' button however doesn't >> open up the Administration dialog. >> >> After I save the status change it goes back to the webtopOverview but >> nothing happens when I click Done since there is no dialog to close. >> I don't know if it is just on my system or it is a bug. >> >> Currently I am using core 6.0.8. Is there a cms update corresponding to >> this core? >> >> Szabolcs >> >> On Fri, Dec 3, 2010 at 4:17 PM, Blair McKenzie <[email protected]> wrote: >> >>> You have discovered the primary problem with overriding the objectadmin >>> buttons. Yes, you will need to redefine all of them. I believe the defaults >>> are defined in a component called /packages/farcry/objectadmin.cfc >>> somewhere. That definition includes the default permissions. >>> >>> Blair >>> >>> On Sat, Dec 4, 2010 at 7:59 AM, Szabolcs Nagy <[email protected]>wrote: >>> >>>> I am trying to add an extra button to the toolbar rendered by >>>> ft:objectadmin >>>> >>>> I created an array for my button and passed it in as aButtons attribute. >>>> It displayed my button, but the default buttons are disappeared. >>>> >>>> I tired to list all the buttons in the lButtons parameter, but it didn't >>>> help. >>>> >>>> Do I need to redefine the default buttons in the aButtons array? >>>> If so, will farcry handle permissions for the default buttons? >>>> >>>> >>>> Szabolcs >>>> >>>> -- >>>> You received this message cos you are subscribed to "farcry-dev" Google >>>> group. >>>> To post, email: [email protected] >>>> To unsubscribe, email: >>>> [email protected]<farcry-dev%[email protected]> >>>> For more options: http://groups.google.com/group/farcry-dev >>>> -------------------------------- >>>> Follow us on Twitter: http://twitter.com/farcry >>> >>> >>> -- >>> You received this message cos you are subscribed to "farcry-dev" Google >>> group. >>> To post, email: [email protected] >>> To unsubscribe, email: >>> [email protected]<farcry-dev%[email protected]> >>> For more options: http://groups.google.com/group/farcry-dev >>> -------------------------------- >>> Follow us on Twitter: http://twitter.com/farcry >> >> >> -- >> You received this message cos you are subscribed to "farcry-dev" Google >> group. >> To post, email: [email protected] >> To unsubscribe, email: >> [email protected]<farcry-dev%[email protected]> >> For more options: http://groups.google.com/group/farcry-dev >> -------------------------------- >> Follow us on Twitter: http://twitter.com/farcry >> > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[email protected]> > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
