Page 1 of 1

Need help with custom template code

Posted: 18 May 2012, 23:37
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; ?>

Re: Need help with custom template code

Posted: 20 May 2012, 22:15
by Jan
Hi, unfortunatelly, I don't know Gantry, so cannot add any clue advices there :-( :-(

Jan