Page 1 of 1

PhocaPDF with RestaurantLab template

Posted: 14 Nov 2013, 00:54
by teduez12
I can't seem to find what I need to update to get PhocaPDF with linelab's restaurantLab template. Does anyone else have this installed on 2.5 that can help?

Re: PhocaPDF with RestaurantLab template

Posted: 14 Nov 2013, 18:37
by Jan
Hi, not sure if RestaurantLab has own overwriting of content, but if yes, the changes need to be done there:
https://www.phoca.cz/documents/47-phoca- ... -and-usage
Jan

Re: PhocaPDF with RestaurantLab template

Posted: 14 Nov 2013, 18:50
by teduez12
Yes I tried to do that but I can't find those files in the templates folder so I'm not sure how to make the changes. Any thoughts on where they might be? Here are the folders and files in the templates directory. I'm not sure where else to look.

.../templates/restaurantlab/css
.../templates/restaurantlab/html
...//templates/restaurantlab/images
.../templates/restaurantlab/language
.../templates/restaurantlab/favicon.ico
.../templates/restaurantlab/index.php
.../templates/restaurantlab/template_preview.png
.../templates/restaurantlab/template_thumbnail.png
.../templates/restaurantlab/templateDetails.xml
.../templates/restaurantlab/tools.php

Re: PhocaPDF with RestaurantLab template

Posted: 14 Nov 2013, 19:01
by Jan
mostly there are in html folder

Jan

Re: PhocaPDF with RestaurantLab template

Posted: 14 Nov 2013, 19:40
by teduez12
Thanks. I found this in .../templates/restaurantlab/html/com_content/article/default.php

<?php if ($canEdit || $params->get('show_print_icon') || $params->get('show_email_icon')) : ?>
<div class="actions">
<?php if (!$this->print) : ?>
<?php if ($params->get('show_print_icon')) : ?>
<span class="print-icon">
<?php echo JHtml::_('icon.print_popup', $this->item, $params); ?>
</span>
<?php endif; ?>

<?php if ($params->get('show_email_icon')) : ?>
<span class="email-icon">
<?php echo JHtml::_('icon.email', $this->item, $params); ?>
</span>
<?php endif; ?>
<?php if ($canEdit) : ?>
<span class="edit-icon">
<?php echo JHtml::_('icon.edit', $this->item, $params); ?>
</span>
<?php endif; ?>
<?php else : ?>
<span>
<?php echo JHtml::_('icon.print_screen', $this->item, $params); ?>
</span>
<?php endif; ?>
</div>
<?php endif; ?>

Since it isn't exactly the same and I'm not a php programmer, I'm not sure what to change based on the article link above. Can you help?

Re: PhocaPDF with RestaurantLab template

Posted: 20 Nov 2013, 01:19
by Jan
Hi, for now I am not on my PC, so cannot test it (you always need to test it, so there is no error in the code) - if you are not familar with PHP, I think you need to hire someone :idea:

Didn't this guide not help you? https://www.phoca.cz/documents/47-phoca- ... -and-usage

Jan