I have my front page as http://artist-247.com/welcome/ view
If you use the link http://artist-247.com/welcome/ccat then only User CCat content is displayed.
Is there an easy way to have the URL use http://ccat.artist-247.com/welcome/ to get the same
filtered content?

Comments

setvik’s picture

If you just want to filter some views, you probably don't need the sudomain module.

Instead, add a custom "custom_url_rewrite_inbound() function to your settings.php file and append the subdomain (if any) to the end of the path (when the path = 'welcome')

setvik’s picture

Status: Active » Postponed (maintainer needs more info)
nonom’s picture

Hi setvik,

first so many thanks because subdomain module is important for me.

Im trying to have a filtered view, by user content, using views in conjuntion with subdomain module to display all the user related content.

Im using user subdomains without problems.

At the moment I have urls pretty working as
http://user.domainexample.com/blog
http://user.domainexample.com/profile

And now i need to appoint my front subdomain to a different path filtering user content, like a "user space"
http://user.domainexample.com/

But in my case i can't make it work fine with a custom "custom_url_rewrite_inbound()" in my settings.php appointing to view path as you said.

In that case [subdomain] returns always a empty value (404).

Im starting. Could give me another hint please ;)

Thank you very much

nonom’s picture

Its working now.

Im using subdomain module with panels and views.

And works Great. Thanks

finex’s picture

Nonom: I'm having a similar problem but I'm not able to solve it: http://drupal.org/node/666502 :-(

auris’s picture

Can you tell exactly what did you do?

finex’s picture

@auris: please read http://drupal.org/node/666502 which is very detailed :-)