Active
Project:
Sections
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2009 at 15:22 UTC
Updated:
8 Sep 2010 at 15:27 UTC
Jump to comment: Most recent file
Here is a draft (but working) patch that allows sections to match against the full path.
Very usefull if you want different themes on different urls or subdomains.
http://*.example.com/* as "path" will show a theme on http://foo.example.com/bax or http://bar.example.com/bay etc
http://foo.example.com/user/* will activate a theme only on foo.example.com path user. etc.
If this idea is found nice, we still need to update the help and description texts a little and might want to check if there are performance issues related with this.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | sections_full_url-D6.patch | 2.35 KB | hass |
| sections_full_urls.patch | 1.1 KB | Bèr Kessels |
Comments
Comment #1
hass commentedIs this a multi-site installation with single database? I only wonder how you share the settings... :-)
Otherwise I also see good reasons to implement this in D6+ if domain based language detection is enabled...
Comment #2
hass commentedOnly as a note - if you'd like to get this in, we need a patch very soon or it may be tooo late for the next releases.
Comment #3
hass commentedD6 Version attached. I have added the small text change. Do you think we need more or change the wording?
Comment #4
Bèr Kessels commentedplease wait with this release till after the release. I will upgrade it after a next release.
Comment #5
liliplanet commentedHi,
.. upgrading this to D6 ..
I've tried adding the patch in #3 but unfortunately not compatible with latest version of Sections.
Please, is it possible to handle a sub-domain, so as per original request .. the ability to add a full url ?
in my case it would be for example http://www.mydomain.com (theme1) and http://new.mydomain.com (theme2)
Most appreciate any reply and thank you.
Lilian