Page 1 of 1

how to change the template files?

Posted: 22 Sep 2014, 00:04
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?

Re: how to change the template files?

Posted: 23 Sep 2014, 00:50
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