Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By ovidenov on
Hello everyone,
I have a bit specific question.
I have a content type->TESTS
it has the more or less the normal fields.
There is a view that displays all of the tests. So far,so good.
But the requirement is to add a specific textbox-> SCORE of TEST for every instance.
And it should be different for all the logged in users.
For example. All users see the tests and can insert a result.
This result is recorded in the database.
What should be the best approach doing so ?
Maybe:
1.Create the field "ScoreOfTest"
2.Alter the view in a custom module
Thanks in advance
Comments
Hi ovidenov,When create the
Hi ovidenov,
When you create the content type does it reference who test scores they are? Without any reference's to who's score it is this would be hard. You could use entities I believe as you can create relationships you need then you could use views to display it.
http://drupal.org/node/1261744
https://www.purencool.digital
No reference
Hi ,unfortunately no reference is made in the content type whatsoever.
I am trying to do something with
hook_views_pre_render