Ok I sort of found it in this thread:
https://vborg.vbsupport.ru/showthrea...home+page+only
So based on what was said here, I made a new template called: vbcms_widget_static_page_home
Here's the code for it:
Code:
<vb:if condition="$_GET[r] == "">
<div class="cms_widget">
<div class="block">
<div class="cms_widget_header">
<h3><img src="{vb:stylevar imgdir_siteicons}/html.png" alt="" /> {vb:raw widget_title}</h3>
</div>
<div class="cms_widget_content widget_content">
{vb:raw static_html}
</div>
</div>
</div>
</vb:if>
Then for my static HTML widget I put this as the template under the "configure" option like you said. However, when I go to save this template I get the following error:
Quote:
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
|
And the when I reload my home page I get this at the top:
Quote:
Parse error: syntax error, unexpected ')' in /home/xxxx/public_html/includes/class_core.php(4596) : eval()'d code on line 1
|
And the widget doesn't show up at all. So what am I doing wrong here?