Welcome to the new HowToJoomla!
We've completely revamped the design to make the site easier to read and easier to navigate. We hope you like the changes!
How to view just your component in Joomla! 1.5
July 22, 2008 | by Cory | 11 CommentsHere 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!
About the Author
In the years since Joomla! was founded, Cory has built dozens of websites with Joomla! and helped thousands of people find answers to questions about Joomla! through HowToJoomla.net. Cory has also written a book about Joomla titled Beginning Joomla! Web Site Development published by Wrox in April, 2009. In February of 2008, Cory founded Cory Webb Media, LLC, where he provides consulting and web development services for companies of all sizes. You can follow Cory on Twitter @corywebb, or become a fan of Cory Webb Media on Facebook.
Trackback(0)
Comments (11)
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 Cory, October 06, 2008
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
written by John R., August 04, 2009
JRequest::setVar('tmpl', 'component');
Write comment






Thanks again
-wade