plugin syntax(pre, suffix) - how to add more attributes?

More
14 years 4 months ago #2680 by damiandab
Hi,

Thanks for great component. I'm wondering how can I add more attributes for a plugin, the prefix and suffix are not always enough.
I'm using lightbox/popup to display my videos(rokbox plugin):

Syntax:
Code:
{rokbox title=|$text1 :: $text2| thumb=|$image-url| album=|$text3|}$movie-url.flv&buffer=10&autostart=true&image=&image-url2&fullscreen=true&width=$width&height=$height{/rokbox}


In above syntax I have prefix, suffix and lot's of attributes and dynamic values.

It possible with flexi to create such a field for video-lightbox, where I have inputs for every attribute?

For pre and suffix it's easy, for movie url I can use sql query(select), but what about other parameters like title, thumbnail,album, width, height?

Thanks for any helpfull answer.

Best,
Damian

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #11854 by laracraft
I'm interested in this too! I am trying to figure out howto do this, is there anybody who can help? I would really appreciate it. Thanks.

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #11861 by micker
it's a great idea ... but we didn't enouhgt dev to do this ...
we have an alias plugin idea to charging other field
for exemple
field width
field height
field alias =field width+ field height

if you have some devellopper competence welcom !

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #11877 by laracraft
No, I don't not know howto code. Now I'm simply inserting the code in a textarea after enabling the plugin for that area. In this way I can have the image and rokbox video.
eg: [url=http://www.youtube.com/watch?v=xxxxx" rel="rokbox[480 385]]<img alt="image" src="xxx.jpg" />[/url]
Thanks for answering, bye!

Please Log in or Create an account to join the conversation.

More
13 years 6 months ago #11904 by micker
sory me to ! :oops:
i can help with my less competence ...
regards

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.303 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline