Similar doubt:How to create containers or categories where you can't post an ad?

tyler-durden - May 15, 2008 - 23:48
Project:Classified Ads
Version:5.x-1.5-8
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:grateful_drupal_user
Status:postponed (maintainer needs more info)
Description

I may be looking at this the wrong way, but for the life of me I cannot figure out how to create containers or categories where you cannot enter an ad. For example, I created a category of Chevrolet, and a subcategory of Camaro.

Chevrolet -> Camaro

I would like a user to be able to enter an ad under the Camaro category, but the Chevrolet category should be off limits to post an ad. Is this possible somehow?

Basically I only want someone to post an ad in the deepest nested category.

#1

kernphilip - May 18, 2008 - 05:04

You should be able to do this using the taxonomy access control

http://drupal.org/project/taxonomy_access

#2

tyler-durden - May 19, 2008 - 18:50

I tried the taxonomy_access and it seems like it should work, but it blocks out all child categories once you block the parent.

#3

eyecon - June 7, 2008 - 18:55

Me 2. Anyone have a JS snippet to validate the submission form? Any other suggestions?

#4

grateful_drupal_user - June 22, 2008 - 16:27

This sounds like a great idea.

So, how would you want to decide which categories are allowed or disallowed for a particular user? Roles? User IDs?

#5

grateful_drupal_user - August 4, 2008 - 18:21
Assigned to:Anonymous» grateful_drupal_user
Status:active» postponed (maintainer needs more info)

Perhaps it would make sense to allow admins to flag classified categories as 'read only' (which would pretty much make them a container for child categories.)

Still thinking...

#6

lavinm - January 24, 2009 - 09:45
Title:How to create containers or categories where you can't post an ad?» Similar doubt:How to create containers or categories where you can't post an ad?

Im firstly subscribing to this thread, as Id need some helo on this front.

Additionally,I have a similar doubt on the lines of this thread

how do i ensure that every user can create exactly one classified ad in one day in one subcategory.

i.e if my site has in all 15 subcategories/categories, a user can publish only 15 ads in any given day (one per subcategory/category)

Any guesses how to go about this?

(I can switch to a Custom content type, if it can be done with that too)

 
 

Drupal is a registered trademark of Dries Buytaert.