Oct 12, 2008 | 04:12 AM  
Welcome

Don't have an account yet? You can create one, it is free, just click here

as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
  Forum FAQForum FAQ   SearchSearch  UsergroupsUsergroups  PreferencesPreferences  Options forumOptions forum  Watched TopicsWatched Topics  Watched ForumsWatched Forums
Latest forum posts Latest forum posts  Log in to check your private messages Log in to check your private messages    Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
crtvlynx
MD user level 5
MD user level 5


Joined: Sep 14, 2004
Posts: 129

Member
Post  Posted: July 12, 2005 - 03:34 PM Reply with quote Back to top
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
View user's profile
PeteBest
MD user level 5
MD user level 5


Joined: Oct 06, 2003
Posts: 4845

bannato
Post  Posted: July 12, 2005 - 05:56 PM Reply with quote Back to top
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

_________________
Retired from official MAXdev duties
View user's profile
crtvlynx
MD user level 5
MD user level 5


Joined: Sep 14, 2004
Posts: 129

bannato
Post  Posted: July 13, 2005 - 09:42 AM Reply with quote Back to top

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.
View user's profile
PeteBest
MD user level 5
MD user level 5


Joined: Oct 06, 2003
Posts: 4845

bannato
Post  Posted: July 13, 2005 - 09:49 AM Reply with quote Back to top

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

_________________
Retired from official MAXdev duties
View user's profile
crtvlynx
MD user level 5
MD user level 5


Joined: Sep 14, 2004
Posts: 129

bannato
Post  Posted: July 13, 2005 - 10:28 AM Reply with quote Back to top

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
View user's profile
clubJWP
MD NewNew
MD NewNew


Joined: May 25, 2008
Posts: 1

bannato
Post  Posted: May 25, 2008 - 12:29 AM Reply with quote Back to top

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

_________________
Great printer toner and ink cartridge deals, discounts and coupons. Also, check out the latest printer reviews and technology news. http://blog.concordsupplies.com
View user's profile
Bonzo
MD user level 5
MD user level 5


Joined: Sep 15, 2004
Posts: 55
Location: Rome - Italy
bannato
Post  Posted: May 27, 2008 - 11:20 AM Reply with quote Back to top

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

_________________
Bonzo (aka Matteo Carletti)

www.isartegiovagnoli.com - Istituto Statale d'Arte di Sansepolcro e Anghiari
www.agriturismoilsasso.it || www.agriturismoanghiari.it
www.beccacciaiditalia.com
View user's profile Visit poster's website
Display posts from previous:     
Jump to:  
All times are GMT + 13 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by MDForum 2.0.8© 2003-2007 MAXdev Team
Credits