The resultant parameters area for this layout will look like this:
If the extension also specified component parameters, these would be displayed
under the heading 'Parameters??”Component'.
All name and description elements from the XML metadata files will
be translated into the currently selected locale language.
When we save a menu item, all of the parameters, except URL parameters, are saved
to the params field in the menu item record. This means that we can end up with
naming conflicts between our parameters. We must ensure that we do not name
any two parameters the same. This includes not using the predefined System
parameter names.
Chapter 9
[ 257 ]
This list details the System parameter names:
page_title
show_page_title
pageclass_sfx
menu_image
secure
Once we have successfully created the necessary XML, we will be able to access the
parameters from within our component using a JParameter object. This is described
in the next section.
Using Menu Item Parameters
Before we jump in and start using menu item parameters, let us take a moment to
consider the overriding effects of the component parameters.
Pages:
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351