Home » Forum
NoNumber!

Joomla! extensions & websites
development / support / consultancy

I try to respond within 24 hours (excluding weekends). If I haven't responded by then, feel free to post a reminder or bug me via email.
Welcome, Guest
Please Login or Register.    Lost Password?

Print Option in Modal window
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Print Option in Modal window
#9284
Print Option in Modal window 3 Months, 2 Weeks ago  
I am new to Joomla and had a simple question (hopefully). I have Modalizer working properly but need to add a print option inside the window so the end user can print the window content.

Can someone please tell me an easy way to do this?

Thanks in advance for any help!
Justice
The administrator has disabled public write access.
 
#9288
Re: Print Option in Modal window 3 Months, 2 Weeks ago  
Joomla comes with its own print options on articles.
Just add ?print=1 / &print=1 to the url...
Then - if your page has a print icon/link, that will popup the print dialog.
Peter van Westen
Admin
Posts: 4533
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#9294
Re: Print Option in Modal window 3 Months, 1 Week ago  
Thank you very much Peter. I will give that a try right now.

The administrator has disabled public write access.
 
#9295
Re: Print Option in Modal window 3 Months, 1 Week ago  
Peter van Westen wrote:
Joomla comes with its own print options on articles.
Just add ?print=1 / &print=1 to the url...
Then - if your page has a print icon/link, that will popup the print dialog.


Thanks Peter

Here is my actual code:

{modal href=stories/images/waterheatercoupon.jpg?print=1/%print=1 | type=squeezebox | width=300 | height=300}Click Here to Print Coupon{/modal}

Do you know how I can add a print icon/link to the page so this code will work as designed?

Thanks in advance,
Justice
The administrator has disabled public write access.
 
#9296
Re: Print Option in Modal window 3 Months, 1 Week ago  
Justice Gradowitz wrote:
Peter van Westen wrote:
Joomla comes with its own print options on articles.
Just add ?print=1 / &print=1 to the url...
Then - if your page has a print icon/link, that will popup the print dialog.


Thanks Peter

Here is my actual code:

<span>{</span>modal href=stories/images/waterheatercoupon.jpg?print=1/&print=1 | type=squeezebox | width=300 | height=300}Click Here to Print Coupon{/modal<span>}</span>

Do you know how I can add a print icon/link to the page so this code will work as designed?

Thanks in advance,
Justice


Please ignore prior post. I corrected code above. Sorry.
The administrator has disabled public write access.
 
#9325
Re:Print Option in Modal window 3 Months, 1 Week ago  
Peter -

UPDATE: I actually found a solution to this problem. When I enabled the print icon function under Parameters the print link automatically displayed in the modal window. But as another user also encountered, when you click on the Print Link it would open yet another window inside of the original.

Here's what I did and it seemed to work. I hovered over the Print Link in the first window and copied down the url and then pasted this into the target of my original image. Now when I click on the source image it brings up the modal window with print link and the print link goes directly to the print dialog box instead of opening a second modal window.

I hope this can help someone else out there looking for answers. And Peter, thanks again for all your help and for creating a great product. I hope you had a wonderful vacation.

Best regards,
Justice
The administrator has disabled public write access.
 
Go to topPage: 1
Joomla Open Source Training