Page 1 of 1

Formatting button injected code

Posted: 07 Oct 2015, 20:54
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]

Re: Formatting button injected code

Posted: 07 Oct 2015, 21:31
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.

Re: Formatting button injected code

Posted: 13 Oct 2015, 15:29
by Jan
Hi, for this you need to customize all the phoca download plugin code :-(

Jan