Think of it like this...
The 1st editor is WYSIWYG editor like all drag/drop style sites ( but allows some embedding with the embed tool)
Like most WYSIWYG editors there is also a place to switch to html code in the editor -usually that is located in a tab that looks like this
( ebays editor is like this- but in the jamrooms editor they omit the letters 'html" so the same button looks like this
So if you look in the icons in the editor you will see it- if you click it -it will allow you to edit the html code in the WYSIWYG editor
Jamroom-because it also has smarty has a 3rd place to enter code- and its the one that is a tab written "CODE" in the widget
This third place accepts both html AND Smarty- This is where you will add your smarty code and html if you like
Example would be if you made a template and wanted to add it to the code in the widget you would use
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><span style="color: #ffffff;">Welcome To My Template</span></h3>
</div>
<div class="panel-body">{jrCore_include template="MY TEMPLATENAME.tpl"}</div>
(notice I used both html and smarty here)
Important point-You can add HTML-SMARTY or a contamination of both here
You would add this using the CODE tab of the editor
So you have
*WYSIWYG
* tab-which is html side of the WYSIWYG
and
*CODE- where you add Smarty or html or a combination of both
NOW to confuse you further try to remember you can have totally different code in the WYSIWYG editor and the CODE editor... BUT only the one you save it as is the one that will be rendered. THE CODE YOU "DIDN"T" SAVE IT AS WILL STILL REMAIN THERE FOR FUTURE REFERENCE BUT WONT PUBLISH TO THE SITE
Many times I will use the WYSIWYG editor to add images and other items-THEN- I will go to the editor and copy the source html of what is in the WYSIWYG editor- and paste it into the CODE editor and add my Smarty to it there- the first few weeks I thought it was totally retarded to leave the code in both areas- if only one was being used- but after I started using it like this I decided it was brilliant AND really useful because it saves me from having to write the html code..I just create it with the WYSIWYG editor then copy/paste it over and add my Smarty code to it ( like the above example)
Took me awhile to wrap my mind around this also- I hope this is helpful
updated by @derrickhand300: 04/10/15 08:41:57PM