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

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started