As an example, take a look at http://www.compassdesigns.net/?tp=1. You will see a series of module positions on the home page of this website. Not all of them are in use. For example, the module position of debug at the bottom of the page is not used. However, you have a sense of what’s available for module positions, as well as where they are located within a given design.
By default, in Joomla 1.5, you could add ?tp=1 to the end of the home page URL and see these positions. If you wanted to turn this off, you needed to add a chunk of code to your .htaccess file, as follows:
##### Start ?tp=1 prevention ######
RewriteCond %{QUERY_STRING} tp=(.*)
RewriteRule ^(.*)$ index.php [F,L]
##### End ?tp=1 prevention ######
Obviously, this is not the most user-friendly system in the world!
In Joomla 1.6, it was decided that the ?tp=1 feature would be off by default. Instead, its availability can be configured in the Template Options.
- Go to Extensions – Template Manager – Options in the upper right corner (you generally must be an administrator or super administrator to do this)
- Under the Templates tab, set Preview Module Positions to Enabled
Once you have done this, you should be able to use ?tp=1 as you have been doing with Joomla 1.5.
{loadposition jenbio}