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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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