Tokens in HTML

vidiman's picture
vidiman
Fri, 03/14/2014 - 00:27
#1
Tokens in HTML

Is there any method that would allow "token insert" to work inside an MD Slider HTML text area? Clearly MegaSlider operates outside the normal WYSIWYG text formats, but I thought there may be a way. If one needed to make this work with PHP code modification, where would I start?

cindy's picture
cindy
Fri, 03/14/2014 - 06:58

Hi,
Could you please clarify your question cause we rather confuse about it
Regards,

vidiman's picture
vidiman
Fri, 03/14/2014 - 20:15

https://drupal.org/project/token

https://drupal.org/project/token_filter

Not sure why it's confusing. I spelled out "token filter" in quotes. Are you asking me to explain what tokens are? I think I was pretty specific. They are a fundamental part of how Drupal includes text content in HTML areas.

"Tokens are small bits of text that can be placed into larger documents via simple placeholders, like %site-name or [user]. The Token module provides a central API for modules to use these tokens, and expose their own token values. If you had tokens enabled in the field I am typing in now the [user] code above would instead appear as "vidiman".

So how should I add the tokens (and token filter) to appear in MD slider? Your a Drupal company. If you don't understand my question, please spend 2 minutes to educate yourself so you can answer the question intelligently. Thank you.

cindy's picture
cindy
Sun, 03/16/2014 - 23:31

Hi,
Firstly, thanks for your comment.
Now we understand what you mean. However, we currently do not support "Token filter", only normal text.
Thanks again for your contributive comment.
Regards,

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.