PhocaDownload - Remove Text From Buttons

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
dmartin
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 11 Oct 2013, 11:12

PhocaDownload - Remove Text From Buttons

Post by dmartin »

Hi

Love the plugin - it's great. I am customizing it to fit the style of my website, and so far so good :D

One issue that I can't work out is how to remove the text from the "Details" button - see the image below as an example.

Image

As you can see I have opted for a symbolic button for the details instead of a text button - however the text is still there. I would like to remove it.

Thanks
Dan :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaDownload - Remove Text From Buttons

Post by Jan »

Hi, I think, you need to remove it directly in the output code:
components/com_phocadownload/views/category/tmpl/ ...

or you can try to hide the text by some css rule. :idea:

Jan
If you find Phoca extensions useful, please support the project
dmartin
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 11 Oct 2013, 11:12

Re: PhocaDownload - Remove Text From Buttons

Post by dmartin »

Aha worked it out.

In the location:
/language/en-GB/

look for a file called

Code: Select all

en-GB.com_phocadownload.ini
Then search for

Code: Select all

COM_PHOCADOWNLOAD_DETAILS
and then change the value to whatever you wish.

To remove all text from this simply remove all text between the quotemarks.

Please Note doing this will cause your button to "collapse" and you will need to set the size of the element using css (the custom css function inside the PhocaDownload control panel).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: PhocaDownload - Remove Text From Buttons

Post by Jan »

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