| Main menu |
|---|
| Joomla |
|---|
|
Page 2 of 4 Simply wrap you HTML or javascript sections in {htmlfix} and {/htmlfix} tags directly in the wysiwig editor. That's all! Really! When the document is displayed, the mambot decodes the HTML entities introduced by the editor so the code will work again. Here is an example: HTMLFIX MambotNormally this manually inserted HTML code wouldn't show up as expected because the wysiwyg editor breaks the code. Fortunately, the HTMLFIX mambot solves the problem once and for all! And here is how it is written in the editor: {htmlfix} <div style="width: 300px; border: 1px solid gray; padding: 10px;"> <h1>HTMLFIX Mambot</h1> <p>Normally this manually inserted HTML code wouldn't show up as expected because the wysiwyg editor breaks the code.</p> <p>Fortunately, the <strong>HTMLFIX mambot</strong> solves the problem once and for all!</p> </div> {/htmlfix} Htmlfix in Static Content In static content you cannot use the normal approach as the editor for some reason interprets the tags as html as soon as you press Apply or Save, ie. even before Htmlfix gets a chance to do its job. To circumvent this problem, Htmlfix as of version 1.03 allows you to specify a "safety character" to ensure the tags don't get eaten up be the editor. You specify the character by inserting it just before the closing bracket in the htmlfix tag, like: {htmlfix } < b>You can now use space as "safety char"< /b>{/htmlfix} {htmlfix:} <:b>You can now use colon as "safety char"<:/b>{/htmlfix} It is important that you always make the {htmlfix} block as tight as possible. Only insert the tags around HTML/Javascript code. Wysiwyg formatting inside the tags will be removed! {htmlfix} This bold text will not show up as bold <br> <b>But this will!</b> {/htmlfix} |
||||||
| Last Updated ( Wednesday, 15 November 2006 ) | ||||||