FAQ: template layout 'send to', print and pdf functions

User avatar
Joomla! Explorer
Joomla! Explorer
Posts: 252
Joined: Tue Sep 06, 2005 9:10 am
Location: Netherlands

FAQ: template layout 'send to', print and pdf functions

Post by MarkV » Sun Sep 17, 2006 9:18 am

*** search words ***
template_css.css, template, css, layout, send to, print, create pdf, function, functions

*** problem ***
So you build this realy nice template and decided not to use the template_css.css file, but your own files. You launched your website, but when you click on the print, create pdf, or send to function all layout disappears.

*** solution ***
The template CSS file is hard coded in the core of Joomla. This will be changed in the future but for now you can do two things. You can either hack the core files, but if you have to upgrade to a new Joomla version, the problem will be back. The easiest way to solve this problem is to create a template_css.css file in your template css directory and refer to you main css file. The content of template_css.css will look like this:

Code: Select all

/* --------------------------------------------------
	Imported Styles
-------------------------------------------------- */

@import url("site.css");
Site.css can be changed in the name you have chosen for your css file.

Now you still have one base CSS file, but the proper layout will appear on the send to, pdf en print 'pages'.
Last edited by MarkV on Tue Jun 12, 2007 9:09 pm, edited 1 time in total.
Joomla insite


Return to “FAQs not moved”