1

I'm still young at Drupal.So please correct me wherever needed.

I have a requirement wherein I want my content type to have my own fields (achieved with CCK), then I want one of the fields to be a selectable drop down and each drop down value should actually categorize them so that each type can come on separate page. This I managed with taxonomy. And in addition to these,I wanted some other fields in the same content type to be dependent on a particular value in the drop down. So I used conditional fields. And in order to use taxonomy term as field,I used content taxonomy. But unfortunately, conditional fields doesn't see the content taxonomy drop down (it works perfectly well if its a normal non-taxonomy drop down).

So basically,

  1. I want content to be separated (i.e. on different pages) on the basis of a value selected from drop down.

  2. And if a particular value is selected from drop down, few other fields should become visible.

How am I to incorporate these things? Am I on the right track or completely off track? I am using Drupal 6.14. :) Thanks for all the help!

apaderno
  • 28,547
  • 16
  • 75
  • 90
Niks
  • 4,802
  • 4
  • 36
  • 55

2 Answers2

3

I think you are on the right track, but the Conditional Fields is still in beta, so bugs/missing features are to be expected. Also, Content Taxonomy is a bit special compared to other CCK modules, as it only provides a replacement of the taxonomy fields on node edit forms, but is not present/active during node rendering.

That said, your Problem is already filed as a feature request in the issue queue of the conditional fields module, and there are some patches available and discussed to solve it - so you might want to check out that thread.

Henrik Opel
  • 19,341
  • 1
  • 48
  • 64
  • "Content Taxonomy is a bit special compared to other CCK modules, as it only provides a replacement of the taxonomy fields on node edit forms, but is not present/active during node rendering." You completely changed my view to look at content taxonomy! That is SO correct! I'll definitely try the D6 patches discussed in the issues. Thanks! – Niks Nov 14 '09 at 11:57
1

I'm not completely sure how you require the 'different pages' part to work, but if everything else works with a non-taxonomy dropdown - and you don't have time for the issues with Conditional Fields to get shaken out - then you may be able to set up a View page that filters on the value of the CCK node.

Andrew
  • 1,251
  • 6
  • 17
  • 1
    Well finally the solution to my problem was combination of taxonomy,conditional fields & most importantly,views. I decided not to use content taxonomy. Oh yes, and taxonomy defaults came in handy for some content types. Thank you all! :) – Niks Nov 16 '09 at 04:41