Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
load overlay based on forum url domain name
Avatar
ERIC MALALEL
Member
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2012 - 8:24 am

I have a SP forum which will be accessible through 2 domain names.

I would lilke to know how to proceed, if it's possible, to load a specific overlay for each domain name, let's say a black overlay for "myfirstdomain.com" and a red overlay for "myotherdomain.com".

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 13, 2012 - 8:32 am

before we get into that question can I ask how you are going to make it possible to access the same WordPress installation from 2 different domains?

andy-signature.png
YELLOW
SWORDFISH
Avatar
ERIC MALALEL
Member
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2012 - 8:51 am

to be more precise, the WP site is on "myfirstdomain.com", and the home page of the forum will be loaded in an iFrame from an Adobe Flex application hosted on "myotherdomain.com".

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 13, 2012 - 9:17 am

Interesting.

Well - as it happens - in the next update to SP due in before the end of this month - there is a new filter on the theme overlay loading which will enable you to set it from code very simply.

andy-signature.png
YELLOW
SWORDFISH
Avatar
ERIC MALALEL
Member
Free Members
sp_UserOfflineSmall Offline
Jul 14, 2012 - 1:08 pm

Perfect.

I will take some time late August to investigate this.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 15, 2012 - 12:34 am

be interesting to know how you make out...  we always take user mods under consideration for core or plugins...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626