1
stefan88
Smarty plug in question - solved
  • 2006/11/18 23:07

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

is there a way to get current module name or dir in smarty plugin and how ...


[EDIT]

GLOBAL $xoopsModule;
$module = $xoopsModule->getVar('dirname');
...
..

2
snow77
Re: Smarty plug in question
  • 2006/11/18 23:11

  • snow77

  • Just can't stay away

  • Posts: 864

  • Since: 2003/7/23


maybe < {$xoops_pagetitle} >

without the spaces after and before < >

3
stefan88
Re: Smarty plug in question
  • 2006/11/18 23:24

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,
Thanks for the answer , but this is not what I need.

Lets say I have "insert.pluginname.php" file in class/smarty/plugins folder with "functionfunction smarty_insert_pluginname()". So the quuestion is how to get current module name within that function?
..

Login

Who's Online

175 user(s) are online (57 user(s) are browsing Support Forums)


Members: 0


Guests: 175


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits