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

TOPIC:

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

  • krasy
  • krasy's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 90
  • Thank you received: 8
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.

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

Last edit: by krasy.

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

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

PTL ?
Coding is now a piece of cake

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

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

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

Checking....
Coding is now a piece of cake

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

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

  • krasy
  • krasy's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 90
  • Thank you received: 8
thx,
for fast response, ;)
looking forward for update.

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

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

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

  • Page:
  • 1
Time to create page: 0.293 seconds
  I still don't believe he can really be human to do all this ! From all of the forums that I've ever participated in this is certainly the one that most encapsulates the feeling of being truly open source where everyone's opinions and contributions can and will shape the development of the service! It's truly awesome! Hope you enjoy cooking and look forward to reading and contributing to any of the editorial work that you proposed too!! Thanks
Gez (audibleid - JED)

Get Started