1
MikeShane
edit HTML editor
  • 2014/12/5 14:48

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


Where can I edit the HTDML editor using
XOOPS Version XOOPS 2.5.7
PHP Version 5.5.19
mySQL Version 5.5.40-36.1


Using the editor for youtube or flash I need to know how to change the [ and ] to < and > this does not work
When using editor the code it puts out is example: I have the [ and ] replaced with * or if will be unseen
*youtube=425,350*<iframe width="420" height="315" src="//www.youtube.com/embed/WK2siEQsADk" frameborder="0" allowfullscreen></iframe>*/youtube*

2
MikeShane
Re: edit HTML editor
  • 2014/12/5 15:11

  • MikeShane

  • Community Support Member

  • Posts: 144

  • Since: 2008/1/5 2


this is what happens when using the you tube button (above)


[/youtube]

3
Mamba
Re: edit HTML editor
  • 2014/12/5 19:00

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I am not sure, I understand what you're trying to accomplish, or what is the issue? For example, we are using this setting in this article, and the YouTube video works just fine. When we click on the YouTube button, it generates this code:
[youtube=425,350]http://www.youtube.com/watch?v=wSeyrKk5rHI[/youtube]
and XOOPS generates this HTML code:
<object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/wSeyrKk5rHI'></param><param name='wmode' value='transparent'></param><embed src='http://www.youtube.com/v/wSeyrKk5rHI' type='application/x-shockwave-flash' wmode='transparent' width='425' height='350'></embed></object>
The YouTube button is defined in /class/textsanitizer/youtube, but if you make changes there, they will be overwritten by next XOOPS update that you install, and you would have to customize it again.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

167 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 167


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits