Page 1 of 1

What param types can I add to my views xml-file?

Posted: Mon Mar 10, 2008 11:45 am
by torkil
I have a component with a view, and it has a template which in turn has an xml-file. The xml-file provides the data for the menu setup, so that I can provide parameters for my menu items. So far so good.

But: I have a menu item that I want to assign a param type=date to, but that does not seem to be possible. All I have seen in similar xml-files are select-boxes, radiobuttons, checkboxes and text fields. Is there a param type that supports dates out there? And does anyone know where the code that does the parsing of those parameters is located?

Re: What param types can I add to my views xml-file?

Posted: Mon Mar 10, 2008 11:50 am
by torkil
Seems as param type=calendar did the trick :)

The allowed JElement-types can be found in libraries/joomla/html/parameter/element