E-Mail Pop-up Window size (k2)

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed Feb 23, 2011 1:17 pm
Hi everybody out there,

I am not quite sure, if this is a question concerning gavick, but after a few hours of searching a solution I just decided to ask:

When I click on the E-Mail link in a k2 item a popup window appears. The size of the window ist to small, so that users are not able to see the send button. I tried adjusting the height in com_content/helpers/icon.php file but I seems as if it does not have any affect.

Can you tell me where to define the size of the popup window?

Thank you so much for taking your time and helping me.
User avatar
Senior Boarder

Konrad M
Wed Feb 23, 2011 1:27 pm
Can you give us url site please ? :)
User avatar

GK User
Wed Feb 23, 2011 1:33 pm
Sorry! My fault!

LINK TO LIVESITE

But you can test it on gavick´s demo as well.The size is the same
User avatar
Senior Boarder

GK User
Thu Feb 24, 2011 11:34 am
Hi everybody out there. With some assistance of a friendly k2 community member I found the solution.


Locate this line of code in item.php on your K2 template override folder.

Code: Select all
<a class="itemEmailLink" onclick="window.open(this.href,'win2','width=400,height=350,menubar=yes,resizable=yes'); return false;" href="<?php echo $this->item->emailLink; ?>" title="<?php echo JText::_('E-mail'); ?>"><span><?php echo JText::_('E-mail'); ?></span></a>


Change the width and height of the window as you prefer.


You can find the item.php to search for in :"/templates/gk_sporter/html/com_k2/templates/default/item.php"

Link to thread in k2-community
User avatar
Senior Boarder


cron