Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

exclamation-circle Print Only Content from Lightbox

More
9 years 7 months ago #4430 by Vince Holmen
Hello, I am on a tight deadline to have a website done by tomorrow morning 5/6/15. I have an issue getting only the content from the modal window to print, and not print from other wall items. Does anyone have any suggestions, if so I would greatly appreciate it as at this point, I am just banging my head on my desk.

Thanks,
Vince

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

More
9 years 7 months ago #4443 by GDragon
Dear edesigns,
Thanks for contacting us and choosing our product!
About your problem with jux news wall can you tell me more about what you want print from the modal window (maybe with screenshot). I'll check and help you!

Best regards,
--GD--

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

More
9 years 7 months ago - 9 years 7 months ago #4444 by Vince Holmen
Thank you for your response!

Essentially what I am trying to do is use the wall as way to display coupons (it's for a coupon magazine company).

[img size=500px] imgur.com/8Y3cBMa,v4cAi5f [/img]

I need to use the modal window as a way for visitors to print the coupon, I would like to print the entire modal window, but nothing else, this also needs to work individually, as in when print button is pushed, it doesn't try to print every wall item.

[img size=500px] imgur.com/8Y3cBMa,v4cAi5f#1 [/img]

It would be a huge life saver if you have any suggestions.

*** I should also mention I am using K2 items, not joomla articles

Thanks,
Vince
Last edit: 9 years 7 months ago by Vince Holmen. Reason: Additional Information

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

More
9 years 7 months ago #4446 by GDragon
Hi edesigns,
Thanks for your reply!
I checked news wall and let's try this tutorial. I didn't tested it because it's not a function in our product. Let's try and feedback:
jsfiddle.net/95ezN/3/
Hope this help!

*********
Regards,
--GD--

Best regards,
--GD--

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

More
9 years 7 months ago #4448 by Vince Holmen
I really appreciate your fast response!

Where would i put the Java script? in my template index or the news wall module? or somewhere else?

Appreciate it
Vince

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

More
9 years 7 months ago #4449 by GDragon
Hi,
About custom news wall. You can do all in
{root}/modules/mod_jux_news_wall/tmpl then open file default.php (joomla) and Default/default.php if use K2
Hope this help!

Best regards,
--GD--

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

More
9 years 7 months ago #4450 by Vince Holmen
I inserted the code as is, and it seems that the function breaks when I put it into the lightbox. When I click the print button, nothing happens.
<a href="http://imgur.com/gSrTeyw"><img src="http://i.imgur.com/gSrTeyw.png" title="source: imgur.com" /></a>

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

More
9 years 7 months ago #4451 by GDragon
Hi Edesigns,
Sorry but in this case I can't check it for you now.
I have tested this on popup and print working. However it print all page. Maybe this is a little help:
<a href="#" onclick="window.print();return false;">Print</a>

Best regards,
--GD--

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

More
9 years 7 months ago #4452 by Vince Holmen
I apologize, I selected the wrong insert, I was trying to insert a screen shot, not a code snippet, I am not using a image as a print button.

I tried using a button on the wall itself and not the pop up, which seemed to work, but only for the first item on the wall, the button would not do anything on the other items.

Any suggestions?

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

More
9 years 7 months ago #4453 by GDragon
Hi,
That's why I suggest you try this:
www.joomlaux.com/forum/jux-news-wall/189...m-lightbox.html#4446
I didn't check it. Let's check it yourself. Hope this help!

Best regards,
--GD--
The following user(s) said Thank You: Vince Holmen

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

Moderators: Jackie
Time to create page: 0.062 seconds
Powered by Kunena Forum