|
Front-end Site Items will be automatically created if all of these are true: - the JUGA System Plugin is enabled
- a Front-End page is accessed that does not already have a Site Item
- at least one JUGA>>Variable for this 'option' (front-end) has Auto-Add=YES
Admin-side Site Items will be automatically created if all of these are true: - the JUGA System Plugin is enabled (only applies to Joomla! 1.5.x)
- the JUGA-enabled admin-side template is enabled (only applies to Joomla! 1.0.x)
- an Admin-side page is accessed that does not already have a Site Item
- at least one JUGA>>Variable for this 'option' (admin-side) has Auto-Add=YES
But let's say you want to create your own Site Item in JUGA>>Site Items (rather than let the JUGA System Plugin automatically create it for you). For this tutorial, we'll refer to one of the content articles that comes with a standard Joomla installation, the "Joomla Overview" page.
Its URL for VIEWING the article on your Front-End is: index.php?option=com_content&view=article&id=19&Itemid=27 Having duplicate Site Items can cause JUGA to not perform as intended, so let's first confirm that you don't already have a Site Item for this article.
In JUGA>>Site Items, search for "19" and in thedropdowns filter by "Front-End" and "com_content". If you have a record with the following "query" value, then your Site Item already exists! Just assign it to your desired JUGA Group and be done with it. option=com_content&id=19&view=article
Let's study this "query" value a little more, though, because that is the crux of JUGA. Here are some things to remember when creating a Site Item "query"
- Put the "option" first. In this example, that means "option=com_content"
- Do not include "Itemid" or "mosmsg" in your "query". JUGA will ignore them anyway, so don't waste your time.
- Alphabetize your variables after "option". In this example, that means changing the order of the "id" and "view" variables.
So, to create your own Site Item, click "New" in JUGA>>Site Items and populate the fields according to this manual page. Now you've successfully created a Site Item for your article!
HTH!
|