Support Forums - Classified Ads Script Osclass
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
Sort the categories alphabetically
Support Forums - Classified Ads Script Osclass
General osclass questions
General discussion
Sort the categories alphabetically
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Print
Pages: [
1
]
rooman
253 posts
Sort the categories alphabetically
«
on:
October 06, 2022, 05:12:39 PM »
How can I sort the categories alphabetically in the item post?
I have this for code
Code:
[Select]
<?php ItemForm
::
category_select
(
null
,
osc_item_category_id
(),
__
(
'Select a category'
,
'sigma'
));
?>
Is it sorted by code?
or add javascript
What is the method and if it is possible?
Thank you
Logged
MB Themes
Support team
18796 posts
Only quality matters
Download Osclass
Re: Sort the categories alphabetically
«
Reply #1 on:
October 07, 2022, 08:46:05 AM »
@rooman
Categories should be sorted in order they are in backoffice.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
rooman
253 posts
Re: Sort the categories alphabetically
«
Reply #2 on:
October 07, 2022, 12:41:20 PM »
Sorting the categories in the order in the back office is only
in the header.php
Homepage
What do I mean by adding an ad?
item post file
«
Last Edit: October 12, 2022, 04:56:06 PM by rooman
»
Logged
rooman
253 posts
Re: Sort the categories alphabetically
«
Reply #3 on:
October 18, 2022, 10:23:16 AM »
Is there a solution for that?
Logged
MB Themes
Support team
18796 posts
Only quality matters
Download Osclass
Re: Sort the categories alphabetically
«
Reply #4 on:
October 18, 2022, 02:34:54 PM »
@rooman
If SQL is not natively using sorting, database one is used.
Solution could be to check ajax.php of theme (or Model file) and add your custom sorting here.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]