End of Support for Joomla 3 - Forum closed

Print Version Adapt

Print Version Adapt was created by janrichter

Posted 8 years 5 months ago #14173
Hello Team, I am trying to adapt the print version, i learned, that it is adapted by component.php and mainly bootstrap.min.css. Changed the bootstrap.min.css, but the component.php doesn't load the changinged css.. Is there another bootstrap.nin.css? Maybe a stupid mistake?

Other point: When trying Phoca PDF, the button doesn't appear, I changed the layouts/joomla/content/icons.php. But nothing changed. Does the template override the article output?

The website is www.globotur-incoming.de

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Print Version Adapt

Posted 8 years 5 months ago #14176
Hi there,
1.) You can add your own print.css file into the component.php like this:

$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/print.css', $type = 'text/css', $media = 'print');

Attachment print-2.jpg not found



2.) The template have no icons for print. This depends on warp framework. But you can create an override:
yootheme.com/themes/documentation/developers/customization

To customize the general theme layout, you need to override the /layouts/theme.php. To do so, create the /styles/STYLE-NAME/layouts directory, copy the file in there and start adding your own PHP code.

This way you can also override system files. For example, just take the Joomla article layout /warp/systems/joomla/layouts/com_content/article/default.php and copy it to your style folder /styles/STYLE-NAME/layouts/com_content/article/default.php and modify it. Now your modified article layout file will be used instead of the default system layout. The same applies for WordPress files

Attachments:
The following user(s) said Thank You: janrichter

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License