Not workingjoomla 3.3

Phoca PDF - creating PDF documents in Joomla! CMS
cliftyview
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 29 Jan 2015, 07:25

Not workingjoomla 3.3

Post by cliftyview »

Using Joomlaplates template which uses Warp framework. Tried modifying icons.php but still no icon. Here is info on where my current print and e-mail icons come from. Test page is at https://new.cliftyview.com/new/index.ph ... g-products to view source.

This controls the position of the print & e-mail icons and outputs it to the page.

OPen up the themes /warp/systems/joomla/layouts/article.php look for the following at around line 74,

<?php if ($edit) : ?>
<p><?php echo $edit; ?></p>
<?php endif; ?>



This is where the edit code is called from (only portion of code shown)

article layout /warp/systems/joomla/layouts/com_content/article/default.php

actual code

<?php
/**
* @package Warp Theme Framework
* @author YOOtheme
* @copyright Copyright (C) YOOtheme GmbH
* @license gnu.org/licenses/gpl.html GNU/GPL
*/


// set edit
if (!$this->print) {
$args['edit'] = $canEdit ? JHtml::_('icon.edit', $this->item, $params) : '';
$args['edit'] .= $params->get('show_print_icon') ? JHtml::_('icon.print_popup', $this->item, $params) : '';
$args['edit'] .= $params->get('show_email_icon') ? JHtml::_('icon.email', $this->item, $params) : '';
} else {
$args['edit'] = JHtml::_('icon.print_screen', $this->item, $params);
}


// render template
echo $warp['template']->render('article', $args);
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Not workingjoomla 3.3

Post by Jan »

Hi, is the link, you provided, a link to article?

In the layout, you should add the PDF code, see:
https://www.phoca.cz/documents/47-phoca- ... joomla-3-3

Jan
If you find Phoca extensions useful, please support the project
Post Reply