Hello,

I’d like to have detailed model profiles on my page. I have a node type ‘models’ and I am using CCK to provide various fields like location, height, weight, birthday, etc..

I am also using views to provide an overview of all models.

Now I would like to be able to search the model profiles by weight (X to Y kg), Age (X to Y years), and other parameters. There should be drop-down menus (e.g. For age: “20-29”,30-39”, ..).

How can I do this?

Another question: I want to have profiles for female and for male models as well. Obviously they need some different fields (e.g. beard length for men, breast size for women). Should I use two different node types or is it possible / better to use one? Can I let the users first choose a gender and then show them the appropriate fields? It would not make sense to show to a man a select list for breast size. I have installed active select but it does not seem to have any influence on CCK node types and fields.

Comments

Jeff Burnz’s picture

Now I would like to be able to search the model profiles by weight (X to Y kg), Age (X to Y years), and other parameters. There should be drop-down menus (e.g. For age: “20-29”,30-39”, ..).

Did something similar recently - we used views & a custom built search module.

www.sitespring.eu

gurukripa’s picture

hi
can u pls share the code on how u did it..thanks

gurukripa’s picture

we wld like to know more about how u did it..

cld u do a small tutorial..and cld u show us the site..where this was accomplished..

thanks

davidwest’s picture

hey, pass some of that over here too ;> .... well, if you are passing it out i would love to look at it too,,,, but why did you do custom coding on it? it seems like so many things are already built in..