Home arrow Forum
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





Lost Password?
No account yet? Register
Stay Tuned!
 
Who's Online
We have 1 guest and 2 members online

powered_by Joomla
Duplicate entry \'0\' for key 1 SQL=INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`) \n VALUES (\'0\', \'1223296962\', \'Print - function\',\'\',\'\',\'view\',\'/index.php?option=com_fireboard&Itemid=42&func=view&id=4552&catid=10\', \'38.103.63.59\', \'0\')
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Print - function (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Print - function
#4552
dyhex (User)
Expert Boarder
Posts: 146
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
Print - function 1 Year, 1 Month ago Karma: 4  
Hi again.

Ok, I'am close to a solution printing the exposé in a pop-up window only. The only thing is how to query the itemID. Maybe someone of you can help me out in this case since my PHP skills seems to be a bit rusty

here is the code:

Code:

<a href="javascript:void(0);" onmousedown="window.open('http://yourdomain.com/index2.php?option=com_estateagent&act=object&task=print&id=XXXXX', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=800,height=600,directories=no,location=no');" title="Print"><img src="http://yourdomain.com/print.jpg" alt="Print" align="middle" border="0" /></a></td></tr><tr><td colspan="2">
I markt the position where the idemID has to be placed with XXXX. As far as I know it is possible to use PHP in the &lt;a href &gt; ? Maybe this is a way to go? Thanks for your help. //Dyhex<br><br>Post edited by: dyhex01, at: 2007/09/01 20:41
 
Report to moderator   Logged Logged  
 
Dont be afraid of the opposition: remember a kite rises against not with the wind!
  The administrator has disabled public write access.
#4559
Rimotevst (User)
SoftKit - BG Work Team
Expert Boarder
Posts: 122
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Rimotevst Rimotevst Location: Varna town Bulgaria Birthdate: 1000-10-10
Re:Print - function 1 Year, 1 Month ago Karma: 2  
dyhex01 wrote:
QUOTE:
Hi again.
Code:

&lt;a href=&quot;javascript:void(0);&quot; onmousedown=&quot;window.open('http://yourdomain.com/index2.php?option=com_estateagent&amp;act=object&amp;task=print&amp;id=XXXXX', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=800,height=600,directories=no,location=no');&quot; title=&quot;Print&quot;&gt;&lt;img src=&quot;http://yourdomain.com/print.jpg&quot; alt=&quot;Print&quot; align=&quot;middle&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;
//Dyhex&lt;br&gt;&lt;br&gt;Post edited by: dyhex01, at: 2007/09/01 20:41
Maybe it will be beter with some like
Code:

&lt;a href=&quot;javascript:void window.open('http://DOMAIN.COM/index2.php?option=com_estateagent&amp;act=object&amp;task=print&amp;id=XXXXX&amp;pop=1&amp;page=0', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');&quot;&gt; &lt;img src=&quot;http://DOMEIN.COM/print.jpg&quot; alt=&quot;Print&quot; align=&quot;middle&quot;(DEPEND OF PLACE OF OTHER BUTONS) border=&quot;1&quot;(DEPEND OF STYLE OF THE OTHER BUTONS) /&gt; &lt;/a&gt;
GL Rimotevst
 
Report to moderator   Logged Logged  
 
Unique, amaizing, unnormal or just MySelf.
SoftKit-BULGARIA
  The administrator has disabled public write access.
#4698
nunomsh (User)
Moderator
Posts: 160
graphgraph
User Offline Click here to see the profile of this user
Re:Print - function 1 Year ago Karma: 6  
You need to insert the function in class.estateagent.php and then insert it in the heather.

Don't forget to also have that option in config so you can make it active or not.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4782
lquezada (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Print - function 1 Year ago Karma: 0  
nunomsh wrote:
QUOTE:
You need to insert the function in class.estateagent.php and then insert it in the heather.

Don't forget to also have that option in config so you can make it active or not.


Im trying of do this but i have a little problem jeje, i need know where insert the function in the .php or in the .html?, you said insert in the header but i dont understand which header

Pls if you have a little time help me
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5091
countrydave (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Print - function 10 Months, 1 Week ago Karma: 0  
Did This work ? as I am looking to get the expose page to print also. Any Help greatfully recieved.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop