Keyword

E-Mail - Popup - Size

  • Maurice Privat
  • Maurice Privat's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #94502 by Maurice Privat
E-Mail - Popup - Size was created by Maurice Privat
Hi everybody out there,

 

I tried searching the forum but did not find an answer. So I hope someone out there can give me a hint, how to solve the following problem.

 

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.

 

 

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 7 months ago #94503 by Yiota
Replied by Yiota on topic E-Mail - Popup - Size
Locate this line of code in item.php on your K2 template override folder.

<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.

Please Log in or Create an account to join the conversation.

  • Maurice Privat
  • Maurice Privat's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #94504 by Maurice Privat
Replied by Maurice Privat on topic E-Mail - Popup - Size
Hi Yiota Ziaggou,

 

thank you so much for your quick and helpful response. I searched for the file and found one in "/components/com_k2/templates/default/item.php" I adjusted width and height but nothing happened even though clearing all caches. Did I alter the wrong file?

 

p.s.: I did not find an template "override" folder....

Please Log in or Create an account to join the conversation.

  • Maurice Privat
  • Maurice Privat's Avatar Topic Author
  • Offline
  • New Member
More
13 years 7 months ago #94505 by Maurice Privat
Replied by Maurice Privat on topic E-Mail - Popup - Size
Hi Yiota Ziaggou,

 

it´s me again. Due to the fact that my used template has some overrides for k2, I had to look into templates folder. Found the right file! Everything looks fine now.

 

Thank you so much for your great assistance!

 

Take care

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum