I'm sorry if this question has already been covered elsewhere.. I couldn't find the info searching the site with google.
I've created a custom view with a user argument. It's an audio playlist (using audio module and views bonus pack). The URL to the page is audioplayer/$arg
The argument type is "Username is author" and the default is "Summary, sorted descending" (I've tried all the summaries). I've tried setting the wildcard to * and leaving it blank. The view mostly works. If I navigate to site.com/audioplayer/* I get a playlist of all the tracks on the site. It also works if I navigate to site.com/audioplayer/anyusername... I get a playlist of tracks by that user.
What doesn't work is the default summary. The links in the default summary view are audioplayer/$arg/usersname instead of audioplayer/usersname (which I was expecting... each of the links in the summary should be to a different possible value for the argument right?) Clicking on a user in the summary displays the same summary again, and clicking on the same user again will display the desired user's audio playlist. The problem is having to click twice, and confusing URLs like audioplayer/john/sally which will show john's playlist even though sally was clicked on the second time.
Also, going to audioplayer/ (without any argument) gives a 404 error instead of showing the default summary.
Perhaps what I don't understand is the name of the argument in the view's page url. Is it supposed to be $arg, or is that just used in the docs and examples as a placeholder for some other variable?
Obviously I'm just figuring Views out. Any suggestions on what I'm doing wrong would be greatly appreciated.
thanks in advance!
Jeremy McNaughton
P.S. The test site I'm working on is http://lcdev.ath.cx:8080/drupal so the playlist view I'm trying to create is at http://lcdev.ath.cx:8080/drupal/audioplayer/%24arg If you're curious the site we're doing this for is http://LondonCommons.net/ which currently runs off 4.6 and is getting a major facelift along with the 5.2 upgrade. Hurray for community owned media!