Home arrow Documentation arrow First steps
First steps
Using categories Print E-mail
Written by Jonas Brand   
Donnerstag, 23 August 2007

Create menu items for categories

To make use of the category feature of the Webhosting Component you have to create menu items of the type "Link". There you insert the URL of the component (without Itemid) and add the variable 'catid' to it.

Then the links looks like this:

index.php?option=com_webhosting&catid=5

You can get the catid from the Category Manager ("Plan Categories"). At the right site of the list there is a column with the title "Category ID".

Create a menu item for all plans

You can anyway create a menu item of the type 'Component'. On that page will be shown the following plans:

  • all published plans without a category
  • all published plans of a published category

So the plans of an unpublished category will not be shown on that menu item. But on a menu item for that category they will be shown! So you have the possibility to show the items of a category only on the category page.

 
Load the examplefiles Print E-mail
Written by Jonas Brand   
Samstag, 30 Dezember 2006

To get the first insight into the functionality of the component it can be a big help to load the examplefiles. You can load it under Components / Webhosting / Examplefiles. With one click on it the spokenfile within the stored SQL-Code it becomes accomplished and the examplefiles will be load into the MySQL-database. As long as there wasn´t any errors you will be lead to the offering-site of the component and it appears a success message. The inserted offers, features and feature catagories can be matched as you desire or deleted again later.