I am using views - 6.x-2.4.
I have created a view which display the list of the pages created by a particular user.
In views,path i have defined as - page/user/%
when i visit this path there is no path-auto for this URL
i would like to have URL like - page/user-name (page/thedrupal)
second alternative:
i have also tried another alternative as:
In views,path i have defined as - user/%/page
but there is no pathauto for user/%
am i missing something or still this feature is yet to release.
Best,
The Drupal
Comments
Comment #1
merlinofchaos commentedI think you misunderstand how pathauto works. It creates aliases to well known locations. When you create a view, pathauto doesn't know about that and doesn't create aliases for it. But that's an issue for pathauto, not Views.
Comment #2
gregglesOr for http://drupal.org/project/view_alias
Comment #3
Ujval Shah commentedThis module is useful only for the taxonomy feature, i am already using this module. This module does not support 'user/%' path feature.
Comment #4
gregglesThen it should ;)
Comment #5
emackn commentedI'll check into it.
Comment #6
Ujval Shah commented@greggles : i have made a trick in the views argument and some other code to get the desired output.
so at present my issue is resolved, but there should be a module to create desired alias in the views which can help the other community people.
Best,
Drupal Rocks
Comment #7
dropchew commentedSubscribing
Hi catch_smith, care to share what you did?
Comment #8
Kane commentedHi, any news about this issue?
Comment #9
yngens commentedI join for the request for username or userid argument support. Have this issue: http://drupal.org/node/822318 Why limit the module's possibilities to taxonomy term only, when views can have arguments other than taxonomy terms?
Comment #10
bachbach commented+1
Comment #11
emackn commentedone of the main reasons this module came about was that you can have two different vocabularies with the same text names, but different id's. To feed only the text name to a view, its going to grab the first match it comes too. With an id, that issue is gone.
With usernames, I'm not sure if you can have two users with the same username but with different Id's, I might be mistaken. I know some modules allow you to use email as the username, that could be problematic to display as an URL alias.
Comment #12
emackn commented