Open form for node / add with established taxonomies, no user changes required

I am using a hierarchical taxonomy with a taxonomy menu and want to add a simple form link to my view to add mynodetype "in this directory" = with this term lineage. (up to 4 terms)

outside drupal, you could put a hidden form field ... what would be a good and drupalish way to accomplish this? Do I need my own .tpl.php?

At first I tried autopopulate, but it seems to behave badly with ajax hierarchical selection, which is not surprising. Then I decided that this could be a feature that I could add in later versions, more important is the statement of fix terms to the node.

I am using current drupal-6, cck, views. I tried the topic a little more and am familiar with php, but have not done any modular coding yet, but love to dive into it. Just btw fyi.

My goal is DMS for my company, documents often change, but we need fine-grained permissions, so I decided to use TAC and create a folder structure based on taxonomy.

florian

+3
source share
4 answers

, ? ? , Flag/Rules/Token - , node > node > < node cck → node > node... - .

, " " , ( ), php link? q = node/add/[my node type]/[term id] URL-, arg (0) node (), arg (1) (), arg (2) [my node type] bingo! arg (3) [term id] ( URL- ), , node. cck [my node type], - " " - node.

, 3 ... Drupal:)

0

, "Nodereference from URL" , . , , . http://drupal.org/project/nodereference_url

0

Source: https://habr.com/ru/post/1736108/


All Articles