Project:Sections
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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.

AttachmentSize
sections_full_urls.patch1.1 KB

Comments

#1

Is 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...

#2

Only 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.

#3

D6 Version attached. I have added the small text change. Do you think we need more or change the wording?

AttachmentSize
sections_full_url-D6.patch 2.35 KB

#4

please wait with this release till after the release. I will upgrade it after a next release.

#5

Version:5.x-1.x-dev» 6.x-1.x-dev
Status:needs review» active

Hi,

.. 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

nobody click here