-
Book Overview & Buying
-
Table Of Contents
Mastering Joomla! 1.5 Extension and Framework Development Second Edition
By :
Before we jump in and start using menu item parameters, let us take a moment to consider the overriding effects of the component parameters.
A second set of component parameters are saved to the menu item when we save it. This means that the component parameters are saved as part of the menu item, not the component. This allows a component, which can be installed only once, to be linked to the menu multiple times using different settings.
This raises the question: What is the purpose of the component preferences button in the backend? The preferences button, used to save the component settings, is used to modify the default component settings.
The default settings are used when we create a new menu item as the initial component parameter values. They are also used if the component is invoked but the active menu item does not correspond to the invoked component.
Consider the link index.php?option=com_boxoffice. This link will invoke the com_boxoffice component, but...
Change the font size
Change margin width
Change background colour