In joomla we have the options to add the params in all extension, based on this params setting we can controll our extenstion output. Here we going to see about list your component layouts using file list params
<param name="layout_file" type="filelist" default="default" label="Select a layout" description="" directory="administrator/components/your_component/views/your_view/tmpl" filter="" exclude="" stripext="" />
This will list your layouts in that view.
stripext : set to 1 to strip the file extension in that list
exclude : a regular expression will exclude the files from the list.
filter : a regular expression to filter on lists all files based on extension.
(eg) filter=?\.html$?
No comments:
Post a Comment