PDF, Print and Email button within a Image Gallery
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Feb 05, 2009 11:09 am
PDF, Print and Email button within a Image Gallery
Is there any way to put a PDF, Print and Email button within the certain Image Gallery plugin? So whenever an image is viewed, those 3 buttons is also there to use?
- tiosus
- Joomla! Enthusiast
- Posts: 212
- Joined: Wed Sep 16, 2009 9:03 am
- Location: Iran
- Contact:
Re: PDF, Print and Email button within a Image Gallery
what kind of gallery ?
please tell me your gallery name!
please tell me your gallery name!
http://www.azolfagharj.ir ,
Creat and translate RTL Support (Farsi/Persian - Arabic) Joomla Templates and Extentions in Middle East.
Creat and translate RTL Support (Farsi/Persian - Arabic) Joomla Templates and Extentions in Middle East.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Feb 05, 2009 11:09 am
Re: PDF, Print and Email button within a Image Gallery
I'm currently using the sigplus Image Gallery. So far, in reading its documentation, there's no parameters on putting PDF, Print and Email button but I'm still wondering there's a way to customize it... any ideas?BlueGemini wrote:Is there any way to put a PDF, Print and Email button within the certain Image Gallery plugin? So whenever an image is viewed, those 3 buttons is also there to use?
Thanks in advance,
- guilliam
- Joomla! Virtuoso
- Posts: 4181
- Joined: Thu Aug 18, 2005 10:27 am
- Location: Sunny City Cebu, Philippines!
- Contact:
Re: PDF, Print and Email button within a Image Gallery
you need to hard code the pdf buttons on the sigplus gallery's template
"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
http://www.joomlaconsultancy.net
http://www.joomlaconsultancy.net
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Feb 05, 2009 11:09 am
Re: PDF, Print and Email button within a Image Gallery
Yes. That's what I also thought is the only way. I may try do that but my problem now is the code I need for the PDF, Print and Email button. I have no idea on this... do you have any, if ever?guilliam wrote:you need to hard code the pdf buttons on the sigplus gallery's template
- guilliam
- Joomla! Virtuoso
- Posts: 4181
- Joined: Thu Aug 18, 2005 10:27 am
- Location: Sunny City Cebu, Philippines!
- Contact:
Re: PDF, Print and Email button within a Image Gallery
BlueGemini wrote:Yes. That's what I also thought is the only way. I may try do that but my problem now is the code I need for the PDF, Print and Email button. I have no idea on this... do you have any, if ever?guilliam wrote:you need to hard code the pdf buttons on the sigplus gallery's template
the php code to insert in the template looks something like this:
Code: Select all
<?php if (!$this->print) : ?>
<?php if ($this->params->get('show_pdf_icon')) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.pdf', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
<?php if ( $this->params->get( 'show_print_icon' )) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.print_popup', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
<?php if ($this->params->get('show_email_icon')) : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.email', $this->article, $this->params, $this->access); ?>
</td>
<?php endif; ?>
<?php else : ?>
<td align="right" width="100%" class="buttonheading">
<?php echo JHTML::_('icon.print_screen', $this->article, $this->params, $this->access); ?>
</td>
Code: Select all
echo JHTML::_('icon.pdf', $this->article, $this->params, $this->access
"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
http://www.joomlaconsultancy.net
http://www.joomlaconsultancy.net