zikula-modules / multisites Goto Github PK
View Code? Open in Web Editor NEWMultisites on a single Zikula instance
Home Page: https://github.com/zikula-modules/Multisites
Multisites on a single Zikula instance
Home Page: https://github.com/zikula-modules/Multisites
Gabriel (@gfr) and me are going to do a new major version of Multisites.
Today I created a first model just reflecting the current state of the module plus some minor additions, like some custom actions and ip address checks and an index for the site table. I think that the model will be subject of several iterations when we incorporate open tickets and wishes into the concept.
multisitessites
table as hash instead of cleartextFrom @rallek
Thinking about multisites:
is it possible to have the same site (same database, theme, modules, ...) with different entry points?
e.g. www.mysite.tld do have the news module configured for index.php and myentrypoint.mysite.tld do have a configured content page for index.php?
This can be a usecase for my pggo.de site. Different sub-communities (e.g. a Kindergarden, a YMCA-group, ...) of the complete community do want to have their own subdomain or even main domain.
A nice feature addition would be if a site could have more than one siteDns value.
For example test.org
and www.test.org
.
@gfr
I propose introducing a new alias for each site instance which can be used for naming directories (instead of using the domain for that). Background and motivation is driven by the fact that a domain is not very long-living. For example if you setup a page at test.example.com and move it to www.example.com later, all images included will change their pathes (like /userdata/msData/test.example.com/data/MyMod/myfile.ext).
There should be a possibility to update Multisites v1 to v2 with ease.
The latest build of the Multisites modules throws this error at /extensions/module/list
, even though the module is not attempting to install.
Warning: Multisites has an invalid composer.json file which could not be decoded.
The field is mandatory but is not shown as mandatory. The indicating asterisk (*) is missing. Yes, it is really ultra low priority, but it should be done. :)
If I deinstall a module in an instance, the status of the module is inactive and not deinstalled.
replace anything starting with web/
e.g.
{{ pageAddAsset('stylesheet', 'web/bootstrap/css/bootstrap.min.css') }}
with
{{ pageAddAsset('stylesheet', asset('bootstrap/css/bootstrap.min.css')) }}
replace
{{ pageAddAsset('javascript', 'jquery') }}
with
null - jQuery is added always
This doesn't work, I think.
{{ pageAddAsset('javascript', 'zikula') }}
the new system has no provision for 'aliases' like the old did.
at present I do not have a good solution.
I'm not sure JS get text ever worked properly anyway
Ensure everything is working with Zikula 2.x.
Or regenerate for Zikula 3 directly.
When executing via CLI:
php app/console
The following notice is output:
PHP Notice: Undefined index: HTTP_HOST in /config/multisites_config.php on line 3
The ZikulaKernel includes the file multisites_config.php, if it is readable.
It should be possible to define the allowed languages for each page. Currently all locales existing in the system are available in all sites having multilanguage capabilities activated.
Each site could have an additional app/Resources
folder, too, which has a higher precedence.
@Bundle/template.html.twig
)
Zikula\ThemeModule\EventListener\TemplatePathOverrideListener
Bundle:template
)
Zikula\ThemeModule\HttpKernel\ZikulaKernel::locateResource
Change repo structure for better Jenkins support.
Provide configuration for testing and code analysis.
This issue is for brainstorming.
foreach ($newmods as $newmod) {
ZLanguage::bindModuleDomain($newmod['name']);
ModUtil::apiFunc('Extensions', 'admin', 'upgrade', array('id' => $newmod['id']));
}
SELECT table_schema FROM information_schema.tables
WHERE table_name = 'some_module_table';
The methods of SystemHelper and SiteExtensionHelper interacting with databases should be rewritten to using DBAL.
http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/
Existing functions need to be reincorporated into the new version.
I don't see a /docs folder, are there docs available for installing and configuring Multisites?
ReplaceParameters
handlerDynamicConfigurationListener
temp_dir
and datadir
(see app/config/parameters.yml
)web/uploads/
as well as custom cache
and logs
foldersDynamicConfigurationListener
/app/config/dynamic/generated.yml
config-folder/multisites_config.php
SystemHelper
ConfiguratorHelper
/ Configuration wizardNew features need to be implemented.
If I add a new theme on the server, the new theme will not be read into the database of the main site. For the instances this theme is available.
After the prototype has been generated the admin UI must be rearranged and customised.
The length of the "Site database host" input field is limited to 20 signs. Actually my host name has 21 signs, so i can not create a new Instance with my host.
Possibility to multiply and perform queries on several databases (all or selected ones).
Should be explicitely marked as expert function.
For utilising browser caching it could be advantageous to have an option with which one can enable that all assets (like JS libraries) are always served from either the main domain or a custom domain (entered by the admin).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.