Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Redirection in toolbar buttons not working

Redirection in toolbar buttons not working 10 Jun 2015 13:52 #13254

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 90
  • Thank you received: 8
  • Karma: 5
In collection
when you edit properties of for example "new" button in toolbar
and want to redirect to Layout that is either not in context
or either in context but you have more than one layout with forms.

Redirection set in bulder dosnt correspond with the one in sandbox.
Last Edit: 10 Jun 2015 14:03 by krasy.
The administrator has disabled public write access.

Redirection in toolbar buttons not working 10 Jun 2015 17:10 #13255

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Strange... For me it works.

PTL ?
Coding is now a piece of cake
The administrator has disabled public write access.

Redirection in toolbar buttons not working 10 Jun 2015 17:16 #13256

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Seems to works on back, but not on front.

Checking....
Coding is now a piece of cake
The administrator has disabled public write access.

Redirection in toolbar buttons not working 11 Jun 2015 08:05 #13257

  • krasy
  • krasy's Avatar
  • Offline
  • Premium Member
  • Posts: 90
  • Thank you received: 8
  • Karma: 5
thx,
for fast response, ;)
looking forward for update.
The administrator has disabled public write access.

Redirection in toolbar buttons not working 11 Jun 2015 08:25 #13258

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Fixed.

It was not concerning front or back.
It was simply a task alias problem.

changed 'new' for 'add'
Because since the begining of Cook, in the builder the 'add' task is called 'new'. So I use a trick to rename it and for this rewriten redirection feature I was missing it.
So the problem was only with 'New' task, wich is in facts 'add' in the controller, because 'new' is reserved name in php.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.105 seconds

Get Started