Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Instant Website: Realty/Listings/Auto:
Code for Printing web page

 

 


randyprod
User

Mar 26, 2009, 10:44 AM

Post #1 of 5 (2192 views)
Shortcut
Code for Printing web page Can't Post

Could someone tell me what code to put and where to have RE listing on detail page print and also code for same to email to viewers email address?


ross
Staff / Moderator


Mar 27, 2009, 10:17 AM

Post #2 of 5 (2171 views)
Shortcut
Re: [randyprod] Code for Printing web page [In reply to] Can't Post

Hi there.

Thanks for posting!

What sort of printing did you want to do. There are two main ways that we usually do it. One would just be a simple Javascript link that prints the page as is. The second would be setting up a printer friendly template. Which option do you like best?

The email form is a bit more complicated. If you sent me an email through consulting@interactivetools.com, I can send you some code to work with. We can also setup a project so that I actually just get the form working for you.

How does that all sound? Let me know what you think :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/



randyprod
User

Mar 27, 2009, 10:25 AM

Post #3 of 5 (2169 views)
Shortcut
Re: [ross] Code for Printing web page [In reply to] Can't Post

Hi Ross,

Thanks for getting back to me. I think a javascript link would be just fine so that the viewer could print out the page as it is. I like the sound of printer friendly template too. Which ever is easy to incorporate would be great thanks.

I will email you at consulting so you can give me code to apply to that people could email that page viewed to them selves for future reference.

Thanks for your help!

Respectfully, Randy

CC Consulting


Donna
Staff / Moderator


Mar 30, 2009, 3:35 PM

Post #4 of 5 (2146 views)
Shortcut
Re: [randyprod] Code for Printing web page [In reply to] Can't Post

Hi there!

The Javascript code to pop up the Print Page box is pretty easy:

<a href="JavaScript:window.print();">Print this page</a>

That's it! Pop that into your page wherever you want your "Print this page" text to appear (replace the text with an image if you want it to be a button instead) and off you go. :)

Donna

--
support@interactivetools.com


randyprod
User

Mar 31, 2009, 9:44 AM

Post #5 of 5 (2052 views)
Shortcut
Re: [Donna] Code for Printing web page [In reply to] Can't Post

Thank you for makng that easy yo understand an do!