This topic is locked

"Custom View As" Field link with popup

9/1/2011 10:17:20 PM
PHPRunner General questions
N
nix386 author

I must say I really like the integrated popups for view and edit on the list pages in 5.3 however I'm having some issues using these same popups in conjunction with a "Custom View As" Field link.
I am already using this code in "Custom View As" $value = "<a href=\"customer_table_view.php?editid1=".$data["CustomerID"]."\">".$value."</a>"; but was wanting to popup in the same style of the ones used by edit and view controls on the list pages.
I have fluffed around with something like this $value = "<a href=# onclick=""window.open('customer_table_view.php?editid1=".$data["CustomerEdi"].">".$value."')"</a>"; but not having much luck.
Does anyone know how to call the integrated popups in 5.3?
Nick

N
nix386 author 9/3/2011



Check this article: http://developer.yahoo.com/yui/examples/container/panel.html


Hi Cristian
Thanks for the info but I'm still confused with the syntax of the Custom "View As" function and how the panels are initiated?

Are these containers and styles applied to the Custom "View As" or via events?
Cheers, Nick