Closed (won't fix)
Project:
Node Gallery
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2009 at 20:52 UTC
Updated:
21 Sep 2009 at 23:31 UTC
I tried so many methods of getting the username into the url, but I couldn't figure it out, and there's only one way to get the username to be in the front of the address: path aliases.
I would like "galleries/1" to become "username/gallery" automatically.
For my own purposes, I hard-coded a bunch of path changes to the module so it could have urls which looked nicer, but I couldn't get it to match the alias for each gallery, which was "username/portfolio/title", because it's impossible to have any argument at the base of a path.
Comments
Comment #1
dbeall commentedMy first thought on this is pathauto, token and custombreadcrumbs
Comment #2
Tally commentedI use PathAuto to create aliases. Works great. Hacking the module creates a maintenance nightmare and should be avoided.
My galleries have gallery/[author-name-raw]/[title-raw] and my images have gallery/pic/[author-name-raw]/[title-raw] as paths.
Comment #3
dbeall commentedI am adding some more information to the node_gallery handbook about pathauto. It is a great module.
Comment #4
kmontyAs many people have already noted, solutions already exist to make this happen.