How to view just your component in Joomla! 1.5
Written by Cory |
July 22, 2008
|
(0)
Here is a neat little trick I picked up last Friday at the Joomla! 1.5 bootcamp in Austin led by Johan Janssens.
In Joomla! 1.5, if you simply want to display your component without any modules and without your template styles, all you have to do is add "?tmpl=component" or "&tmpl=component" to the end of the URL, depending on whether or not there are already other parameters on the end of the URL.
For example, if you just want to view the component on the home page of the new community.joomla.org site, you simply add "?tmpl=component" to the URL like this: http://community.joomla.org/?tmpl=component.
This trick is really useful for template designers because you can isolate the HTML used in a specific component, so you can determine how best to set up your CSS for styling that component.
Enjoy!
Trackback(0)
Comments (10)
written by mozami, July 24, 2008
written by Johan Janssens, July 25, 2008
Great to see you picked up a new trick at the bootcamp. By the way did you know that if you add tp=1 you can see the template positions outlined ?
Cheers,
Johan
written by Joomla Reservation Software, August 12, 2008
written by Gabe, September 29, 2008
In Joomla1.0 the equivalent of tmpl=component is to use index2.php in the URL path.
eg: joomlasite.com/index2.php
written by kastri, April 03, 2009
search & U shall find
http://blog.joomlatools.eu/2008/01/joomla-15-generating-raw-ouput.html
written by joomla develop site, May 03, 2009
its a good tips. I'm a web designer. Thank you
Write comment
Join the HowToJoomla Community!
- Create a profile
- Connect with other members
of the community - All for FREE
Already a member? Login here.



Thanks again
-wade