Closed (cannot reproduce)
Project:
Domain
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2013 at 01:12 UTC
Updated:
18 Apr 2013 at 13:27 UTC
When I switch subdomains, the SiteName changes; but the site slogan remains the same as the primary.
<h1><strong><?php print ($GLOBALS['conf']['site_name']); ?></strong></h1>
<h2><strong><?php print ($GLOBALS['conf']['site_slogan']); ?></strong></h2>I originally thought it was a theme, but even switching to Bartik 7.22 (which places the Sitename and Slogan on top by default) renders the same results. The site I'm working with is at http://kingdomwebhosting.com
Comments
Comment #1
agentrickardPlease list the steps you are taking to create the unique slogans.
Comment #1.0
agentrickardJust to clarify that the issue is not related to the code I wrote.
Comment #2
joebest commentedMethod A: Individually
Method B: Batch Updating
Comment #3
agentrickardI have it working fine. Things to check:
* Make sure the PHP module is enabled
* Make sure the Input format of the block is set to PHP Code
* Use the provided Domain access server information block to ensure that you are really on the domain you think you are. (If the server is misconfigured, this can happen).
Comment #4
joebest commentedI did everything as suggested but no success.
Can it be a hosting provider issue?
Comment #5
agentrickardWell, if you're on the primary domain, of course you won't see the slogan changes because they are loaded contextually based on the active domain. You would have to navigate to a second domain to "see" the slogan change.
Use the "Domain switcher" block to test.
Comment #6
agentrickardIf, however, you switch from example.com to one.example.com and the Server Info block still says you are on the primary domain, you either have your domains misconfigured or a problem with your host's handling of DNS.
Comment #7
joebest commentedWill verify and get back to you. I'm trying this on both a host provider as well as a on local MAMP server and I get the same results. I have a website, frutodelavid.org using Domain Access 3.6 and the slogan is correctly displayed by subdomain with the mentioned PHP code inside a block.
Comment #8
agentrickardI have it working fine locally against 7.x-3.x. Nothing has really changed that would affect this behavior.
Comment #9
agentrickardComment #9.0
agentrickardmistake writing website
error: kingdomwegmosting.com
correction: kingdomwebhosting.com