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).
See http://docs.farcrycms.org/display/FCDEV40/The+webtop for a pdf. 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