OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

Joomla Real Estate

Go to bottom Favoured: 0

PDF Open

mquintus (Visitor)
Posts: 0
graphgraph
User Offline
PDF Open 12 Years, 3 Months ago
Karma: 0  
Hi

At the moment I have the edocument downloading when the user clicks on it. I am using pdf's and was wondering if there was a way to get the pdf to open in a new browser tab instead of downloading it?

Cheers
Logged Logged
The administrator has disabled public write access.
D-Man (Visitor)
Posts: 0
graphgraph
User Offline
Re:PDF Open 12 Years, 3 Months ago
Karma: 0  
Hello,

For open pdf in a new browser tab, you must open realstatemanager.html.php file.
Please, find area code like this:

<a onclick="window.open(this.href,'win2','status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no'; return false;" rel="nofollow" href="<?php echo $mosConfig_live_site; ?>/index.php?option=com_realestatemanager&amp;task=view&amp;id=<?php echo $id; ?>&amp;catid=<?php echo $catid; ?>&amp;itemid=<?php echo $Itemid; ?>&amp;printItem=pdf" title="PDF" rel="nofollow">
<img src="./components/com_realestatemanager/images/pdf_button.png" alt="PDF" />
</a>

and change him to this code:

<a rel="nofollow" href="<?php echo $mosConfig_live_site; ?>/index.php?option=com_realestatemanager&amp;task=view&amp;id=<?php echo $id; ?>&amp;catid=<?php echo $catid; ?>&amp;itemid=<?php echo $Itemid; ?>&amp;printItem=pdf" title="PDF" target="_blank" rel="nofollow">
<img src="./components/com_realestatemanager/images/pdf_button.png" alt="PDF" />
</a>

It should be noted that this feature more dependent on your browser and his settings

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
mquintus (Visitor)
Posts: 0
graphgraph
User Offline
Re:PDF Open 12 Years, 3 Months ago
Karma: 0  
But is that not changing the pdf that the real estate manager creates itself? That part already opens in a new window. Its the Edocument part I want to open and not download. I am uploading a pdf when creating the property and want that to open that instead of it being downloaded.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:PDF Open 12 Years, 3 Months ago
Karma: 102  
Hello,

Open File or download at main depend from browser.

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»