It should be possible to send parameters directly to a
plugin instead of defining special areas in the
content-file (as many plugins do nowadays). This would
be more clear, has less problems when using a plugin
for several different uses in one page and makes the
usage of plugins in templates more feasible.
Instead of
{PLUGIN FILE="Pfad_zum_PlugIn/PlugIn.php" TYPE="DYNAMIC"}
it should be possible to use the following
{PLUGIN FILE="Pfad_zum_PlugIn/PlugIn.php"
TYPE="DYNAMIC" PARAM="./database-file.xyz, ./custom.ini"}
or even
{PLUGIN FILE="Pfad_zum_PlugIn/PlugIn.php"
TYPE="DYNAMIC" source="./database-file.xyz"
config"./custom.ini"}
These parameters should be available from the
plugin-code via a special variable (e.g. called
$ARGUMENTS). This would be a string in the first or an
associative array in the second case.
Logged In: YES
user_id=684435
The discussion how the parameters should be passed to a
plugin is at the phpCMS board
(http://phpcms.de/forum/showthread.php?id=3373).
Tobias