MAXdev

MDPro theme design and support - Print URL How To

crtvlynx - July 12, 2005 - 04:34 PM
Post subject: Print URL How To
Sorry if this is posted somewhere else, if it is please just direct me to the post explaining how to do it.

Basically i want to be able to print any page. the propblem is i dont know what to put in the HREF part of the link, yes i know there is a autotheme command for this but it is for an IMAGE ONLY link.

thank you in advance
PeteBest - July 12, 2005 - 06:56 PM
Post subject: Re: Print URL How To
crtvlynx wrote:
Basically i want to be able to print any page. the propblem is i dont know what to put in the HREF part of the link, yes i know there is a autotheme command for this but it is for an IMAGE ONLY link.


Don't really follow you here. Do you want something like C-MD's "Printer Friendly Page" option but without the printer image?

If not, please try explaining again
crtvlynx - July 13, 2005 - 10:42 AM
Post subject:
basically i want to know what i need to make an image turn into a printer friendly link for example:


<a href="WHAT GOES HERE"><img src="SOME IMAGE DONT MATTER"></a>



Where it is bold (the href) what do i put there to make the image printer friendly. I have tried putting "?theme=AutoPrint" but that only works on SOME pages and not ALL.

hope this clears things up thanks.
PeteBest - July 13, 2005 - 10:49 AM
Post subject:
The Autotheme command to add a print icon simply adds:

'echo "<a target=\"_blank\" href=\"$thisurl\">$printimage"._AT_PRINTERFRIENDLYPAGE."</a>";'

Should be very easy to adapt to where you want it
crtvlynx - July 13, 2005 - 11:28 AM
Post subject:
IT WORKED!

wow i saw that and thought it wouldnt work..i mean "$thisurl" just seems too simple ...like the variable dosent even sound like it deals with printer friendly urls lol...thank you again petebest
clubJWP - May 25, 2008 - 01:29 AM
Post subject:
the command is mentioned below just copy and paste and it will work
'echo "<a>$printimage"._AT_PRINTERFRIENDLYPAGE."</a>";'

oh you already know about it. sorry anyways if there is any other problem feel free to contact

JWP
Bonzo - May 27, 2008 - 12:20 PM
Post subject:
But you have read the date's post?!?
It is of July 2005!!

Autotheme is not even more present in MDPro 1.0821. Now there is Autorender.

Bye
All times are GMT + 13 Hours
Powered by MDForum 2.0.8 © 2003-2007 based on phpBB © 2001, 2002 phpBB Team
and by MDRebel which uses Theme Graphics by Daz
and by Attachment-Mod 2.4.3