how to change the template files?

Phoca PDF - creating PDF documents in Joomla! CMS
cheesydoodles
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Sep 2014, 23:57

how to change the template files?

Post by cheesydoodles »

Hello I am having trouble with getting the pdf icon to show up, my default.php file in template looks like this

<?php

defined('_JEXEC') or die;
$gantry_lib_path = JPATH_SITE . '/libraries/gantry/gantry.php';
if (!file_exists($gantry_lib_path)) {
echo 'This template requires the Gantry Template Framework. Please download and install from <a href="http://www.gantry-framework.org/downloa ... ownload</a>';
die;
}
include(JPATH_LIBRARIES.'/gantry/gantry.php');
$gantry->init();
include JPATH_SITE.'/templates/'.$gantry->getCurrentTemplate().'/html/base_override.php';

I have tried adding the code as suggested but it breaks the look of the site or just shows a blank page.
Any ideas on how to get this to work?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: how to change the template files?

Post by Jan »

Hi, I think you need to ask developers of Gantry framework where the icons are rendered and such place needs to be customized by this guide:

https://www.phoca.cz/documents/47-phoca- ... joomla-3-3
https://www.phoca.cz/documents/47-phoca- ... e-joomla-3
https://www.phoca.cz/documents/47-phoca- ... -and-usage
Jan
If you find Phoca extensions useful, please support the project
Post Reply