Posted by Ujval Shah on April 8, 2009 at 6:20am
Jump to:
| Project: | View Alias |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | emackn |
| Status: | postponed (maintainer needs more info) |
Issue Summary
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
#1
I 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.
#2
Or for http://drupal.org/project/view_alias
#3
This module is useful only for the taxonomy feature, i am already using this module. This module does not support 'user/%' path feature.
#4
Then it should ;)
#5
I'll check into it.
#6
@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
#7
Subscribing
Hi catch_smith, care to share what you did?
#8
Hi, any news about this issue?
#9
I 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?
#10
+1
#11
one 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.
#12