Download & Extend

Filtering content by user subdomain

Project:Subdomain
Version:6.x-1.5
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

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

#1

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')

#2

Status:active» postponed (maintainer needs more info)

#3

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

#4

Its working now.

Im using subdomain module with panels and views.

And works Great. Thanks

#5

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

#6

Can you tell exactly what did you do?

#7

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

nobody click here