Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Item Manager Extended (Beta)
#61
Thanks for dropping your comment David!

(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
Reply


Messages In This Thread
Item Manager Extended (Beta) - by Bigin - 2013-06-15, 23:20:44
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-16, 09:18:25
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-17, 03:05:23
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-17, 04:46:07
RE: Item Manager Extended (Beta) - by Oleg06 - 2013-06-17, 05:15:13
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-17, 07:43:20
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-25, 18:01:09
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-25, 18:32:29
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-25, 22:48:26
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-25, 23:25:41
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-26, 00:03:01
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-26, 00:41:20
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-26, 01:45:41
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-26, 18:12:42
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-26, 18:52:33
RE: Item Manager Extended (Beta) - by Rene - 2013-06-26, 23:03:12
RE: Item Manager Extended (Beta) - by evan70 - 2013-06-26, 23:51:59
RE: Item Manager Extended (Beta) - by Rene - 2013-09-30, 20:15:55
RE: Item Manager Extended (Beta) - by Bigin - 2013-10-03, 23:35:16
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-27, 04:23:52
RE: Item Manager Extended (Beta) - by Rene - 2013-06-27, 16:09:44
RE: Item Manager Extended (Beta) - by morvy - 2013-06-27, 05:04:08
RE: Item Manager Extended (Beta) - by Bigin - 2013-06-27, 15:59:53
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-15, 22:28:56
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-16, 01:59:04
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-18, 22:29:34
RE: Item Manager Extended (Beta) - by D.O. - 2013-08-18, 20:43:36
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-19, 23:24:48
RE: Item Manager Extended (Beta) - by D.O. - 2013-08-20, 00:37:26
RE: Item Manager Extended (Beta) - by Rene - 2013-08-20, 22:43:54
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-19, 23:08:39
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-20, 22:21:29
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-20, 23:31:17
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-20, 23:45:14
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-20, 19:19:15
RE: Item Manager Extended (Beta) - by D.O. - 2013-08-21, 06:09:02
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-21, 00:00:35
RE: Item Manager Extended (Beta) - by amnesiac - 2013-08-21, 00:48:15
RE: Item Manager Extended (Beta) - by ncsic - 2013-08-21, 18:23:30
RE: Item Manager Extended (Beta) - by Bigin - 2013-08-21, 19:20:29
RE: Item Manager Extended (Beta) - by ncsic - 2013-08-21, 21:15:38
RE: Item Manager Extended (Beta) - by opti - 2013-09-19, 22:45:27
RE: Item Manager Extended (Beta) - by Bigin - 2013-09-21, 20:14:58
RE: Item Manager Extended (Beta) - by Bigin - 2013-09-23, 04:28:05
RE: Item Manager Extended (Beta) - by Rene - 2013-10-04, 00:00:38
RE: Item Manager Extended (Beta) - by thisnthat - 2013-11-12, 14:18:41
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-13, 16:47:20
RE: Item Manager Extended (Beta) - by thisnthat - 2013-11-14, 10:16:39
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-14, 16:53:01
RE: Item Manager Extended (Beta) - by thisnthat - 2013-11-15, 09:32:52
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-23, 05:36:55
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-23, 05:53:54
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-23, 23:42:52
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-26, 07:34:33
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-27, 07:05:56
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-28, 05:25:21
RE: Item Manager Extended (Beta) - by Bigin - 2013-11-30, 03:34:31
RE: Item Manager Extended (Beta) - by smooo3 - 2013-11-30, 03:56:58
RE: Item Manager Extended (Beta) - by Bigin - 2014-03-07, 05:27:29
RE: Item Manager Extended (Beta) - by MicroCAD - 2014-04-22, 01:00:43
RE: Item Manager Extended (Beta) - by Bigin - 2014-04-22, 04:52:49
RE: Item Manager Extended (Beta) - by MicroCAD - 2014-04-27, 03:27:40
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-13, 17:35:52
RE: Item Manager Extended (Beta) - by Bigin - 2014-06-14, 20:33:15
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-16, 19:24:12
RE: Item Manager Extended (Beta) - by Bigin - 2014-06-17, 06:42:41
RE: Item Manager Extended (Beta) - by Bigin - 2014-06-17, 16:08:24
RE: Item Manager Extended (Beta) - by morvy - 2014-06-16, 19:30:31
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-16, 20:12:41
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-23, 18:05:28
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-24, 02:21:26
RE: Item Manager Extended (Beta) - by shawn_a - 2014-06-24, 02:41:14
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-24, 05:59:36
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-24, 06:42:42
RE: Item Manager Extended (Beta) - by shawn_a - 2014-06-24, 08:00:53
RE: Item Manager Extended (Beta) - by xxdex - 2014-06-24, 08:17:04
RE: Item Manager Extended (Beta) - by Bigin - 2014-06-24, 09:01:45
RE: Item Manager Extended (Beta) - by shawn_a - 2014-06-24, 10:28:18
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-10, 01:20:09
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-10, 05:44:41
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-10, 06:10:38
RE: Item Manager Extended (Beta) - by shawn_a - 2014-07-10, 06:09:53
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-10, 18:14:29
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-10, 19:23:53
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-11, 05:09:19
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-11, 16:35:49
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-12, 03:18:06
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-12, 16:48:49
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-12, 19:07:40
RE: Item Manager Extended (Beta) - by ak40u - 2014-07-13, 06:23:24
RE: Item Manager Extended (Beta) - by lukinhasb - 2014-07-15, 05:46:42
RE: Item Manager Extended (Beta) - by lukinhasb - 2014-07-15, 07:40:47
RE: Item Manager Extended (Beta) - by Bigin - 2014-07-15, 15:38:00
RE: Item Manager Extended (Beta) - by xxdex - 2014-08-06, 09:07:00
RE: Item Manager Extended (Beta) - by Bigin - 2014-08-07, 03:19:43
RE: Item Manager Extended (Beta) - by xxdex - 2014-08-10, 06:39:44
RE: Item Manager Extended (Beta) - by datiswous - 2014-08-21, 03:09:21
RE: Item Manager Extended (Beta) - by Bigin - 2014-08-24, 18:02:35
RE: Item Manager Extended (Beta) - by linden - 2014-09-22, 16:33:05
RE: Item Manager Extended (Beta) - by Bigin - 2014-09-25, 16:02:55
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 10:32:49
RE: Item Manager Extended (Beta) - by shawn_a - 2014-12-13, 10:58:15
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 11:04:59
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 11:16:18
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 11:19:46
RE: Item Manager Extended (Beta) - by tuxy - 2014-12-13, 17:52:26
RE: Item Manager Extended (Beta) - by bensayers - 2014-12-25, 00:52:34
RE: Item Manager Extended (Beta) - by datiswous - 2014-12-26, 23:31:33
RE: Item Manager Extended (Beta) - by bensayers - 2014-12-28, 06:53:48
RE: Item Manager Extended (Beta) - by bensayers - 2015-01-17, 05:26:03
RE: Item Manager Extended (Beta) - by Bigin - 2014-12-30, 21:05:11
RE: Item Manager Extended (Beta) - by bensayers - 2014-12-31, 03:32:12
RE: Item Manager Extended (Beta) - by Bigin - 2015-01-01, 04:44:03
RE: Item Manager Extended (Beta) - by datiswous - 2014-12-26, 23:50:52
RE: Item Manager Extended (Beta) - by Bigin - 2014-12-30, 21:09:33
RE: Item Manager Extended (Beta) - by tuxy - 2015-01-15, 09:10:13
RE: Item Manager Extended (Beta) - by Angryboy - 2015-01-15, 22:37:55
RE: Item Manager Extended (Beta) - by mjbraun - 2015-01-16, 02:15:49
RE: Item Manager Extended (Beta) - by tuxy - 2015-01-16, 05:49:31
RE: Item Manager Extended (Beta) - by 11ecom - 2015-04-23, 03:45:31
RE: Item Manager Extended (Beta) - by Bigin - 2015-04-24, 05:52:01
RE: Item Manager Extended (Beta) - by Rico - 2015-04-30, 10:03:41
RE: Item Manager Extended (Beta) - by Bigin - 2015-04-30, 22:56:20
RE: Item Manager Extended (Beta) - by Bigin - 2015-04-30, 23:16:20
RE: Item Manager Extended (Beta) - by Rico - 2015-05-08, 01:57:02
RE: Item Manager Extended (Beta) - by Bigin - 2015-05-08, 15:07:34
RE: Item Manager Extended (Beta) - by Rico - 2015-05-09, 08:29:53
RE: Item Manager Extended (Beta) - by Bigin - 2015-05-09, 16:14:22
RE: Item Manager Extended (Beta) - by Rico - 2015-05-09, 21:14:28
RE: Item Manager Extended (Beta) - by Bigin - 2015-05-18, 01:57:43
RE: Item Manager Extended (Beta) - by ross104 - 2015-07-21, 19:07:37
RE: Item Manager Extended (Beta) - by Bigin - 2015-07-24, 06:39:42
IManager examples zipped - by Erick67 - 2015-08-15, 18:48:04
RE: Item Manager Extended (Beta) - by Bigin - 2015-08-15, 22:55:01
RE: Item Manager Extended (Beta) - by Erick67 - 2015-08-15, 23:13:38
RE: Item Manager Extended (Beta) - by Bigin - 2015-08-16, 00:02:04
RE: Item Manager Extended (Beta) - by Erick67 - 2015-08-16, 00:04:00
RE: Item Manager Extended (Beta) - by Bigin - 2015-08-16, 00:12:42



Users browsing this thread: 1 Guest(s)