Hello,
artist and album nodes are connected by node reference field
I have url of band - domain.com/artist/[name-of-band]
and I would like to have view of bands albums with url domain.com/artist/[name-of-band]/[name-of-album]
now I can do that view with url domain.com/artist/[id-of-band]/[album]
the view has argument node ID - default argument - Node ID from URL with that relationship
Comments
Comment #1
dawehnerI think cck would have to provide a argument handler which accepts title and not just nid.
As alternative you could use views validation code and load the node-nid with the title of the node.
Comment #2
ankerek commentedHow exactly?
Comment #3
dawehnerIts not implemented yet, so the question for exactly is not very easy to answer.
First you would have to write a handler
There you join the node table and add the field "title" to distinguish with the argument.
Comment #4
esmerel commenteddereine: you said 'not implemented yet' - I know a bunch of stuff got implented in the last year, is this in the mix?
Comment #5
dawehnerThat's not really true what i said. Don't trust me.
Without knowing it really i would say this is possible with relationships.
Comment #6
esmerel commentedComment #7
merlinofchaos commentedhttp://drupal.org/node/564106