Re: MidCOM: Request for Feature (RFF): add "in_index" attribute to data schema

Torben Nehmer <[email protected]>
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

- --Marcin Sołtysiak wrote on 2005-06-17 12:36:
> I've just faced a small issue when biudling a site. I need to have some
> particular fields from data schema to be visible in "autoindex" mode
> with taviewer and "latest" mode in newsticker. How about adding
> "in_index" atribiuute to a filed definition so that viewer mechanism
> could add those fields into index or latest results. Something like:
>  
> "personel" => array (
>     "name"        => "personel",
>     "description" => "Personel",
>     "fields"      => array (
>         "image" => array (
>             "description" => "Fotka",
>             "datatype"    => "image",
>             "widget_image_simple" => false,
>             "datatype_image_thumbwidth" => 101,
>             "datatype_image_thumbheight" => 101,
>            "in_index"=> true,
> 
>         ),
>      )
> )
>  
> In this case viewer class would pick only required and in_index fields
> and store them in $view array.

This is not a problem of the datamanager, it is limited to the Autoindex Feature
of the taviewer, which cannot do such a thing.

The "right" way would be moving the taviewer to have the full datamanger object
available while rendering.

Live long and Prosper!
Torben Nehmer

- --
Torben Nehmer, Guenzburg, Bavaria, Germany
http://www.nathan-syntronics.de, mailto:[email protected]
PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCuDNsJPh4Kn6d5FYRAjNkAKChYcabO70ja4E0w47qevYmrG824ACfcnTL
LKaM+3Jj6Tys5VkTzmUV194=
=sprt
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.