Duplicate entry \'0\' for key 1 SQL=INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`) \n VALUES (\'0\', \'1223296247\', \'Print - function\',\'\',\'\',\'view\',\'/index.php?option=com_fireboard&Itemid=42&func=view&catid=10&id=4552\', \'38.103.63.59\', \'0\')
Print - function (0 viewing)
Favoured: 0
|
|
|
TOPIC: Print - function
|
dyhex (User)
Expert Boarder
Posts: 146
|
|
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 <a href > ? Maybe this is a way to go?
Thanks for your help.
//Dyhex<br><br>Post edited by: dyhex01, at: 2007/09/01 20:41
|
|
|
|
|
|
|
Dont be afraid of the opposition: remember a kite rises against not with the wind!
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Print - function 1 Year, 1 Month ago
|
Karma: 2
|
dyhex01 wrote:
QUOTE: Hi again.
| 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">
|
//Dyhex<br><br>Post edited by: dyhex01, at: 2007/09/01 20:41
Maybe it will be beter with some like | Code: |
<a href="javascript:void window.open('http://DOMAIN.COM/index2.php?option=com_estateagent&act=object&task=print&id=XXXXX&pop=1&page=0', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');">
<img src="http://DOMEIN.COM/print.jpg" alt="Print" align="middle"(DEPEND OF PLACE OF OTHER BUTONS) border="1"(DEPEND OF STYLE OF THE OTHER BUTONS) />
</a>
|

GL Rimotevst
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
nunomsh (User)
Moderator
Posts: 160
|
|
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.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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 
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|