Marco,

To answer some of your questions: for a SIMPLE plugin (only some types, a
webtop tab, some displayPages):
   I don't think that you need anything in _serverSpecificVars.cfm
   I don't think you need a www mapping

I would say a good example of a "minimum" plugin that is still somewhat
complex is the idlForm plugin. The GoogleMaps plugin is a good example of
using the configuration options available.

But essentially you're right: you will have folders that look like your
project or core folders:

farcry/plugins/<plugin>/
farcry/plugins/<plugin>/customadmin
farcry/plugins/<plugin>/packages
farcry/plugins/<plugin>/packages/types
farcry/plugins/<plugin>/packages/rules
farcry/plugins/<plugin>/webskins/<type>
farcry/plugins/<plugin>/webskins/<rule>

etc.

Tomek

On Fri, Sep 26, 2008 at 7:46 AM, Marco van den Oever <
[EMAIL PROTECTED]> wrote:

>
> And what about the _serverSpecificVars.cfm file, do i need that?
>
> On Sep 26, 12:57 pm, Marco van den Oever <[EMAIL PROTECTED]>
> wrote:
> > What should i do with the install/manifest.cfc, are that general
> > setting i can copy from another plugin?
> >
> > Do i have to include the www map, or only when i need to provide some
> > additional files, else just leave it out?
> >
> > Is there a way to create the plugin with the Export As Project
> > Skeleton? If not, might be a nice option to add, a sort of export as
> > plugin feature for developers that develop the plugins under the same
> > root and with this option can easily pick one out for export without
> > manual actions.
> >
> > Thanks
> >
> > On Sep 26, 12:30 pm, Marco van den Oever <[EMAIL PROTECTED]>
> > wrote:
> >
> > > So you could say that you just have to re create the folder structure
> > > as it is in working situation, mmm i still find it unclear on how to
> > > do this, i will study the FC4 example again.
> >
> > > Thank you
> >
> > > On Sep 25, 6:31 pm, "Tomek Kott" <[EMAIL PROTECTED]> wrote:
> >
> > > > in FC5 you put the plugins in <cfset THIS.plugins = "..."> in
> > > > <project>/farcryConstructor.cfm and clearly updateapp. For the menus
> and the
> > > > rest, those have to be defined under
> farcry/plugins/<plugin>/customadmin
> > > > folder. There is an XML file that has to be defined (and webtop
> restarted).
> > > > Seehttp://docs.farcrycms.org/display/FCDEV40/The+webtopforapdf.
> Although
> > > > labeled for FC4 the syntax is the same for FC5.
> >
> > > > So a couple things to make sure are that the file customadmin.xml is
> in the
> > > > plugin folder customadmin, that there are the proper cfm files listed
> under
> > > > <plugin>/customadmin/<name>/*.cfm which list how the type should be
> > > > displayed such as:
> >
> > > > <cfimport taglib="/farcry/core/tags/admin" prefix="admin" />
> > > > <cfimport taglib="/farcry/core/tags/formtools" prefix="ft" />
> >
> > > > <!--- set up page header --->
> > > > <admin:header title="Forms" />
> >
> > > > <ft:objectadmin
> > > >     typename="idlForm"
> > > >     permissionset="news"
> > > >     title="Forms"
> > > >     columnList="title,receiver,datetimelastUpdated"
> > > >     sortableColumns="title,receiver,datetimelastUpdated"
> > > >     lFilterFields="title,receiver"
> > > >     plugin="idlform"
> > > >     module="/idlform.cfm" />
> >
> > > > <!--- setup footer --->
> > > > <admin:footer />
> >
> > > > I can't quite think of what else you might need for a plugin to work,
> but
> > > > the farcryConstructor / updateapp step is key, and then the
> customadmin
> > > > files.
> >
> > > > Hope that helps,
> >
> > > > Tomek
> >
> > > > On Thu, Sep 25, 2008 at 12:05 PM, Marco van den Oever <
> >
> > > > [EMAIL PROTECTED]> wrote:
> >
> > > > > I am not sure how to create a plugin for FC5, i saw the examples
> for
> > > > > FC4 and tried that but it doesn't seem to work as the custom menu
> > > > > items are not showing up etc.
> >
> > > > > Just to be sure, can anyone point out the steps?
> >
> > > > > Thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to farcry-dev@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to