Answer the question
In order to leave comments, you need to log in
Drupal 7! How to create dynamic urls?
Hello!
Tell me how you can make a dynamic url for materials that belong to several terms? There is a page, the path of which is created according to such a template ( tags/[node:field-teg]/[node:title].html ), of course, if I go to any term to which this page refers, the path of this page does not change!
Let's say there are two terms.
Answer the question
In order to leave comments, you need to log in
You just don't have to do it. One resource = one URL. You can only pass tid through the GET parameter if something changes on the target page depending on it. And this is easily done in the node template, since you have access to the parameters through the args function and access to all the fields of the node through $content['field_name']['#items']. If you are using views, then just print unformatted list, renerred entity.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question