|
Display 1.6 with template positions? Tp = 1 |
In Joomla! 1.5 , by default, we could see all the positions of a template by adding at the end of the url the following parameter index.php? Tp = 1. When you try to do this in Joomla! 1.6 we see that no positions are shown. "We can not do this in Joomla! 1.6? Let's see how to display? Tp = 1 in Joomla! 1.6.
If you add in my blog, at the end of the URL parameter? Tp = 1 (http://www.sergioiglesias.net/blog?tp=1), you will see the positions (or holes) that I use in my template. These holes are used to display content in Joomla, in particular, to display the modules you want on our website. Testing with the new version of Joomla, I tried to access this "functionality" and saw that by default, did not display the positions. Some research, I have seen on the new features of Joomla! 1.6 that is not displayed by default. Therefore, we must go back on. Activating tp = 1 in Joomla! 1.6
To activate this feature in Joomla! 1.6, we have to go to admin> template manager> options This will display the options window template in which you can activate this feature: Preview modules position> on. Tp = 1 Disable Joomla! 1.5
If we need to disable this feature in Joomla! 1.5, we can do it in two ways:
1 / modifying the file. Htaccess
We must add to this file the following lines of code:{mosgoogle}
##### Start? Prevention tp = 1 ###### RewriteCond% {QUERY_STRING} tp =(.*) RewriteRule ^(.*)$ index.php [F, L] ##### End? Prevention tp = 1 ######
2 / Changing the template index.php file
We must add to this file the following line of code:
JRequest: setVar ('tp', 0); |