P1X3LPU5H3R
Results 1 - 2 of 2
byP1X3LPU5H3R, September 28, 2009
I really needed this functionality. In my instance I am using this with sexy bookmarks to make my bookmarks in the content-bottom module position. So I chose the {plugin CODE} type. In the box below I have "sexybookmark" (without quotes, and without {s as indicated). However when I tried to load the module all that was displayed was {sexybookmark }. Notice the space before the trailing curly bracket. If I put {sexybookmark} in the "plugin to execute" field it works but then {} are displayed above the module.
I knew it must be a coding error, so with my limited knowledge of php I started to look for extra spaces. I got to helper.php and found the culprit.
if your having the same problem
look around line 17 in helper.php for:
[code]
$miscinfo->text = $params->get('advancedbefore').'{'.$params->get('plugin').' '.$params->get('command').'}'.$params->get('advancedafter');
[/code]
and then delete the exrta space between the '' like so:
[code]
$miscinfo->text = $params->get('advancedbefore').'{'.$params->get('plugin').''.$params->get('command').'}'.$params->get('advancedafter');
[/code]
Everything was cake after that.
I knew it must be a coding error, so with my limited knowledge of php I started to look for extra spaces. I got to helper.php and found the culprit.
if your having the same problem
look around line 17 in helper.php for:
[code]
$miscinfo->text = $params->get('advancedbefore').'{'.$params->get('plugin').' '.$params->get('command').'}'.$params->get('advancedafter');
[/code]
and then delete the exrta space between the '' like so:
[code]
$miscinfo->text = $params->get('advancedbefore').'{'.$params->get('plugin').''.$params->get('command').'}'.$params->get('advancedafter');
[/code]
Everything was cake after that.
Owner's reply
Sorry I was full of work in the last time, I've now solved the little bug!
Thanks!
byP1X3LPU5H3R, September 28, 2009

