Custom type don't insert "label" field value automatically

View: New views
4 Messages — Rating Filter:   Alert me  

Custom type don't insert "label" field value automatically

by Marco van den Oever :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I have a custom type with a couple of fields, no label field as it
should be automatically updated just like the "datetimecreated" field
etc. Am i right?

It's a shame if i have to create a custom edit webskin just because
that one field is not updating.
Is this a bug?

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


Re: Custom type don't insert "label" field value automatically

by Chris Kent-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Marco

You can set any proprerty(s) to be used for the label by assigning
bLabel="true" to the properties of your content type.

If there are no properties set with bLabel="true", then FarCry tries
to use the content or title or name if these exist.

Check function autoSetLabel in core/packages/types/types.cfm

Chris.

On Oct 28, 6:56 pm, Marco van den Oever <marcovandenoe...@...>
wrote:
> I have a custom type with a couple of fields, no label field as it
> should be automatically updated just like the "datetimecreated" field
> etc. Am i right?
>
> It's a shame if i have to create a custom edit webskin just because
> that one field is not updating.
> Is this a bug?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---


Re: Custom type don't insert "label" field value automatically

by Tomek Kott :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I can confirm that bLabel works. Actually, setting more than one property as bLabel="true" also works; it will just append each property it finds with a space in between.

Tomek

On Wed, Oct 28, 2009 at 3:31 PM, Chris Kent <mxdesign@...> wrote:

Marco

You can set any proprerty(s) to be used for the label by assigning
bLabel="true" to the properties of your content type.

If there are no properties set with bLabel="true", then FarCry tries
to use the content or title or name if these exist.

Check function autoSetLabel in core/packages/types/types.cfm

Chris.

On Oct 28, 6:56 pm, Marco van den Oever <marcovandenoe...@...>
wrote:
> I have a custom type with a couple of fields, no label field as it
> should be automatically updated just like the "datetimecreated" field
> etc. Am i right?
>
> It's a shame if i have to create a custom edit webskin just because
> that one field is not updating.
> Is this a bug?
>
> Thanks.



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


Re: Custom type don't insert "label" field value automatically

by Marco van den Oever :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Awwwwwww farcry basics people!!! Thanks for the reminder, both of
you....

On Oct 28, 9:06 pm, Tomek Kott <tkott.s...@...> wrote:

> I can confirm that bLabel works. Actually, setting more than one property as
> bLabel="true" also works; it will just append each property it finds with a
> space in between.
>
> Tomek
>
> On Wed, Oct 28, 2009 at 3:31 PM, Chris Kent <mxdes...@...> wrote:
>
> > Marco
>
> > You can set any proprerty(s) to be used for the label by assigning
> > bLabel="true" to the properties of your content type.
>
> > If there are no properties set with bLabel="true", then FarCry tries
> > to use the content or title or name if these exist.
>
> > Check function autoSetLabel in core/packages/types/types.cfm
>
> > Chris.
>
> > On Oct 28, 6:56 pm, Marco van den Oever <marcovandenoe...@...>
> > wrote:
> > > I have a custom type with a couple of fields, no label field as it
> > > should be automatically updated just like the "datetimecreated" field
> > > etc. Am i right?
>
> > > It's a shame if i have to create a custom edit webskin just because
> > > that one field is not updating.
> > > Is this a bug?
>
> > > Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@...
To unsubscribe, email: farcry-dev+unsubscribe@...
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---