Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:joomla:joomla_1.5_template_tutorial [2011/02/09 20:48] smayr [2. Placing the position and PHP code in the layout] |
systems:joomla:joomla_1.5_template_tutorial [2012/07/12 21:19] (current) smayr |
||
---|---|---|---|
Line 586: | Line 586: | ||
==== 2. Placing the position and PHP code in the layout ==== | ==== 2. Placing the position and PHP code in the layout ==== | ||
- | | + | # Now, in the same template directory, open the file index.php. This contains the layout of the template. |
- | Add the following lines (replacing the name of the position if appropriate) wherever you want that position to be in the layout: <code php> | + | # |
<?php | <?php | ||
$user =& JFactory:: | $user =& JFactory:: | ||
Line 599: | Line 599: | ||
?> | ?> | ||
</ | </ | ||
- | | + | |
==== 3. Final steps ==== | ==== 3. Final steps ==== | ||
Line 608: | Line 608: | ||
=== References === | === References === | ||
- | * [[http:// | + | * [[http:// |
+ | Joomla 1.5]] | ||
+ | |||
+ | === Joomla 1.7 - 2.5 === | ||
+ | |||
+ | ==== Create a New User Group in User Manager ==== | ||
+ | * Create user group '' | ||
+ | |||
+ | ==== Create a New Access Group in User Manager ==== | ||
+ | * Create ACL '' | ||
+ | * Select group '' | ||
+ | |||
+ | ==== Edit the Public Access Group in User Manager ==== | ||
+ | * Edit ACL '' | ||
+ | * Select group '' | ||
+ | |||
+ | ==== Change Access Levels in Articles, Menus, and Modules in Module Manager ==== | ||
+ | * Select Access = '' | ||
+ | |||
+ | === References === | ||
+ | * [[http:// | ||
+ |