I would like to use the ed_classified layout with the categories, but I would like to be able to sort by another taxonomy. For example to have a link that show adds for a certain city.... Is there away to do this, perhaps by adding the tids to the url...? I can do a sort using views and arguments, but I can't work out out to get categories to display like in the module? Thanks

Comments

milesgillham’s picture

I almost get what you're after, can you explain with an example? My best guess: I think what you mean is that you want the main categories to be presented how ed_classified presently does it, but to be able to cross-reference to other taxonomies and have it automatically displayed. So, if there was a category by say location of "USA", then advertisements could also be tagged by state and by city. Clicking on an associated tag for "California" would list all advertisements in CA, and clicking on Brisbane (California, not Australia) would show all relevant advertisements. Something like that? If so, quite doable out of the box with some code tweaks I'd venture.

Cheers,

Miles

ajayg’s picture

I would like to know what code tweaks you can share with us. Looking for same.

Ela’s picture

subscribing

fgm’s picture

Status: Active » Postponed (maintainer needs more info)

Anyone following this thread: can you confirm the interpretation by Miles is actually what you are looking for ? Or give more detail (ideally a drawing/screenshot) of how you would want it to look ?

fgm’s picture

Status: Postponed (maintainer needs more info) » Fixed

No answer in over one month, assuming fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

miguelch’s picture

Hi,

I've got the same problem. I don't know how to sort advertisements by city.

I would like to have a menu with all the cities of my country and, for each city, a new menu with all categories.

Many thanks

Miguel.

miguelch’s picture

Sorry, I forgot to say that I have drupal 7.23 and Classified Ad module

fgm’s picture

Using the 7.x-3.x versions, your best choice is to just use the ads and build your own views to display them: these are nodes, so you can put them in views and display them as you want.

But there is no supported way to use multiple orderings with the default pages provided by the module.