Page 2 of 2
Re: opening pdf in new window
Posted: 23 Jun 2011, 00:40
by SonRiab
Ok, you are using PD for Joomla 1.5 obviously.

Should be one of this entries:
FILENAME - PREVIEW=Filename - Preview
PREVIEW=Preview
Re: opening pdf in new window
Posted: 16 Aug 2011, 16:30
by sboedie
I am having the same issue with Preview showing as Play on a Joomla 1.6 web site. I have followed the instructions above and cannot get it changed from Play to Preview. Any other ideas on how or where to make the change? I have been working on this on and off for several weeks and cannot get the change to the language file to take effect.
Re: opening pdf in new window
Posted: 20 Aug 2011, 00:27
by Jan
Hi, check if the translation is OK
I see no problem with original:
COM_PHOCADOWNLOAD_FIELD_FILEPLAY_LABEL="File - Play"
COM_PHOCADOWNLOAD_FIELD_FILEPREVIEW_LABEL="File - Preview"
COM_PHOCADOWNLOAD_PREVIEW="Preview"
COM_PHOCADOWNLOAD_PLAY="Play"

Re: opening pdf in new window
Posted: 11 Sep 2012, 23:19
by primoz
.
inspeckatahdeck wrote:
... but it is possible to change the word "Preview" to something else? ...
Actual name of the document instead of "Preview"
Is it possible to rename "
Preview" into the
real name of the document?
For pdf files I would use "Preview" button instead of download button.
Users can view pdf documents, and if they need it they can easily downloaded it and save it from preview pop up window.
I want
every pdf file to be seen first and than if needed downloaded. I have already changed path to the preview folder from (phocadownloadpap) to download folder (phocadownload), so i don't need to upload every pdf file twice.
Is there any better option for pdf files??
Where can i change the default width and height of preview window (I am using Phoca Download Button Plugin)?
Thanks for the answer.
primoz
Re: opening pdf in new window
Posted: 17 Sep 2012, 23:26
by Jan
Hi, yes the files should be uploaded twice - see similar posts where I have explained it (e.g. one pdf with table of contents for preview, second full for download) ... To upload it only one time, the code needs to be customized - depends on where you are uploading it, e.g. in frontend:
components/com_phocadownload/controllers/user.php
components/com_phocadownload/models/user.php
components/com_phocadownload/views/user/ ...
Jan
Re: opening pdf in new window
Posted: 19 Sep 2012, 21:56
by primoz
Sorry to ask you again:
I'm using Phoca Download component.
Actual name of the document instead of "Preview"
Is it possible to rename "Preview" into the "real name" of the document?
On my site i would like to use the whole Preview for all pdf documents instead of download button.
I just don't want to be shown the word "Preview".
I would like to be shown the real name of the document.
Users can preview pdf documents, and if they need it they can easily downloaded it and save it from preview pop up window.
I want every pdf file to be seen first and than if needed downloaded.
Is there any better option for pdf files??
Where can i change the default width and height of preview window (I am using Phoca Download Button Plugin)?
Thanks for the answers.
primoz
Re: opening pdf in new window
Posted: 27 Sep 2012, 20:25
by Jan
Hi, this needs to be customized in the code, you can change the "preview" string in language file, but if you want to display a filename (dynamically), this needs to be customized in the code.
Jan