Created the plugin but am still playing with it.
Found that if I want to pass values, I either had to use a URL reference to
the script or instead include variables in the plugin function. In this
case, the script I am including does not look for $_GET values but rather
preset variables so...
It can now be used like:
[(phpinclude script="{wv-webroot}/advforecast2.php" doIncludeNWS=true )]
{wv-webroot} is obtained from the Web Visitor plugin and provides the
webroot location so you at least know where to start with the path.
Where the script = the php script to include
and any additional settings with = are converted into variables which get
set before the include.
In the example above, the doIncludeNWS setting gets translated to a variable
called
$doIncludeNWS = 'true'
before the include takes place so that you can pass arguments without using
the URL method.
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en.