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.084 seconds

Les générateurs de code je les connais presque tous pour les avoir essorés en long en large et en travers ... mais celui ci c'est vraiment un outil formidable de simplicité et d'efficacité !
Marc. (liubov - Forum)

Get Started