Upload
kaolo
View
225
Download
0
Embed Size (px)
Citation preview
8/3/2019 How to Make Joomla Multisite
1/5
How to make Joomla! multisite without any third extension
http://new.anezi.net/fr/
This tuturial for help you to have only one joomla folder installation for many websites.
1- Choose one folder for joomla files:
In your Control Panel (CPanel), enter to Filemanager and create one folder to be used in all your websites:
In this tuturial I call itjoomla.
Unzip the Joomla files in this folder /joomla
2- defines.php
Create this file /joomla/defines.php
8/3/2019 How to Make Joomla Multisite
2/5
/joomla/configuration/promotionsociale.com/configuration.php
/joomla/configuration/new.anezi.net/configuration.php
Each one contains:
8/3/2019 How to Make Joomla Multisite
3/5
public $MetaRights = \"2011 All rights reserved\";
public $sitename_pagetitles = \"1\";
public $force_ssl = \"0\";
public $feed_email = \"author\";
public $cookie_domain = \"\";
public $cookie_path = \"\";
public $MetaTitle = \"1\";
}
You need to change the parameters for each web site.
5- Liste of web sites file
You need to create a file which contains the list of host names of each web site:
/joomla/configuration/sites.php
In my case, this file contains:
8/3/2019 How to Make Joomla Multisite
4/5
Image Resize PHP
http://blog.hycus.com/2011/11/02/image-resize-and-square-cropping-using-php/
function square_crop($src_image, $dest_image, $thumb_size = 200, $jpg_quality = 90) {// Get dimensions of existing image$image = getimagesize($src_image);// Check for valid dimensionsif( $image[0]
8/3/2019 How to Make Joomla Multisite
5/5
}function minimizeimg($src_image, $dest_image, $newwidth = 200, $jpg_quality = 90) {
// Get dimensions of existing image$image = getimagesize($src_image);// Check for valid dimensionsif( $image[0]