|
#1
|
|||
|
|||
|
Anyone here have installed Multisite on 4.5.2?
i tried installing it and when comes to point 5a and 5b, i really have no clue of what they are talking about. here is the manual ------------------------------------------------------------------------- I've made the made the multisites add-on of the previous mambo releases (4.5) workable to the 4.5.1.a release. This add-on makes it possible to add sub-directory to your mambo installation. In needed this hack to create a multilanguage site which has different content items for specific languages (i could not use mambelfish because this only controls the content items and not the control for a different subsite. Thanks to the previous hack from multisites.zip I made the adjustments. For example you can create your site structure like this: www.mysite.com www.mysite.com/subsite1 www.mysite.com/subsite2 www.mysite.com/subsite3 www.mysite.com/etc... I've tested and it seems to be working well for the purpose I made the adjusmtents. ================================================== ================================================== ============ Undertake the following steps for making this hack to work: 0. First make a backup of your current site files (the steps below are for your own risk) 1. Rename the configuration.php to config.php in the root directory of the mambo installation; 2. Extract the files from the zip file in the root of your site and replace all the files in your MAMBO installation with the files in this zip file. 3. Note: A subdirectory for the subsite is created, in this case /site1 4. Copy the config.php from step 1 into the /site1 directory 5a. Copy the table's in the Mysql environment which should be unique within the subsite, for the mos_content_* tables to site1_content_*. Please note: every table you like that must be seperated from the main site and have unique content(!) in the subsite must be copied with a different suffix! [I]5b. Edit the /site1/includes/sitedatabase.php file and replace / add the substrings in the setQuery function $sql = str_replace('#__content', 'site1_content', $sql); $sql = str_replace('#__<other_table_name>', 'site1_<other_table_name>', $sql); <and all other tables that apply to the subsite that must be unique for that specific site> -------------------------------------------------------------------------------------------------------- For creating more subsites you will have to repeat step 4 - 5b or your can copy the site1 subdirectory to an other directory and perform step 5 by renaming your table prefixes and string replacement into the sitedatabase.php -------------------------------------- can someone translate to me of what to do in 5a and 5b? i really don understand it thanks |
|
#2
|
|||
|
|||
|
did you ever get this working?
__________________
www.turnaroundmedia.com |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mambo Multisite. How useful? | Alex | Mosets & Joomla | 3 | 01-16-2005 09:15 PM |