Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add multisite support #29

Merged
merged 1 commit into from Apr 27, 2016
Merged

add multisite support #29

merged 1 commit into from Apr 27, 2016

Conversation

justb3a
Copy link
Contributor

@justb3a justb3a commented Apr 21, 2016

I really like your module and use it on almost every page. One of my projects uses the Multisite module. Now I need different settings for every page. Therefore I extended the config data from the Multisite module like this:

$config->MultisiteDomains = array(
  'domain1.com' => array( 
    'root' => 'www.domain1.com' 
  ),
  'domain2.com' => array( 
    'root' => 'www.domain2.com', 
    'http404' => 1932,
    'markupSEO' => array(
      'piwikAnalyticsIDSite' => 12,
      'titleFormat' => '{title}'
    )
  )
);

The code checks whether the Multisite module is installed and overrides the module config data for this specific site. Unfortunately I found no way to hook into your module. If it's ok for you, it would be great to add this feature to your module. Thanks!

@nicoknoll
Copy link
Owner

Cool, thanks!

@nicoknoll nicoknoll merged commit 084f207 into nicoknoll:master Apr 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants