Phoca Download (3.0.6) basic limitations

Phoca Download - download manager
radik10
Phoca Member
Phoca Member
Posts: 22
Joined: 25 Oct 2008, 20:04

Phoca Download (3.0.6) basic limitations

Post by radik10 »

Hi,
Phoca Download is great, but has basic limitations by now:

1 - For downloads like PDF, JPG (or other images) there should be possibility to download them directly (display in browser) and not only trough save file (modal) dialog. Especially if you have displayed file, its name and download button. E.g. - pdf file is absolutely great to preview in browser, and not to download it, save, and later open in adobe acrobat. Every modern browser has capabilities to open pdf (or image) directly. Please see image (text in red color).

2 - There is not possibility to change H3 tag - in many times you need H1 instead of H3 tag. Joomla menu link (Phoca Download » List of Files (Category View)): "index.php?option=com_phocadownload&view=category&id=1" Please see image (text in purple/blue color).

3 - Weard category tag in "Title" meta tag. Please see image (text in green color). In settings is missing possiblity to "turn off" category name (as is possible to turn of Title for articles in blog layout.) So in title tag of webpage will by only menu title or downlaod category name (or vice-versa).

Used: Phoca Download 3.0.6 and Joomla 3.4.1
Thanks for reply (and hopefully changes).
R.J.

image:
Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download (3.0.6) basic limitations

Post by Jan »

Hi,

1) you can enable preview button for this. There is a difference between download and preview - if user wants to download the file, it should be downloaded not displayed. If user wants to preview the file, it will be previewed by preview function: https://www.phoca.cz/joomla3demo/phoca-d ... -documents

2) you can design it in CSS or if you want to change it into another html tag, you can customize directly the code or overwrite it per template.

3) see: components\com_phocadownload\views\category\view.html.php - method: _prepareDocument()

$this->tmpl['display_cat_name_title'] is prepared and in some of next version it will be added to parameters, for now you can hide it with changing to:

$this->tmpl['display_cat_name_title'] = 0;

Jan
If you find Phoca extensions useful, please support the project
radik10
Phoca Member
Phoca Member
Posts: 22
Joined: 25 Oct 2008, 20:04

Re: Phoca Download (3.0.6) basic limitations

Post by radik10 »

Hi Jan, thanks for reply.

1/ preview button is solution, but you mast have 2 copies of same file on server (one in "phocadownload" folder for download the file and second for preview file in folder "phocadownloadpap") -why??? I want to download and to preview same file (only 1 file uploaded to server, not 2) - that is reason of my previous complain described on image (point 1 - red color). If you have 50 files to download, and in same time you want to give possibility to preview them (e.g. magazine or other document type of webpage), you have double work and double number of files... because of separate folders for download and preview

2/ to have H1 or H2 and not H3 tags (for category name), it is about SEO - solution is to have something automatic, like: if you have "List of Files (Category View)" there will be H1 or H2 tag for category name (gray rectangle with green arrow) according of usage "page display - page heading" settings of menu item. If there will be displayed "page heading" text, phoca download category name will be H2 tag, and if there will not be present "page heading" text, category name will be in H1 tag. Same for list of parent/child categories. Child categories will have H2 or H3 tags (according "page heading" text. Or to have possibility to change H1 - H3 tags in phocadownload settings - again, problem is with Joomla "page heading" text - it is always H1 tag...

3/ it will be great to have it integrated very soon, thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Download (3.0.6) basic limitations

Post by Jan »

Hi,

1) it was requested by users - may sites uses Phoca Download this way:
- you have a file which users can download but they need to login
- such file they will protect behind public_html folder on their server - so they know such file is not accessible directly
- as they want to display some preview of the file which is not complete - only preview, they use another file.

Example: PDF book:

- file: completely PDF book - protected so it cannot be found per direct link
- preview: table of contents of this file and some example pages - stored in different folder so it can be previewed - you cannot preview file which is stored behind public_html, e.g.

So unfortunately, if you have some function which brings new features and new possibilities, mostly the managing, etc. will be complicated as you don't have any such functions :-(

2) unfortunately I cannot decide what is right or not - some says H1 should be a page title - like name of your site, some says a page heading (h1 should not change, h1 should change by page titles) - I can take a look at it but I think, I will follow Joomla! rules, so the site look unique when using different extensions. To change it for specific needs now, it can be overwritten in the code, or in template :idea:

3) ok

Jan
If you find Phoca extensions useful, please support the project
Post Reply