Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Reuse box in tools properties 10 Dec 2011 03:26 #684

  • mossss
  • mossss's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 100
  • Thank you received: 7
Hi, I tried asking how to use this in a roundabout way before. But I realise it was a bit difficult to understand what I was asking. So, I shall try a simpler approach.

Could you explain the purpose and give an example of how to use the Re use dialog box in the tools properties on the Apply button please.

Thanks

Please Log in or Create an account to join the conversation.

Re: Reuse box in tools properties 10 Dec 2011 10:25 #686

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
It only fill a URL var of your choice, basing on the current CID of the item.


For example you have a table 'ITEMS' with a FK to 'FAMILY'

When you finish editing a new FAMILY, you can redirect to a list of ITEMS filtered on this family.
In this example, only write 'filter_family'.


So, just after, if you click to New (ITEM), this form is prefilled whith the current FAMILY (because it is filtered)
It is much more ergonomic.


You can reuse the 'cid' of the item for whatever url var you want, after task execution.
Coding is now a piece of cake
The following user(s) said Thank You: mossss

Please Log in or Create an account to join the conversation.

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.086 seconds

I jumped and started to work on a demo component... but 2 days later this demo component became the real component. I just showed today the end result to my customer and he turned to me and said... "this is more than I expected"... All of this is because Cook did cut about 70% of my work and provided me more ways to improve the usability of the component. The end result was 17 tables all related between than to generate a full dashboard for the travel agents. Thanks for Cook developers for such great tool. This component would not be possible to be done at short time with all the features in it
Griiettner (Forum)  

Get Started