OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: PDF Open
#5401
mquintus (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
PDF Open 4 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.
#5415
D-Man (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:PDF Open 4 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.
#5416
mquintus (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:PDF Open 4 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.
#5432
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:PDF Open 4 Years, 3 Months ago Karma: 61  
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
What are you looking for?
Anti-spam question: How many eyes has a typical person?