I am looking for a solution to sort a Category-Blog by 'unpublish-date'.
What i have done so far:
- created an own menu-style by copying
my-*.*into my template directory
- checked menu-items: now i can select a category-blog (my~)
- added the following line to
- selected 'unpubish' as order_date in menu-item
Hewe comes my problem now:
Some time ago i used to edit
root/components/com_content/helpers/ (i know its a core hack, now i want to do better) to add the 'publish_down' case like
case 'publish_down' : $queryDate = ' CASE WHEN a.publish_down = ' . $db->quote($db->getNullDate()) . ' THEN a.created ELSE a.publish_down END '; break;But unfortunately this doesn't work anymore.
Have you guys any hints for me? Appreciate you help!