sn_widgets - Use to implement widgets in Extenso.
sn_widgets(uid:integer,table:string,lg:string,position:string[, add:boolean])
This function is use to implement widgets in Extenso.
Widgets definition are in the table sn_widgets.
Widgets instantiation are in the table sn_widgets_list.
Widgets positions are in the table sn_widgets_position. If new positions are added, publish of fullpage must be done. You can do it in sn_widgets_position also.
If the widget has the checkbox publish set, the widget will be included dynamically in the page. Otherwise, it will be read in the page.
%include "/extenso/functions/sn_widget.snc"; ⟨⟨ sn_widgets(table:"pages",uid:1,lg:lg.rows.lg,position:"right"); ⟩⟩
Written by Pierre Laplante
1.0 2014-09-09 21:24:14 laplante@sednove.com