Display controllers problem
Display controllers problem
eli1dahan@gmail.com
Posts: 3Questions: 1Answers: 0
Hi..
If i want to show my editor form in new window insted of the lightbox, with the Display controllers function...
When i push the edit button i want the form will show in another page in new window..
How can i do that?
Thank you
Eli
This discussion has been closed.
Answers
As in a new browser window? That isn't something that is currently possible with Editor I'm afraid. It might be with a custom display controller, but I'm not certain about that since the DOM for the form, and all event handlers are attached in the context of the current window - in fact, thinking about it, even with a custom display controller, I don't believe it would be possible for that reason.
The editor form needs to be shown on the same page I'm afraid.
Allan
so maybe if i want to pass value from a raw in my table, to another page ?
somthing like edit.php + 'id' , that all the value from the raw will pass on to the other page //
is this something that can be done ?
Yes absolutely. You can use a renderer to create the edit link in the DataTable. If you then wanted to use Editor on the new page you could use it in standalone mode.
Allan
Ok...good to know...
Can you pleas help me with that?
Maybe give me an example?
Point me to the solution :-))
I'm afraid I don't have an example of that at the moment. I'll try to write it up in a blog post as you aren't the only one to ask about this, but I'm afraid I'm not sure when I'll get a chance to do it.
Allan