Hiya,
I'm having a problem working out how drupal structures content.
I have a content type called "Artists" and then i have "Songs" i want my URL's to be:
www.foo.com/{artist generated url}/{song generated url}
i.e.
www.foo.com/led-zeppelin/stairway-to-heaven/
{artist generated url} -> is created automatically by pathauto from ...
I know that stackoverflow.com uses the module pathauto. I would like to use pathauto in drupal to create pathauto uris. But I don't know how to do this.
Example: domain.com/node/1 after using pathauto then domain.com/article/1/title-node
Now I want to go to domain.com/article/1/??? then still it shows node 1 instead of show page not fo...
Hello, I've a problem with drupal paths in one view that I building.
Right now my view has this form: contents/2/6.
Where 2 and 6 are the Ids of two nodes, I'd like to manipulate these ids to translate them let's say the title of those nodes.
I can not do this from the view because I'm sending these values to a panel, and the panel MUS...
I'm creating some feeds of news items and such. These items have URL aliases set for them. Is there a reason why the URL alias do not get used in the RSS feed?
I have a multi-language site which uses the path aliases to show correct navigation, and so when I get a 'node' link from the feed, it breaks everything.
EDIT
I'm creating the ...
I created a bunch of nodes using node_save(). Unfortunately, I forgot to turn on the Automatic alias setting on them. Anyone know how I can do that now? I can't figure out where in the db that setting is stored. (Other non-db approaches are fine, too.)
...
I made a customized template called node-mynode.tpl.php
Whenever a node of type mynode is requested, then node-mynode.tpl.php
is automatically used.
However, now user wants to see a specific menu block in this case.
Question:
How can I assign a block to a specific content type?
Hint: I have started to look at URL aliases with Pathaut...
I have Pathauto configured to generate an alias based on the title of a node, for a specific content type. The problem is that I want to make small changes in this title before Pathauto uses it to generate the alias.
The first comment in this post suggests the use of hook_token_values, but I couldn't really understand how to use it, eve...
Hello all!
I am having fundamental problems understanding when to use a pathauto rule, and when to use a views page path. I have several custom content types, and I am using blocks to display certain parts of nodes on certain paths. Then I use a views page to display the main node on a path.
When I do this, I can't use pathauto, as it ...
Im using pathauto so user profiles have a clean URL in the format /user/name-name
How can I output the users name as a link to the profile? Ive seen the theme() function used to do stuff similar to this?
...
I'm trying to set up pathauto to generate clean URLs based on my primary links. So About > Executives / Board would be about/executives-board. I've used the [menupath-raw] token for this which is creating the alias:
About/Executives / Board
It's not removing the slash and leaving in spaces. Also, it's not converting to lowercase. I've ...
I have a custom structure for browsing content built with hook_menu and Views. I would like links to content to be routed by node type to the appropriate destination in my structure. So while normally clicking on a node link takes you to node/123, I instead would like to be sent to foo/123 (because node 123 is of type 'foo').
I tried ...