Remove link from title

Scorpion
Phoca Member
Phoca Member
Posts: 11
Joined: 02 Aug 2012, 15:55

Remove link from title

Postby Scorpion » 27 Jan 2013, 23:47

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: 37045
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove link from title

Postby Jan » 29 Jan 2013, 20:56

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

Postby Scorpion » 29 Jan 2013, 21:44

Hi Jan,

i use the latest Version of Phoca Download 2.1.8

Micha

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

Re: Remove link from title

Postby Jan » 30 Jan 2013, 23:47

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

Postby Scorpion » 31 Jan 2013, 02:22

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: 37045
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove link from title

Postby Jan » 05 Feb 2013, 22:19

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

Postby Scorpion » 05 Feb 2013, 23:33

I found it! Thanks Jan!

Micha

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

Re: Remove link from title

Postby Jan » 08 Feb 2013, 00:34

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


Return to “Phoca Download”

Who is online

Users browsing this forum: No registered users and 1 guest