Sphene Community Tools

Community

Copyright © 2007-2018 by Herbert Poul

You are not logged in.
Login
Register

Change Language:



AddThis Social Bookmark Button

A Django site.

Powered by Sphene Community Tools
Board » Who's using SCT » epostasia community classified ads

Project:epostasia community classified ads
URL:http://www.epostasia.com/


Classified ads organized by country/city/category(and subcategory if any). Current implementation is for some Asian countries but easily extensible to other countries or languages.

Uses the forum part of SCT, but organizes the forum categories into groups.
thanks for posting your site - i'm wondering is the list at http://www.epostasia.com/forum/listgroups/ really separated by community groups, or are those 'Category' objects ?

i like the layout of this list of forums .. it is very clean and all .. i would be interested what the advantage was in using community Groups instead of Category objects
Hey, we have Signatures !!! Great, isn't it ? ;)
Not sure whether it's the right thing to do but I used the community Group. I added a class method to the Group model to get all the root Groups as a convenience method.

In case anyone is interested the code is like this

@classmethod
def rootGroups(cls):
" Usage - Group.rootGroups()"
return cls.objects.filter(parent__isnull=True)

This returns the root Groups in alphabetical order. If you want a particular group first, insert it at the beginning.

Thanks Herbert, I liked your SCT very much and found it feature rich and not too difficult to implement. Keep the good work up.


--- Last Edited by emacsit at 2008-03-13 01:30:00 ---

Please login to post a reply.



Powered by Sphene Community Tools