Page 1 of 1

Found/fixed Glossary error on template="template-id"

Posted: Wed Dec 05, 2007 4:52 pm
by Lew
Have reported this bug (http://dev.cmsmadesimple.org/tracker/in ... 2&atid=241) and just adding it here in case others having same issue.

Using Glossary 0.6 on CMS 1.2.2

Created optional (non-default) glossary template and tried to use with {cms_module module="glossary" cat="xxx" template="13"} -- where '13' is the template id of my newly created template.  Still always got the default template being applied.

In file 'action.default.php' at line 172, found a typo ...

    if (isset($param['template']))

should be

    if (isset($params['template']))

Made this change and it now works as expected.

Lew