The module mod-since_last_visit_new.php does not currently check to see if a parameter has been set to set the title. As a result, the current code always displays "Since your last visit...".
The desired effect is to allow an authorized user to set the module title using the 'title=my custom title' parameter.
Change the 5 lines at the bottom of the script to:
$slvn_info = since_last_visit_new($user, $module_params); $slvn_info["label"] = (isset($module_params["title"]) ? $module_params["title"] : $slvn_info["label"]); $smarty->assign('module_title', isset($module_params["title"]) ? $module_params["title"] : $slvn_info["label"]); $smarty->assign('slvn_info', $slvn_info); $smarty->assign('nonums', isset($module_params["nonums"]) ? $module_params["nonums"] : 'n');
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |