I get the error message when I copy the code files to a plugin directory:

Variable APPLICATION is undefined.

The code's location is
\farcry\plugins\mynewplugin\packages\template\manage.cfm

How can I access the application structure?

-Phil


modius wrote:
> 
> 
> Would love to see some plugin magic happening out there.
> 
> Plugins are based on the exact same structure as projects.  If you can
> build it into a project then it should run quite happily in a plugin.
> 
> You may need to change your linkages to refer to:
> /farcry/plugins/yourpluginname
> 
> You may need to set up a webroot for your plugin ie. /farcry/plugins/
> yourpluginname/www and map it to a subdirectory of the project.  The
> standard way of doing this is to either copy the plugin webroot into
> the project webroot or create a virtual directory emulating the
> same.
> 
> Either way the plugin webroot convention is to call it the directory
> exactly the same name as the plugin:
> /farcry/plugins/yourpluginname/www
> becomes
> /farcry/projects/yourprojectname/www/yourpluginname
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Question-about-plugins-tp24607520s621p24624433.html
Sent from the FarCry - Dev mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to