maternal
Welcome, Guest. Please login or register.
Did you miss your activation email?

 
Advanced search

22747 Posts in 6705 Topics- by 17591 Members - Latest Member: permsk

25-02-2020 22:41:45
JOOM::GALLERY::FORUMArchiveJoomGallery 1.5 MVC - ExtensionsModulesJoomcat module - category sorting by order
Pages: [1]
Print
Author Topic: Joomcat module - category sorting by order  (Read 3245 times)
0 Members and 1 Guest are viewing this topic.
dimapv
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: 17-02-2011 10:53:36 »

Hello!

I'm very like joomgallery extension, this is very cool...

In Joomcat module 1.5.6.1 not working sorting category as it sets in JoomGallery category order. To get it on, I change some code.
in ../modules/mod_joomcat/helper.php

line 92: adding ca.ordering
             $query = 'SELECT ca.cid, ca.name, ca.description, ca.catpath, ca.catimage'
             $query = 'SELECT ca.cid, ca.name, ca.description, ca.catpath, ca.catimage, ca.ordering'
line 146: adding sorting order
                   default:
        $query .= ' GROUP BY ca.cid DESC';
                   default:
        $query .= ' GROUP BY ca.cid DESC ORDER BY ordering ASC';
It's works fine!

Sorry for english
Logged
kakatinha
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #1 on: 03-03-2011 01:40:41 »

Hi,

In Joomcat module you can list the categories at random?
For example I created 20 categories and 5 am showing, I would like to reload the site exhibited five new categories random as is done with the module JoomImages but showing only images of the category.

You know how to do this kind of customization in the code to get this feature?

Sorry for my bad english too  Bigrazz
Logged
dimapv
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: 03-03-2011 10:04:13 »

Hi,

Well, I don't thinking about it... But this kind of customization is not so simple, I think, but it's possible. You need php programmer.
Logged
Pages: [1]
Print
Jump to:  

HOSTED BY SCHWARZKÜNSTLER ®

PROTECTED BY  ZB BLOCK  AND Project Honey Pot
Theme orange-lt created by panic

Bad Behavior has blocked 2817 access attempts in the last 7 days.

maternal