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

TOPIC:

[SOLVED] Redirecting 23 Oct 2011 21:25 #304

  • Kevin
  • Kevin's Avatar Topic Author
  • Visitor
  • Visitor
I see that we can configure the save tool to redirect to a layout.

I am trying to redirect on the frontend but the only layouts available are the lists.

I would like to redirect to a page which shows the details just submitted within a page.

I am trying to allow users to fill in their details for a fishing competition entry form, then after submitting present them with the completed form so they can print it.

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

Last edit: by Kevin.

Re: Redirecting 24 Oct 2011 04:56 #308

Kevin... I too... want to know if this is possible as well... have similar issue...
Paulo Griiettner

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

Re: Redirecting 24 Oct 2011 10:45 #315

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Yes, good idea, and very simple to add in Cook.
Beiing alowed to redirect to an item layout, instead of a collection layouts only.

For now, just change this in the controller, at the end of the task execution.
Very easy.


Added in list of functionalities.
Coding is now a piece of cake

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

Re: Redirecting 24 Oct 2011 20:01 #328

  • Kevin
  • Kevin's Avatar Topic Author
  • Visitor
  • Visitor
Nice one cook, thanks... :)

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

Last edit: by Kevin.

Re: Redirecting 27 Oct 2011 12:59 #361

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Added in functionalities since 1.4.2

- You can choose whatever layout to redirect.
- If you redirect to an item layout, you conserve the current id. You can choose to reset the id. (Ex : Save and New)
- If you redirect to a collection layout, you can reuse the current item id to preset a filter. (Reuse param)
Coding is now a piece of cake
The following user(s) said Thank You: Kevin, twev

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

Re: [SOLVED] Redirecting 28 Oct 2011 18:07 #369

Just to let you guys know that this is working nice... My customer wanted a form to be filled like survey, where someone can go step by step on the form... the good part is when he goes to next set of question, the previous data was already save on DB...

Thanks for this new function
Paulo Griiettner

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

Re: [SOLVED] Redirecting 28 Oct 2011 19:24 #370

  • Kevin
  • Kevin's Avatar Topic Author
  • Visitor
  • Visitor
Gonna try it now, thanks for adding this

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

Re: [SOLVED] Redirecting 28 Oct 2011 19:39 #371

  • Kevin
  • Kevin's Avatar Topic Author
  • Visitor
  • Visitor
OK Just tried it too and it is exactly what I was looking for.

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

Re: [SOLVED] Redirecting 29 Oct 2011 13:33 #374

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
In facts, with this functionality, you can go step by step in the forms, saving the data between each step, and at the end you can finish with a fly. And after, the fly page, you can redirect to a collection layout filtered with the cid number, etc...

There no more limits.

For reuse of the cid value, there will, in the future be a better assistant to select throught all possibilities.
Means, that wherever this table is referenced, it will be possible to link and prepare a page before showing it.
Filters as I said before, but also new FK form instance prefilled with this value.

Maybe it seems complicated, but, when you'll see, it's very simple and useful.
Coding is now a piece of cake

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

Last edit: by admin.
  • Page:
  • 1
Time to create page: 0.073 seconds

First of all... I have to congratulate you guys for the awesome tool... I came here only to see what this thing was up to and I have to tell that I'm very impressed with what this tool can do. French guys are making a revolution on Joomla... first with Seblod and now Cook...
Griiettner (forum)

Get Started