Minifrontpage PRO: Ordering options?
- Posted by Viggo Hinrichsen (3) Offline
Hi
I want to buy minifrontpage PRO, but I need to know if it is possible to order the tiles by manual order or even better: UNpublishing date.
I want to display EVENTS and I need the event, which will end soonest, by be on first place.
Example:
Event 1 ends 10.01.2020 (<- unpublishing date)
Event 2 ends 15.01.2020 (<- unpublishing date)
Event 3 ends 08.01.2020 (<- unpublishing date)
Correct order:
Event 3
Event 1
Event 2
(based on UNpublish date OR manual order)
It that part of the functionality now?
THANKS
4 years 6 months ago #1
by Viggo Hinrichsen
I want to buy minifrontpage PRO, but I need to know if it is possible to order the tiles by manual order or even better: UNpublishing date.
I want to display EVENTS and I need the event, which will end soonest, by be on first place.
Example:
Event 1 ends 10.01.2020 (<- unpublishing date)
Event 2 ends 15.01.2020 (<- unpublishing date)
Event 3 ends 08.01.2020 (<- unpublishing date)
Correct order:
Event 3
Event 1
Event 2
(based on UNpublish date OR manual order)
It that part of the functionality now?
THANKS
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi, sorry there is no such filter option in the pro version, but that can be added by modifying the php file.
4 years 6 months ago #2
by TemplatePlazza
Please Log in or Create an account to join the conversation.
- Posted by Viggo Hinrichsen (3) Offline
Cool
Just 2 followup questions:
1. What is the name and location of that file?
2. Can it be done so it is update save? Like a "template override"?
Thanks
4 years 6 months ago #3
by Viggo Hinrichsen
Just 2 followup questions:
1. What is the name and location of that file?
2. Can it be done so it is update save? Like a "template override"?
Thanks
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Unfortunately it's not update save. You need to change 2 php files(helper.php and mod_minifrontpagepro.php) and 1 xml
4 years 6 months ago #4
by TemplatePlazza
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Um sorry it looks like you just need to change two files. You can try it by using minifrontpage :
in helper.php line 117 add this line :in mod_minifrontpage.xml at line 113 add this code:in mod_minifrontpage.php add this code
Then from the module backend, change the ordering option to Publish Down
https://www.dropbox.com/s%2Fqcoya2eizb29qp9%2FModules%2520mod_minifrontpage%2520-%2520j39%2520-%2520Administration%25202020-06-13%252006-21-49.png?raw=1
Hope this helps
4 years 6 months ago #5
by TemplatePlazza
in helper.php line 117 add this line :
'pd_dsc' => 'a.publish_down',
<option value="pd_dsc">Publish Down</option>
Then from the module backend, change the ordering option to Publish Down
https://www.dropbox.com/s%2Fqcoya2eizb29qp9%2FModules%2520mod_minifrontpage%2520-%2520j39%2520-%2520Administration%25202020-06-13%252006-21-49.png?raw=1
Hope this helps
Please Log in or Create an account to join the conversation.
- Posted by Viggo Hinrichsen (3) Offline
COOL!
I will get the PRO version today after work. Thanks for the super support!
4 years 6 months ago #6
by Viggo Hinrichsen
I will get the PRO version today after work. Thanks for the super support!
Please Log in or Create an account to join the conversation.