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
Comment #1
setvik commentedIf 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')
Comment #2
setvik commentedComment #3
nonom commentedHi 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
Comment #4
nonom commentedIts working now.
Im using subdomain module with panels and views.
And works Great. Thanks
Comment #5
finex commentedNonom: I'm having a similar problem but I'm not able to solve it: http://drupal.org/node/666502 :-(
Comment #6
auris commentedCan you tell exactly what did you do?
Comment #7
finex commented@auris: please read http://drupal.org/node/666502 which is very detailed :-)