how to change the template files?
Posted: 22 Sep 2014, 00:04
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?
<?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?