Since I currently run Multisites Postnuke, I decided to see if 0.800 can be
set up much the same way as 0.7xx was, since there's been no mention of
weither multisites will ever become a 'standard module'.
With 0.800, comes a new config directory structure and changes in the old
multisites coding to support it.
===========================================
config/config.php
=========================================
config/whoisit.inc.php
===========================================
config/parameters/test.hostsite/config.php
(same as installed/created version with the following change)
// ----------------------------------------------------------------------
// if there is a personal_config.php in the folder where is config.php
// we add it. (This HAS to be at the end, after all initialization.)
// ----------------------------------------------------------------------
include("config/parameters/whoisit.inc.php");
if (file_exists('config/parameters/'.$serverName.'/personal_config.php')) {
include('config/parameters/'.$serverName.'/personal_config.php');
}
============================================
So, the questions are:
- is "WHERE_IS_PERSO" still valid under 0.800 (doesn't seem so) ?
- will each host directory still access it's own 'themes' and 'images' dirs ?
- are the above codings appropriate for 0.80 ?
- are there any hidden 'gotchas' with multisites ?
I'm testing 0.800 with the multisites coding and it seems to work fine.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Multisites code?
-
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
There will be a multisites module with .80 but it will be a completely different impelmentation with a management module and support API's. Modules decide what table prefix to use via the API pnDBGetTablePrefix. Different directories for themes and images are a possibility. Themes can be enabled/disabled from the themes admin panel so this might not be a necessity.
This will, however, be one of the last modules that gets worked on although a basic structure is currently in the ValueAddons repository.
-Mark
--
Visit My homepage and Zikula themes. -
- Rank: Freshman
- Registered: Jan 31, 2005
- Last visit: Oct 21, 2009
- Posts: 51
Maybe this should go somewhere else but it'd be VERY cool if the upgrade was made multi site compatible. Upgrading from .75 - .762 was a huge headache just because I had to trace database changes and reincorporate them into the different pntables.php files + databases. -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
It will be very difficult, if not impossible, to make any new multi-site code compatable with the previous incarnation. This is because the old code is a complete hack - nothing more.
The proposed new solution is a proper module that fully integrates with the PostNuke core making the whole process of setting up multiple sites easier. With the new code you shouldn't need to touch the PHP code at all.
-Mark
--
Visit My homepage and Zikula themes.
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
