Need help with custom template code

Phoca PDF - creating PDF documents in Joomla! CMS
gscheiman
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 18 May 2012, 23:04

Need help with custom template code

Post by gscheiman »

Hi, I am using the cloudaccess.net freebie template, built on Gantry and RocketTheme structures. So it's using it's own custom templates that have very different code from your example.

I found the code where the article icons are referenced, as I assume that's where Phoca modifications go. Can you help me figure out how this should be modified to make Phoca work?

I really appreciate the assist.

From the com_content article default.php:

Code: Select all

	<?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; ?>
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Need help with custom template code

Post by Jan »

Hi, unfortunatelly, I don't know Gantry, so cannot add any clue advices there :-( :-(

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