I think it would be very useful to be able to override the xml file that is used to generate the Parameters form in Menu Item edit form.
This would allow to add custom parameters to menu items and can be used to improve administration work flow.
One of the biggest advantages that I see to this is ability to associate info on per menu item bases.
This would allow Administrator to add additional information to specific menu items. This information can later be used on the frontend to display this associated information.
This override could work in the same way that component view override works, except the file location would be different.
The overwritten xml files would go into the Administrator Template.
If you wanted to add text field to Article Edit form, you would do the following.
Code: Select all
# create directory mkdir -p administrator/templates/khepri/html/com_content/article/ # copy default template cp components/com_content/article/default.xml administrator/templates/khepri/html/com_content/article/default.xml # modify the template # add <param name="additional_text" type="text" size="30" default="" label="Some text" description="PARAMPAGETITLE" /> vim administrator/templates/khepri/html/com_content/article/default.xml
What do you guys think?
If you like this, I would be happy to write the code.
I could use this in projects right away.