I am trying to install the Phoca PDF module but I am using a template from cloudaccess.net which is based on Gentry/RocketTheme and therefore has custom components. Is there any chance someone can help me modify the code to fit the custom stuff revised? I've copy/pasted the custom code below. Any help would be appreciated.
From my template's com_content default.php:
Code: Select all
<?php
/**
* @package Template Overrides - RocketTheme
* @version 3.2.5 June 1, 2011
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2011 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*
* Rockettheme Gantry Template uses the Joomla Framework (http://www.joomla.org), a GNU/GPLv2 content management system
*
*/
// no direct access
defined('_JEXEC') or die;
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers');
// Create shortcuts to some parameters.
$params = $this->item->params;
$canEdit = $this->item->params->get('access-edit');
$user = JFactory::getUser();
?>
<div class="rt-article"><div class="rt-article-bg">
<div class="item-page<?php echo $this->pageclass_sfx?>">
<?php /** Begin Page Title **/ if ($this->params->get('show_page_heading', 1)) : ?>
<h1 class="title">
<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php /** End Page Title **/ endif; ?>
<?php /** Begin Article Title **/ if ($params->get('show_title')) : ?>
<h2 class="title">
<?php if ($params->get('link_titles') && !empty($this->item->readmore_link)) : ?>
<a href="<?php echo $this->item->readmore_link; ?>">
<?php echo $this->escape($this->item->title); ?></a>
<?php else : ?>
<?php echo $this->escape($this->item->title); ?>
<?php endif; ?>
</h2>
<?php /** End Article Title **/ endif; ?>
<?php /** Begin Article Icons **/ if ($canEdit || $params->get('show_print_icon') || $params->get('show_email_icon')) : ?>
<div class="rt-article-icons">
<ul class="actions">
<?php if (!$this->print) : ?>
<?php if ($params->get('show_print_icon')) : ?>
<li class="print-icon">
<?php echo JHtml::_('icon.print_popup', $this->item, $params); ?>
</li>
<?php endif; ?>
<?php if ($params->get('show_email_icon')) : ?>
<li class="email-icon">
<?php echo JHtml::_('icon.email', $this->item, $params); ?>
</li>
<?php endif; ?>
<?php if ($canEdit) : ?>
<li class="edit-icon">
<?php echo JHtml::_('icon.edit', $this->item, $params); ?>
</li>
<?php endif; ?>
<?php else : ?>
<li>
<?php echo JHtml::_('icon.print_screen', $this->item, $params); ?>
</li>
<?php endif; ?>
</ul>
</div>
<?php /** End Article Icons **/ endif; ?>