Question
I'm writing a simple plugin (source is attached) and if the plugin is activated in a web, where
EditTablePlugin is activated too and it has too much rows, then the table will hang.
It's like this one:
Environment
--
AngelGerdzhikov - 08 Jun 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
$_[0] =~ s/%CREATETOPICSFORM%/$form/ge;
Is not a regular way to do this and could get you into trouble really fast. Normally you would create a local function (i.e. handleForm) in the module and call that:
$_[0] =~ s/%CREATETOPICSFORM%/&handleForm/ges;
Try looking at a few of the exisiting plugins for inspiration!
--
SteffenPoulsen - 24 Jun 2006