pondělí 27. října 2008

Show eZ Publish ezselection datatype as radio inputs

This is a simple way to show ezselection datatype input interface using radio buttons.

Create a ezselection.tpl file under content/datatype/edit directory of your design folder (or rewrite the file in eZ Publish standard design) and put in the attached file,
then use this line of code to show the interface:

{attribute_edit_gui attribute=$attribute element='radio'}

Download: http://www.badongo.com/file/11856439

1 komentář:

Andrew Duck řekl(a)...

Ah very nice, I was thinking about this just the other day.