how can I parse a subdomain as an argument in Views
| Project: | Subdomain |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
hi setvik,
it has been days that i've been looking around within this site and out of drupal.org itself. i can't be the only one who's looking for this solution.. but i managed to find tho: http://drupal.org/node/391748 (but there's no answer there)
using subdomain.module, i set it to let each individual user to have their own subdomain. i want all their contents to be within their own url. e.g.
http://username.domain.com/photo
http://username.domain.com/photo/content-title-raw
http://username.domain.com/video
http://username.domain.com/video/content-title-raw
i created a Views page to list user's content-type archives (e.g. path video will list all videos that was submitted by the user of that subdomain). the problem with it is, i can't parse the argument as username is the first string in the URL and arguments may not be used even for the first segment of a path.
i hope that someone are able to guide me on my situation.
thanks!
