Hi Tomek, i used the farcry/core/webskin/farWorkflowDef/edit.cfm as a
template and placed it in plugin/webskin/typename/edit.cfm

Problem is indeed that when the file gets updated in core, then the
file is not updated in the above path.

But as i understand this is the only way to customize the edit page.

Maybe there is a way that can extend the farcry/core/webskin/
farWorkflowDef/edit.cfm and then add my own code?

That would be the ideal solution... :)

On Nov 24, 3:13 pm, "Tomek Kott" <[EMAIL PROTECTED]> wrote:
> Marco,
> I don't know about the validation issue, but I would recommend against
> changing farcry/core/webskin/farWorkflowDef/edit.cfm. In fact I would not
> change anything in /core/ unless it's a bug you need to fix before the next
> "official" version. This is because some/most files get updated when you
> install a new version, so you would lose those changes. Or you would have to
> keep track of all the changes you have made to any files in core. That said,
> I am pretty sure that putting an edit.cfm in your typename folder will do
> the trick, and that way is completely specific to the typename rather than
> all of your types.
>
> Sorry if I misunderstood what you were doing!
>
> Tomek
>
> On Sat, Nov 22, 2008 at 10:02 PM, Marco van den Oever <
>
> [EMAIL PROTECTED]> wrote:
>
> > Only problem is when i add a item that uses the custom edit code, and
> > press cancel, then the validation plays up which results in  not going
> > back to the admin console of the specific content type.
>
> > Is that a bug?
>
> > On Nov 23, 12:08 am, Marco van den Oever <[EMAIL PROTECTED]>
> > wrote:
> > > Awesome, for this you need farcry\core\webskin\farWorkflowDef
> > > \edit.cfm, set the right typenames and enjoy :)
>
> > > On Nov 22, 8:56 pm, Marco van den Oever <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > Ah thanks! That will work :)
>
> > > > On Nov 22, 5:05 pm, "Tomek Kott" <[EMAIL PROTECTED]> wrote:
>
> > > > > Yes, you have to create your own "edit.cfm" page under
> > > > > /plugins/(pluginname)/banner/edit.cfm. By default this is just a
> > > > > "objectadmin" tag I believe. If you write your own, you can add
> > information
> > > > > about another object.
>
> > > > > This might help you get started:
>
> > > > >http://docs.farcrycms.org/display/FCDEV40/Form+Tool+Wizard
>
> > > > > Tomek
>
> > > > > On Fri, Nov 21, 2008 at 8:27 PM, Marco van den Oever <
>
> > > > > [EMAIL PROTECTED]> wrote:
>
> > > > > > Ok i am checking the extra statistics page i have made for the
> > banner
> > > > > > plugin and again wondering if it's not possible to ad that output
> > to
> > > > > > the content type itself, this would be way less work and also less
> > > > > > confusing for users as everything is in one place.
>
> > > > > > For instance when i edit a banner i just want to see those
> > statistics
> > > > > > somewhere.
>
> > > > > > Is this possible? And any guidelines?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" 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/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to