By alb on
is possible to do this (and how) ?
user 1: create a content type with 3 listboxes everyone with 5 options
listbox1 (A, B; C; D; E)
listbox2 (AA, BB; CC; DD; EE)
listbox3 (01, 02; 03; 04; 05)
user 2: use this content type for to make a page, so it select A by first list, CC 2nd and 05 last list;
in the site all visitor see this specific page how a table with 3 rows and 2 columns:
listbox1 A
listbox2 CC
listbox3 05
------------------------------
example above is for one page; but if user 2 create many pages is possible insert in
basic menu a box with advanced search example:
search all page where listbox1= C AND listbox2= DD AND (listbox3 >2 and <3) ?
using checkbox ?
Comments
...
You can do this with CCK + Views.
(Use a numeric field for listbox3.)
Views uses listboxes for its filters. You'll have to do some FAPI magic to turn them into checkboxes. (Maybe there's a module for this already. Maybe not.)
Since Views prints node after node, your table will be rotated 90 deg.
well this is second parts of
well this is second parts of my question;
but how can realize first 2 points (that who user 1 and 2 can make) ?
...
I think I don't understand the question. I don't quite understand the role of "user 1".
Perhaps you're talking about quizes; e.g., forms that teachers can creates for students? Then maybe more knowledgeable people can be found at groups.drupal.org/drupaled-distro .
But before we deepen our questions it's best to return to the basics. To study some CCK, Views, Drupal in general. We can't run from doing some homework, and we need some common terms to use when we discuss things.
Irrelevant comment
"....and we need some common terms to use when we discuss things...."
So basic and so obvious. Very good point. Yet, creativity flows from chaos....
I make one example:
I make one example:
if I want to do a small catalogue (or others small application for to archive products with details )
user1 can realize only the content type so:
Book text-field
Autor a listbox filled with (A, B; C; D; E)
Publisher a listbox filled with (AA, BB; CC; DD; EE)
Code a listbox filled with (01, 02; 03; 04; 05)
after user2 for create the small cataloque will use the content type of the user1;
it manually, for every book will insert its name and Autor, Publisher and Code it
will do selection using listbox.
...
Have you tried CCK?
Would you like to explain this to me in email? Your contact form is disabled, so please use mine.
we can discuss also here so
we can discuss also here so can it useful also for others;
I must activate (think) my form if not work.
I have resolved one parts: my error is that I not see fast the page for make fields and not notice
that there is the box "allowed value list" and one others php that not know whic is the use.
must now to value how can to limit permission for create content type only at user 1;
...
(Sorry for not replying earlier, I overlooked this thread.)
That's easy --if I got you right.
Users are grouped in roles. You can assign different permisions to different roles.
For exmaple, you can put "user 1" in the "managers" role, and "user 2" in the "editors" role. Then, using the
Administer › User management › Access controlscreen you can allow only "editors" to create new nodes of type, say, "product".So you're a bit newbie. I believe there are some screencasts that demonstrate CCK. You should browse the 'handbooks' section of this site.