Skip to content

Latest commit

 

History

History
123 lines (91 loc) · 2.91 KB

readme.md

File metadata and controls

123 lines (91 loc) · 2.91 KB

xoops-widget

XOOPS-Widget is a XOOPS Cube Legacy module.

You can add small widgets to your site like map, twitter, text, etc. with this module.

Requirement

XOOPS Cube Legacy 2.2 or later

Template

This module's template based on Bootstrap, from Twitter. I recommend to use theme of Bootstrap based.

Included Plugins

  • Amazon
  • ATND
  • HTML
  • Google Maps
  • Menu
  • Twitter
  • Smarty
  • RSS
  • Counter
  • Simplebanner
  • Mini Calendar
  • Social Buttons

Terms of this module

  • Plugin: Plugin contains settings, language file, templates for some sort of function. For example, showing Google map, showing Tweet, showing social buttons.
  • Instance: Installed Plugin. Also called 'Widget'. A Plugin can installed many times with different config value.

How to Use

  • From the top page of this module, click Plugin List(プラグイン一覧)
  • Plugins you can install are listed. Click "Add"(追加) Button you want to install.
  • Input options for the plugin then click "Send" button. You don't have to input "template" field.
  • New instance of the plugin are installed now.
  • Add a new block of Widget module from admin panel. Input instance id you installed.

Use with Smarty in template

You can show widget on template, instead of block.

Use 'xoops_widget' smarty function.

ex) <{xoops_widget dirname="widget" widget_id=3}>

You can overwrite option value by smarty parameter like below. <{xoops_widget dirname="widget" widget_id=3 p_username="kilica"}> In this case, "p_username" option is replaced by "kilica".

History

2013-06-11 [0.41]

  • Add Socialbutton Plugin

2013-04-26 [0.40]

  • Add Block Install

2013-04-04 [0.38]

  • Add Mini Calendar Plugin

2013-04-04 [0.37]

  • Fix Bug about update module

2013-04-02 [0.36]

  • Fix Bugs about plugin interface
  • Use call_user_func_array() instead of call_user_func() because of reference issue.

2013-01-21 [0.35]

  • $form is added as prepareEditform() first argument

2013-01-16 [0.34]

  • Fix Bug : move html class of "datePicker"

2013-01-16 [0.33]

  • Fix Bugs: config.ini array with index number was invalid format.
  • Fix Bugs: Block template update when module updated.
  • Add edit button at View

2012-12-28 [0.32]

  • Simple Banner plugin added.

2012-12-21 [0.31]

  • RSS Plugin update
  • Fix bug: getImageNumber function adopting for under PHP 5.3

2012-11-09 [0.30]

  • Bootstrap template

2012-10-05 0.26

  • Add Counter Plugin
  • Add RSS Plugin

2012-08-30 0.25

  • Fix Bug: Load Plugin timing in block show

2012-08-29 0.24

  • Add Amazon plugin

2012-08-29 0.23

  • Add ATND plugin

2012-08-29 0.22

  • Expand Twitter plugin for search, faves, list
  • Add prepareEditform() method for plugin

2012-07-14 0.21

  • Add Menu plugin

2012-07-13 0.20

  • Add Smarty plugin

2012-07-12 0.10

  • First Release