14
Quote:
easyb9 wrote: Any tutorial how to implement this for articles?
Before a creation of tutorials for xoops, we need to decide whether to build a php code that does this work or a smarty plugin type:
smarty_compiler_xoRating($argStr, &$compiler) {
// code here
}
or
smarty_function_rating($params, &$smarty) {
// code here
}
be invoked directly on template modules to this way:
<{$xoRating}>
or
<{$rating mid="$id" type="display|action" options="left|right|star.gif"}>