Can I order by name - minifrontpage
- Posted by ddd rrrr (6) Offline
Please Log in or Create an account to join the conversation.
- Posted by ddd rrrr (6) Offline
Thanks
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Did you mean alphabetical order? Unfortunately it's not possible at the momentI see that all order options are just by date, is there an option to order by name?
Could you let me know the URL of your site so I can take a look?Another thing - It doesn't seem to be responsive. I get beautiful 3 columns on my desktop, but on my mobile it becomes a single column with a bloated thumbnail. Am I missing a setting?
Please Log in or Create an account to join the conversation.
- Posted by ddd rrrr (6) Offline
<div class="mfp-col-xs-12 mfp-col-sm-6 mfp-col-md-<?php echo 12/$default_num_column;?> mfp_default_item">
For my site, i edited it manually so it will be 3 column wide for tablet/desktop and 2 column wide for mobile.
It will be awesome if you can add a setting for number of columns on mobile / responsive, as I think I might not be the only one wanting different number of columns based on user device.
Also, I dropped the h4 from the article link, as on mobily the text size was too large.
I changed the orderering by title by going to the file MinifrontpageHelper.php and adding an option for 'a.title'.
Also it seems that the ordering can only be changed by editing the file. I didn't find a setting for it.
Finally, it seems that the thumbnail that is generated is low quality. Not sure how to improve it.
If you can add the above features to the base extension, it will be awesome. I'm not a coder, so my fixes are hack, but I'm sure you will do it in a professional way.
Thanks for your extension.
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
It's a common responsive grid/column rules that means it will be 2 column wide in screen width > 48em (mostly tablet or phablet), 1 column wide in smartphone, and follow the column setting for devices width screen width > 75em (desktop, notebook). This rules generally will work most of cases, that's why I was asked for your website url that maybe have a different case.I found the issue on mobile - in the default.php file, the following line appears:
Did you edit the module's file directly? I wouldn't suggest you to as your modification will be overrided every time you install the new update. I'd suggest you to do template override instead. extensions.joomla.org/blog/item/override...mise-almost-anythingFor my site, i edited it manually so it will be 3 column wide for tablet/desktop and 2 column wide for mobile.
Adding too much settings will make it less simple / intuitive to start for new user so I'll leave it as it is. Additionally it also will increase the xml codebase that will potentially adding unnecessary extra loading time for module's backendIt will be awesome if you can add a setting for number of columns on mobile / responsive, as I think I might not be the only one wanting different number of columns based on user device.
Minifrontpage will follow your template typography style, so it is likely following your template's h4 rule. This is the reason why CSS Adjustment tab exist. You can add css overriding there without touching the physical files.Also, I dropped the h4 from the article link, as on mobily the text size was too large.
I haven't tested it so I can't comment about it but I'm glad it works for you.I changed the orderering by title by going to the file MinifrontpageHelper.php and adding an option for 'a.title'.
Also it seems that the ordering can only be changed by editing the file. I didn't find a setting for it.
To improve the thumbnail quality, simply increase the thumbnail size with the same ratio. Don't forget to delete all thumnail images under folder ../images/thumbnails/mod_minifrontpage after you have changed the setting, so it will generate the new ones.Finally, it seems that the thumbnail that is generated is low quality. Not sure how to improve it.
Please Log in or Create an account to join the conversation.
- Posted by ddd rrrr (6) Offline
Regarding the h4 setting, I will also look into the css option.
about the ordering, it was actually pretty simple to add, as you have a robust codebase, so it was just adding another option. I think it is a good setting to have and shouldn't add clutter as you already have some options.
My remaining issue is the thumbnail quality - it is not related to size, but to the jpeg setting probably. You can see here: www.pundak.co.il/role-playing-games/reviews it appears blocky and much worse than the article intro image which is roughly the same size.
If you can point me to were I can set the quality, that will be great.
Please Log in or Create an account to join the conversation.