Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I dont know how to use tokens to get arguments from url.

I have url: site/country

On this page i have links to terms, i want them to have in alias first argument from current page /country/term-name.

But instead of this my terms have alias /batch/term-name Can i have a little help and show me a little example of how to use tokens of current

share|improve this question

If you want to use tokens with taxonomy terms urls you have to enable token, pathauto and Chaos tools module. You can do it by runing drush command drush en pathauto -y After these modules are enabled go to admin/config/search/path/patterns enter image description here

enter image description here

enter image description here

Hope this is what you asked about.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.