Installing Widgets

Downloading Widgets

The first step to installing a widget is downloading a widget. To do this, head over to the Extension Store and download the widget you want to install. You can only install one widget at a time, so you will need to follow these directions for each widget you want to install.

Installing Widgets

Once you have downloaded a widget from the extension store, you can install it by following these directions:

  • Unzip the file to your local hard drive.
  • You will find two files for each widget:
  • install.php
  • widget_name.php (optional: this will only be included for "PHP Code" widgets).
  • Using a plain text editor, such as "Notepad" (in windows: Start > Run > Notepad), open the install.php file and edit the following lines:

Before

$widget_id  = 'upload_list';
$widget_name = 'Upload List';

After

$widget_id  = 'my_custom_widget_name';
$widget_name = 'Custom Upload List Name';
  • Upload both of these files to the "custom/widgets" directory of your Zenbership directory.
  • From the Zenbership administrative dashboard, click on "Connect > Widgets > Run Installer".

The widget will be installed and will now be available for use throughout your pages and templates. Click here for information on displaying the widget on a page or template.

Auto-Installer

Widgets that don't have any option can be easily installed by uploading the widget's file into the "custom/widgets" folder and accessing the "Content > Widgets" page of the administrative dashboard.

Article Links

Related Articles

Article Tags

  • No tags found.

Details

Published on 2013/07/10.
Last updated on 2013/07/21.

Was this article helpful?
Yes (0) - No (0)