2014-03-07, 05:27:29
Thanks for dropping your comment David!
Do you mean "sort item lists" in frontend?
If so, you can use a model method setPref():
If you are going to sort items in back-end, you have to edit "/data/other/imanager.xml" file. There you can change node element <bsortby>title</bsortby> with your field name.
To hide items until a certain date you can use visibility_change() method.
But maybe it's a better idea to create a component-controller that only shows the items that are within the expiration date? Something like:
Currently not possible, however, maybe in a future version.
Regards
(2014-03-05, 20:38:44)ItalianDavid Wrote: - Can you sort item lists by date (and specifically an arbitrary date that you set yourself, not just the date it was created)?
Do you mean "sort item lists" in frontend?
If so, you can use a model method setPref():
PHP Code:
ImModel::setPref('sortby', 'your_field_name');
If you are going to sort items in back-end, you have to edit "/data/other/imanager.xml" file. There you can change node element <bsortby>title</bsortby> with your field name.
(2014-03-05, 20:38:44)ItalianDavid Wrote: - Could there be an expiry date on items so that they automatically disappear when on the date specified?
To hide items until a certain date you can use visibility_change() method.
But maybe it's a better idea to create a component-controller that only shows the items that are within the expiration date? Something like:
PHP Code:
foreach($pagedata['itemkeys'] as $key)
{
if($items[$key]['my_date'] < $your_maximum_date)
{
echo $items[$key]['my_item'];
}
}
(2014-03-05, 20:38:44)ItalianDavid Wrote: - Is there, or in future versions will there be, any way of adding the same item to multiple categories?
Currently not possible, however, maybe in a future version.
Regards