MidCOM: Request for Feature (RFF): add "in_index" attribute to data schema
Marcin Sołtysiak <[email protected]>
| Newsgroups | gmane.comp.web.midgard.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
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.
BR
Solt