Welcome, Guest
Username: Password: Remember me

TOPIC: [ADDED] Ability to add custom task buttons to the toolbar

Ability to add custom task buttons to the toolbar 30 Jun 2013 02:33 #7756

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Hi,
Ability to add custom task buttons to the toolbar layout will help a lot.

Regards
Vivek.
The administrator has disabled public write access.

Ability to add custom task buttons to the toolbar 30 Jun 2013 03:20 #7757

  • BTB300
  • BTB300's Avatar
  • Offline
  • Moderator
  • Posts: 414
  • Thank you received: 130
  • Karma: 46
I Agree - if you need more than one extra task or you happen to use ALL of the buttons ;)

if you only need one i just use the Default Button and rename it after download

but how would Cook know if you know what task to perform?
- Does it need to validate anything
- what task does it call?

perhaps we could suggest the following
- ability to name the button label such as "Add New"
- allow more than one of the same type

perhaps just basic markers could be included in the code
such as
default_button{
// The current code for default button
....
.....
}
default_task2{
// BASIC BUTTON FUNCTIONALITY
// PLACE YOUR CUSTOM CODE HERE
}

You can then simply call some function in your fork files
Last Edit: 30 Jun 2013 03:23 by BTB300.
The administrator has disabled public write access.

Ability to add custom task buttons to the toolbar 30 Jun 2013 15:22 #7764

  • vivek
  • vivek's Avatar
  • Offline
  • Premium Member
  • Posts: 123
  • Thank you received: 2
  • Karma: 2
Hi,
The custom task can be as simple as entering the url.

For example, On the categories page, I want to have a custom button which drills down to all the content of a specific category selected in the table.

Regards
Vivek.
The administrator has disabled public write access.

Ability to add custom task buttons to the toolbar 10 Oct 2016 16:37 #14627

  • admin
  • admin's Avatar
  • Online
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Added this monday.

@vivek, this new feature do not include the URL redirection.
You need to write your URL manually in the redirection after the task execution. (can be empty execution and step directly in the redirection)
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: Romkabouter, MorganL, krasy

Ability to add custom task buttons to the toolbar 10 Oct 2016 17:31 #14628

  • Romkabouter
  • Romkabouter's Avatar
  • Offline
  • Elite Member
  • Posts: 310
  • Thank you received: 131
  • Karma: 48
Nice feature again, saves forking :)
The administrator has disabled public write access.
Time to create page: 0.154 seconds

Get Started