X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FWci%2FForm%2FCreateWidget.tpl;h=5737d69a569af96693d9444a552f28d0106b7f24;hb=cb59e7c2fba16f5ce5fd2a047de8a604626e1354;hp=350ef9a67db859749a759298247dc634b2a45572;hpb=ac7663cd95ca577447f8194950dc6c6e0fd96be3;p=com.zyxware.civiwci.git diff --git a/templates/CRM/Wci/Form/CreateWidget.tpl b/templates/CRM/Wci/Form/CreateWidget.tpl index 350ef9a..5737d69 100644 --- a/templates/CRM/Wci/Form/CreateWidget.tpl +++ b/templates/CRM/Wci/Form/CreateWidget.tpl @@ -14,6 +14,7 @@ {/foreach} +{* {if $form.title.value != ""} *} {php} if(isset($_REQUEST['id'])) { $wid_id = $_REQUEST['id']; @@ -27,6 +28,7 @@ $wcidata = $template->fetch('string:' . base64_decode($wid_page[$dao->id]['custom_template'])); } $widget_controller_path = getWciWidgetControllerPath(); + $extension_root_path = getExtensionRootPath(); } {/php} @@ -37,49 +39,9 @@
{literal} - {/literal}
@@ -91,17 +53,13 @@ function onReady( ) {
{* {include file="CRM/Wci/Page/wciwidget.tpl"} *} - - - + +
+{* {/if} *} {* FIELD EXAMPLE: OPTION 2 (MANUAL LAYOUT)