I want to create a classified ads listing just like craigslist.org so my users can post whatever they are selling or looking to buy. I am not really sure how to have all the categories listed on one page. So far, using the taxonomy module, I created a vocabulary called "Marketplace Listings." Understand that vocab, I added different terms (categories: computers, books, electronics, clothes, etc.). I even added some listings under the terms. Now I am trying to figure out how do I get all the categories listed on one page so users can navigate through different things that are for sale.

I have the Views module installed, but I am not really sure what parameters I have to give Views in order to have them listed.

Comments

vm’s picture

if you'be not added it yet you need to get the advanced help.module which exposes a great deal of views documentation and will make it easier to wrap your head around as you work with/play with/break views.

The other module you will want to investigate is the panels.module or you will want to create a custom tpl.php file which will afford you the ability to put your views in columns.

zythyr’s picture

I know hwo to use the Views module, but for some reason its not outputting the list of categories...

zythyr’s picture

Why won't anyone help? I am trying to figure out how to list all the terms of vocabulary on a single page. I am on a dead end...

jamesmcd’s picture

You can't just demand help and expect people to answer immediately, especially if you haven't done much research into ways to solve your issue.

A quick search on google has given me this result, which may well be of use to you with regards to Taxonomy & Views:

http://www.youtube.com/watch?v=PNCBCx-K3lw

If your still stuck with views, do as said above and look into advanced help, or have a look on Google/Youtube for more video screencasts

zythyr’s picture

Sorry I didn't mean to "demand help." I apologize. But I did do my research before posting here. I found couple of modules but they didn't really help much. I have already seen the video you have sent me.

I added a Vocabulary called "Classified", and underneath it, I added all the terms in a hierarchical fashion. For example: For Sale >> Electronics, Clothes, Books, etc. Jobs >> Accounting, Finance, etc. All I want to do is have all these terms listed on a page so users can see different categories, click on them, then see all the postings other users have made. I used the Views module to list all the terms but it won't work. I set it to create a page, and for the Fields, I put in Taxonomy All Terms...

WorldFallz’s picture

"it won't work" isn't much to go on.

If you want useful constructive assistance, you'll have to post better information (see http://drupal.org/forum-posting for some useful info and links).

You don't provide much to go on, but it sounds like what you want is a node view with an argument for "Taxonomy: term", and the "summary sorted, ascending" option for "action to take if argument is not present". You'll probably want to theme the view or look into panels in order to better format the listing.

Alternatively, you could look at some of the modules that exist for this kind of thing:

ronia’s picture

Dear Zythyr,

Help is very slow it seems
on Drupal compared to wordpress
or buddypress.
Sometimes may not be available.

Have you looked at
the Classified Ads module in Drupal ?
http://drupal.org/project/ed_classified

zythyr’s picture

Yea I saw that module...It is outdated. I am using Drupal 6.

ronia’s picture

milesgillham’s picture

A lot of bug fixes are now wrapped up in a more official alpha2 release on the project page. However at time of this posting there are 3 outstanding bugs (as a consequence of porting D5->D6 it seems). A more stable alpha3 release should be out by the end of this week.

tekad’s picture

Um, did you forget to put postings in the categories??? They might not be showing up cuz the categories are empty. Just a thought.

jamesmcd’s picture

Yep, this could well be the reason. I had a similar issue. Stick a load of dummy listings in and see if they come up!

zythyr’s picture

Okay so here is the problem. Using Views, I created a Node view. Then I set the Row Style to "Field." I added "Taxonomy: All terms" field and set it to only show all the terms from the "Classified" vocabulary. I created the list of terms, but it had duplicate terms, and only showed terms that actually had a post using that term. Below is the output I got. So how do I get it to remove duplicate terms and also show terms that don't have a post using that term. Not only that, how do I get it to show all the list of terms in a hierarchical fashion?

All terms:
All terms:

* Jobs

All terms:

* Finance

All terms:

* Condos

All terms:

* Jobs

All terms:

* Finance

All terms:

* Housing

All terms:

* Condos

All terms:

* Jobs

All terms:

* Housing

socialtalker’s picture

hello, i have been looking for classified ads mod myself for months now. i came across a site that sells a paypal mod for drupal . i email him to ask if it the mod could be used to make a classified ads using views/cck. he said if there was interest he would build a mod for sale.

....I have begun making plans for building a classified ads module. The module would be able to sell any content-type so it can be used for classifieds but also other things as well. It will work with the Paypal Subscriptions module for payment. I expect it to be ready for release sometime this weekend. I will keep you updated.

i would post the website on this drupal thread , but i am not sure i would be allowed to post a mod that is not free on the forum, so pm me if you want his contact site. no i am not an affiliate.

WorldFallz’s picture

You can post anything about drupal to the forums. The reason why there aren't many pay commercial modules is that drupal honors the GPL (see http://drupal.org/licensing/faq) which makes selling code a poor business model (anyone who buys the module can then post it on drupal.org for all). So the drupal economy is based mostly on services. That's doesn't mean you can't sell modules, just that it's not terribly profitable to do so.

summit’s picture

Hi, Did you look at the advertisement module: www.drupal.org/project/ad ?
It would be great if somebody should be able to maintain www.drupal.org/project/ad_views for D6. Then views with ads would be supported.
Greetings, Martijn

WorldFallz’s picture

I'm sorry but what does this have to do with my reply or this thread for that matter?

summit’s picture

Couldn't classified ads be supported using the ad module? If that is not the case please discard my reply.
greetings, Martijn

WorldFallz’s picture

ah ok-- nope, imo totally different use cases.

socialtalker’s picture

here is his web site
link removed

the original poster can write him and request he is kept informed about the features and progress of his classified module, he is so chooses. good luck.

Edited by: VM; Removed link, Users interested in the link can use your contact tab

hwks’s picture

Hi Socialtalker,
Can you please send me the web link for the Classifieds contact. The link seems to have removed.

Thanks a lot

milesgillham’s picture

Zythyr, from your posting I'm not exactly sure if you're even using the Classified Ads module to try do this or something else (eg vanilla Drupal), but as what you're asking for is ideal longer term functionality for the ed_classified roadmap I've opened a support request either way: #505914: How to list a given taxonomy's terms on single page with ads.. I think the answer is probably 90% Views (and therefore some HOWTO documentation - you seem to have tried to do all the obvious right things though), but there may be a little module coding that would support Views in presenting this output more nicely (perhaps if some Themable support needed).

This is functionality I'll get round to testing or incorporating into ed_classifed in July/August when I will try to recreate what you're asking for myself, although that may not help you at all if you're not using that module or can't wait. I'd like to hear if you've solved it or what you had to do to get the effect you need.

Cheers,

Miles