Remove link from title

Phoca Download - download manager
Scorpion
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Aug 2012, 15:55

Remove link from title

Post by Scorpion »

Hi,

when i choose the Filename or Title option, the File will be allways displayed as a Link, but it isnt clickable.

What is wrong?

Greetings Micha
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove link from title

Post by Jan »

Hi, which version of Phoca Download you are using?

Jan
If you find Phoca extensions useful, please support the project
Scorpion
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Aug 2012, 15:55

Re: Remove link from title

Post by Scorpion »

Hi Jan,

i use the latest Version of Phoca Download 2.1.8

Micha
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove link from title

Post by Jan »

If I set Filename, the filename is clickable, if I set title then the Title is clickable - so this should work OK

If you set the Filename and Title, then only filename is clickable but displayed is Title and Filename. To have other feature e.g. to have both Filename and Title clickable, you can customize the output:
components/com_phocadownload/views/category/tmpl/default_files.php

Jan
If you find Phoca extensions useful, please support the project
Scorpion
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Aug 2012, 15:55

Re: Remove link from title

Post by Scorpion »

Hi Jan,
Jan wrote:If I set Filename, the filename is clickable, if I set title then the Title is clickable - so this should work OK
No, both settings are unclickable. I have the download button on this side, this is connected with it?
Jan wrote:If you set the Filename and Title, then only filename is clickable but displayed is Title and Filename. To have other feature e.g. to have both Filename and Title clickable, you can customize the output:
components/com_phocadownload/views/category/tmpl/default_files.php
O.K., but when i set the option to Title, how do I remove the <a href> tag from the Title?

Micha
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove link from title

Post by Jan »

Hi, then you need to remove it directly in the code - in html/php in the file listed above.

Jan
If you find Phoca extensions useful, please support the project
Scorpion
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Aug 2012, 15:55

Re: Remove link from title

Post by Scorpion »

I found it! Thanks Jan!

Micha
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove link from title

Post by Jan »

Great to hear it.
Jan
If you find Phoca extensions useful, please support the project
Post Reply