Skip to content

Commit

Permalink
Update index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicLaca committed Feb 7, 2016
1 parent 12a4581 commit 8411d21
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ Address
---------

- Usage code example::
$ <?php M_Template::widget('address'); ?>

<?php M_Template::widget('address'); ?>

This widget have no parameters, creating search box for map, the widget centering map for the search address.
The search string must be real name (for example city name) to get real latitude and longitude.
Expand All @@ -31,15 +32,17 @@ Bottom menu
------------

- Usage code example::
$ <?php M_Template::widget('bottommenu', array($ID)); ?>

<?php M_Template::widget('bottommenu', array($ID)); ?>

Display bottom menu items. This widget have 1 parameter, the menu ID.

Allmeta box
-------------

- Usage code example::
$ <?php $this->widget('box_allmeta'); ?>

<?php $this->widget('box_allmeta'); ?>

This widget have no parameters, creating list (table) of all meta data of content.
This widget is ideal for right column. The disabled meta names is on the row 13 on the code.
Expand Down

0 comments on commit 8411d21

Please sign in to comment.