I want to add a html payment button via tinymce, but when I publish it didnt display.
How can I solve this issue?
Thanks
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- insanedb@insanedb
insanedb - 0 likes
- Brett@brett.profitt
Brett - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- iconMatrix@SteveAquila
iconMatrix - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- insanedb@insanedb
insanedb - 0 likes
- insanedb@insanedb
insanedb - 0 likes
- Matt Beckett@Beck24
Matt Beckett - 0 likes
- insanedb@insanedb
insanedb - 0 likes
adc - 0 likes
You must log in to post replies.Anyone?
In order to help troubleshoot your problem, we need more information like how you added the button, links to the code you used, and what errors you're getting.
Tinymce + htmlawed will strip way all the html tags you enter in the input field. Thats why the button is not appearing.
If it is indeed the the htmlawed that is stripping the button, then you can try disabling htmlawed, republish your button, then enable htmlawed. Remember the last step, enable htmlawed
Hope this helps
it is big security risk if you disable htmlawed. Because the contents in Elgg are not added by a few trusted users. Its a community software. So all the inout fields needs to be scanned and cleaned before saving to DB. If you are disabling htmlawed, make sure you enable it back.
Thank you for the reply guys.
I disabled the htmlawed and replublish and nothing happens.
May be I need a custom field to support and allow this kind of html code insted use TinyMCE.
Where could I start to do this? or What can you suggest?
The source: https://www.mercadopago.com/
This is the code Im trying to use:
And the code was published as a button
????????
It seem that in tinymce comments you can but in Market plugin's tinymce description field you cant
Where can I play with this?
You'll need to look at what the market plugin is doing with the input. I don't know the plugin so I can't tell you a specific place to look. I would start by looking at the actions though.
Thanks Matt
there is one way. use a text link instead of a button.