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

dawehner’s picture

I 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.

ankerek’s picture

How exactly?

dawehner’s picture

Its not implemented yet, so the question for exactly is not very easy to answer.

First you would have to write a handler

 class content_handler_argument_reference_title extends content_handler_argument_string

There you join the node table and add the field "title" to distinguish with the argument.

esmerel’s picture

Assigned: Unassigned » dawehner

dereine: you said 'not implemented yet' - I know a bunch of stuff got implented in the last year, is this in the mix?

dawehner’s picture

That's not really true what i said. Don't trust me.

Without knowing it really i would say this is possible with relationships.

esmerel’s picture

Status: Active » Postponed
merlinofchaos’s picture

Status: Postponed » Closed (duplicate)