TinyPortal

Development => Support => Older SMF versions => Topic started by: valechan on July 09, 2011, 11:34:25 PM

Title: The HTML/Javascript Block changes my html/script and it doesn't show
Post by: valechan on July 09, 2011, 11:34:25 PM
Link to my site: thesanctum.com.ar
SMF version: SMF ver. 1.1.14
TP version: TinyPortal v1.0 beta
Default Forum Language: english
Theme name and version: default /changed by me
Browser Name and Version: any browser
Related Error messages: doesn't show

This is rather simple. I've tried to add some google (ads)/twitter(feed) scripts in html/javascript blocks, but as soon as I hit "save" the script is changed and it doesn't show on the website at all. Is there a way to stop the WYSIWYG editor from changing the script or the html??
Title: Re: The HTML/Javascript Block changes my html/script and it doesn't show
Post by: IchBin on July 11, 2011, 04:19:00 AM
Are you pasting the code directly into the editor in wysiwig mod? There's a button labeled "html" on the editor that changes it into code mode. You need to be in code mode in order to insert code into a block. Other wise it will not save properly.
Title: Re: The HTML/Javascript Block changes my html/script and it doesn't show
Post by: WillyP on July 11, 2011, 03:46:54 PM
Didn't we have a bug in earlier versions where it would not save correctly?
Title: Re: The HTML/Javascript Block changes my html/script and it doesn't show
Post by: IchBin on July 11, 2011, 04:20:39 PM
hmmm... you are probably right. I missed the "beta" part in his version. If you are indeed using a beta version, I'd suggest you upgrade.