This is good code and very helpfull in understanding how to get a custom item list!
Olivier Nolbert said:Stavors,
In attachment, a category.php modified file that retrieves the x items of the day and displays them before the core item list.
You can configure in the file the number of items of the day to display. The items are sorted the same way as other files.
Sure, all this could be done in a nice K2 plugin but the essential is here.
Olivier
Olivier Nolbert said:Stavors,
In attachment, a category.php modified file that retrieves the x items of the day and displays them before the core item list.
You can configure in the file the number of items of the day to display. The items are sorted the same way as other files.
Sure, all this could be done in a nice K2 plugin but the essential is here.
Olivier