Ordering

More
9 years 9 months ago #23800 by dennisth19
Ordering was created by dennisth19
Hello Adrian,

where can i change the ordering of the multiprofiles in the map?
Attachments:

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23809 by nordmograph
Replied by nordmograph on topic Ordering
Hi

open
modules/mod_geommunity3_js/helper.php

in the getProfileTypes function,
right before:
Code:
$db->setQuery($q); $profiles = $db->loadObjectList();

Add
Code:
$q .=" ORDER BY name ASC ";
Depending if you want to order by name or id, ASC or DESC

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23813 by dennisth19
Replied by dennisth19 on topic Ordering
is that the right code for id ordering:? $q .=" ORDER BY id ";
and can i also add the helper file into the override folder?

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23814 by dennisth19
Replied by dennisth19 on topic Ordering
i added the file to: /public_html/xxx.org/templates/gk_news2/html/mod_geommunity3_js
but with no effect?!

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23817 by nordmograph
Replied by nordmograph on topic Ordering
No, the helper can not be added to the override folder.

Your syntax is incorrect you must specify the order direction ASC or DESC for ascending or descending.

How do you want it to be ordered ?

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
9 years 9 months ago #23821 by dennisth19
Replied by dennisth19 on topic Ordering
I want the same order as in jomsocial, i think its by id.
It would be good, if you can implement this in the next version...

Please Log in or Create an account to join the conversation.

Time to create page: 0.328 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.