Hello,
I was wondering if there is a way to set the ordering specific to a category? For example I have one category that needs to be ordered Alphabetically, but another I need to order by Date. Can this be done? Perhaps it could be a parameter in shortcode somehow? LIke this? Thank you!
{phocadownload view=category|id=35|target=b|order=ascending}
File and Category Ordering
- bcraigie
- Phoca Newbie
- Posts: 8
- Joined: 28 Apr 2011, 03:20
Re: File and Category Ordering
Did you ever get a solution to this? I'm looking for the same thing.
Thanks.
Thanks.
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: File and Category Ordering
Hi, there is no such option, so this needs to be customized - set some new parameter for category - ordering - and take it from this place.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 25 Jan 2013, 11:04
[Solved] Re: File and Category Ordering
Hi, I would also like to do this. I am an experienced web developer (PHP, HTML, SQL, CSS etc), but I am new to Joomla. So could you please provide some more details of how (and where) to set some new parameter for category - ordering.
Last edited by darryl on 29 Jan 2013, 23:50, edited 1 time in total.
-
- Phoca Newbie
- Posts: 1
- Joined: 25 Jan 2013, 21:38
Re: File and Category Ordering
Hi, I would very much like to have this feature too . Am I right in thinking that it was available on older versions of phoca downloads? I think it was available in the component parameters in the menu item. Any suggestions about how I might customize the component to achieve this would be gratefully received.
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: File and Category Ordering
Hi, you can add some new parameter to menu link and do more menu links with different parameters, see:
https://www.phoca.cz/documents/16-joomla ... a-25-17-16
Jan
https://www.phoca.cz/documents/16-joomla ... a-25-17-16
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 23 Nov 2016, 00:36
Re: File and Category Ordering
Hello,
I just managed to insert ordering for categories within the menu link with your article.
But if I add the code for File Ordering it is ignored. Could you help me pls?
BR
I just managed to insert ordering for categories within the menu link with your article.
But if I add the code for File Ordering it is ignored. Could you help me pls?
BR
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: File and Category Ordering
Hi,
- check if you have added right parameter (there are more parameters for ordering)
- check if you are located in the menu link, you have customized (disable SEF and check the Itemid, this is the id for the menu link)
Jan
- check if you have added right parameter (there are more parameters for ordering)
- check if you are located in the menu link, you have customized (disable SEF and check the Itemid, this is the id for the menu link)
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 23 Nov 2016, 00:36
Re: File and Category Ordering
Hello,
thanks for your suggestion.
It should be correct - I added Category & File Ordering.
I checked the databaes where the menues are stored - in the params field is shown
unfortunately phoca download is ignoring it.
We also tried to put those parameters directly into phocadownload_category params databasefield - no luck.
also we checked as you mentioned the Link without SEF - no luck as well.
I checked the component params - its written similarly - but there the changes are really working - unfortunately for all downloads.
I am not sure what we are doing wrong - any ideas?
BR
thanks for your suggestion.
It should be correct - I added Category & File Ordering.
I checked the databaes where the menues are stored - in the params field is shown
Code: Select all
{"category_ordering":"4","file_ordering":"4","show_pagination":"1","show_pagination_limit":"1","menu-anchor_title":"","menu-anchor_css":"","menu_image":"","menu_text":1,"menu_show":1,"page_title":"","show_page_heading":"","page_heading":"","pageclass_sfx":"","menu-meta_description":"","menu-meta_keywords":"","robots":"","secure":0}
We also tried to put those parameters directly into phocadownload_category params databasefield - no luck.
also we checked as you mentioned the Link without SEF - no luck as well.
I checked the component params - its written similarly - but there the changes are really working - unfortunately for all downloads.
Code: Select all
{"filename_or_name":"filenametitle","display_downloads":"0","display_description":"3","display_main_cat_desc":"0","display_detail":"0","display_new":"0","display_hot":"0","display_most_download":"1","display_file_view":"0","display_date_type":"0","download_external_link":"_self","download_metadesc":"","download_metakey":"","category_ordering":"2","file_ordering":"2","default_pagination":"200","pagination":"5,10,15,20,50","display_num_doc_secs":"0","display_num_doc_secs_header":"1","display_up_icon":"1","display_mirror_links":"0","display_report_link":"0","report_link_guestbook_id":"","tags_links":"0","display_tags_links":"0","license_box_height":"300","display_category_comments":"0","display_file_comments":"0","fb_comment_app_id":"","fb_comment_width":"550","fb_comment_lang":"en_US","fb_comment_count":"","display_rating_file":"0","file_icon_size":"16","file_icon_size_md":"16","file_icon_mime":"1","display_specific_layout":"0","display_play":"1","player_width":"328","player_height":"200","player_mp3_height":"30","play_popup_window":"0","html5_play":"0","display_preview":"0","preview_width":"640","preview_height":"480","preview_popup_window":"0","youtube_height_cv":"240","youtube_width_cv":"320","youtube_height_dv":"360","youtube_width_dv":"480","ignore_file_types_check":"2","allowed_file_types_download":...
BR
- Jan
- Phoca Hero
- Posts: 48550
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: File and Category Ordering
Hi, do you use the component or plugin.
If the component, do you use template override (e.g. your template override the output of download). In such case it depends on the template files to get the parameters
Jan
If the component, do you use template override (e.g. your template override the output of download). In such case it depends on the template files to get the parameters

Jan
If you find Phoca extensions useful, please support the project