Formatting button injected code

Phoca Download - download manager
EnjoyRC
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 07 Feb 2011, 18:14

Formatting button injected code

Post by EnjoyRC »

I'm using the Phoca Download Button to insert [Play MP3] [Download MP3] [Preview PDF] [Download PDF] buttons into articles and other content.

Example of desired format:
Mary had a little lamb - [Play MP3 icon] [Download MP3 icon] [Preview PDF icon] [Download PDF icon]

Right now, this all works except each button is full width box...

Code: Select all

Mary had a little lamb
[Play MP3 icon                                            ]
[Download MP3 icon                                        ]
[Preview PDF icon                                         ]
[Download PDF icon                                        ]
How can I format the Phoca Download button to insert just the icon on the current line? So I can then insert another icon to the right of it....

Mary had a little lamb - [X] [X] [X] [X]
Happy Birthday - [X] [X] [X] [X]
Another Song - [X] [X] [X] [X]
EnjoyRC
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 07 Feb 2011, 18:14

Re: Formatting button injected code

Post by EnjoyRC »

Also.. a side note... the backend injected code does not work. It's way different than the dialog you get on the front end. And the VIEW type is the same no matter what you try in inject.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47905
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Formatting button injected code

Post by Jan »

Hi, for this you need to customize all the phoca download plugin code :-(

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