Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I have a view page display to show some content and I added a contextual filter to filter by user id [uid]. It works fine.

I need to create the path to be shown in the Main Menu including the token for user id at the end of the path. Something like /tus-lotes/[uid]

If I try with: /tus-lotes/% I get this error message:

Views cannot create normal menu items for paths with a % in them.

But I see that the path doesn't accept token. How can I accomplish this?

Please look the capture: enter image description here

share|improve this question

1 Answer

up vote 1 down vote accepted

In the contextual filter settings: When the filter value is NOT available -> provide default value ->User ID from url

and edit link of the view just without the argument/token

share|improve this answer
It works, thanks. – chefnelone May 30 '12 at 13:22

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.