Add/Update Widget

 

Introduction

Creating New Widget

Managing Widget

Adding Widget to Your Website

Adding Widget in Multiple Languages

 

Introduction

Widgets are a handy and simple means to add some flash to your website. Whether you wish to  add a simple banner/advertisement, a piece of information or display the number of visitors on your website, you can do it with widgets. You can easily create  widget through your CMS and add it to any part of your website through the Template Editor. It is also easy to delete or edit the widgets through your CMS.

 

Creating New Widget

  • To create new Widget, go to “Website-->Widgets” in your CMS.
  • Click on “Add New Block” (See Below Screenshot)

 

 

  • In the next page, type the Widget Name, Widget Code (You can give any name) and create your Widget Content. (See Below Screenshot) Here in the content editor you can add text, image, links etc.
  • After creating your Widget, click on “Save and Continue”.

 

 

Managing Widget

Once you create your Widget, you can see it under the Widgets list. (See Below Screenshot)

  • If you wish to delete a widget then, click on “Delete” on the right hand side of the widget under “Action
  • To edit a widget, you simply need to click on “Edit” on the right hand side of the widget under “Action

 

 

Adding Widget to Your Website

After creating the Widget, you need to add it to your website. You can add the Widget to any page of your website and also any part of a particular page. You can add the Widget to your website through the Template Editor.

  • Open the Template Editor. (Go to “Website-->Templates-->Select Template” and click on “Edit Template”)
  • Open the page in the Template Editor to which you want to add the Widget.
  • Then insert the Widget Code (See Above Screenshot. Here the Widget Code is "Test_Widget") and click on “Save”.
  • After adding the Widget to your website, click on “Preview Website” to see the widget on your website.

Note: You can insert the Widget Code anywhere in your website by using this code  {$this->widgets['Test_Widget']['content']}. Here "Test_Widget" is your widget code.

 

 

Adding Widget in Multiple Languages

You can add Widget in multiple languages. For this, first you need to create the Widget in English. Then, you can change it to any language.

  • Create the Widget as mentioned above
  • Click on "Edit" under "Action" to edit the Widget
  • Select the language from the drop-down list
  • Change the Widget language from English to the selected language
  • Click on "Save and Continue"

 

 

  • You need to add the Widget to your website as mentioned above. When your users select their preferred language from the drop-down on your website, they can view the Widget in that language.

 

We use cookies for best experience on website. By using our site you agree to

Cookies Policy