User modules | |
|
First let's see how to edit, remove and create user modules. This is the user module listing in the admin modules panel: insert graphic This shows a list of user modules and you have the option to edit or delete a module, user modules are created or edited in this same screen at the bottom. | |
Assign module | |
|
This is where you can assign a module to be displayed on the left or right side bar of the application, you have to select the module name, the position (left or right) and the order, modules will be displayed in an ascending order way so module 1 goes first then 2, etc. If two modules share the same order value they will be displayed in random order but never before a module with a lower number or before a module with a higher order. Cache Time is the time that the module content can be in the cache (regardelss of this number some modules are never cached), if a module can be cached then it will be refreshed after the indicated time passes. Use 0 if you don t want modules to be cached. Rows are the maximum number of rows a module will display if that makes sense to the module, modules displaying rankings or listings will use this number. Groups is used to select which groups will see the module if it is assigned. Note that if you don t select at list one group no one will be able to see the module. If more than one group is selected then the module will be displayed if the user belongs to ANY of the groups selected. Note: There s a setting in the main admin panel called display modules to all groups always when this setting is checked modules will be displayed always without examining the user group.
Note: If you enable the option to let users configure modules then when you assign a new module it won't be displayed until you configure it from your user preferences->configure modules screen. Admin is a normal user so he must configure the module too!
| |
Assigned modules | |
|
This part of the screen shows currently assigned modules and their order, cache,groups and number of rows. There re two tables, one for the modules at the left bar and other for the modules at the right bar. You can edit (assign) a module, remove it (it will only unassign the module, you can reassigned later) and you can also move the module up or down one position using the up/down links. | |
Edit/Create user module | |
|
This allows the creation of a new user module, you need to indicate the name (used in the select box to assign the module), the title and the data that will be displayed, the data must be HTML (any since you are admin). The right part of this panel can be used to help you include some objects that can be used in user modules, you can include in an user module:
Where mode is any valid format for the PHP "date" function (see the date function on the PHP manual). | |
Including dynamic content in user modules | |
|
Today quote: {content id=3} In the example we are including the current version of the dynamic block 3 . You can create/edit and program dynamic blocks using the Dynamic Content System (DCS). Read about the DCS in the DCS section to learn more. | |
Including banners in user modules | |
|
Where zone must be the name of an existing zone in the banners system and there should be at least one banner assigned to the zone (or nothing will be displayed). You can learn more about banners in the banners section. | |
Including polls in user modules | |
|
{poll id=n} If you want Tiki to display the form to vote some (random) poll from all the active polls you can use: {poll} | |
Displaying a random image from a gallery | |
|
{gallery id=n} | |
Including RSS feeds in user modules | |
|
{rss id=n max=m} It will display the rss feed with id=n and it will display up to m elements from the feed. | |
Advanced editing | |
|
If you want to learn about Smarty visit http://smarty.php.net | |
Available System Modules | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring modules | |
|
If enabled from the admin screen you can allow registered users to configure the modules they will see in the side bars of Tiki. The rules are:
The following screen is used to let the user manage modules: insert graphic The user can move the modules up/down they can move a module to the other column and they can unassign modules (the login box and application menu cannot be unassigned). If the user unassigns a module he will be able to assign the module to any column in any position if he wants. insert graphic | |
Special modules: The calendar module | |
|
The calendar module if enabled can be used to control some aspects of the Tiki application. First of all it is a normal calendar that can be navigated changing the month and year and you can always return to the day for today clicking the today link. When you click on a day the calendar will mark it as the current day for the page you are viewing, if you change the page the calendar will go back to today . | |
How the calendar affects articles | |
|
| |
How the calendar affects blogs | |
|
Note that once you select a date in the calendar it won t remain selected if you change the page you are viewing it will be restored to the current date.
| |