This system plugin allow to search and replace any content present in a page.
This can be used for example to replace some keywords that could be placed in "shared articles" and that will be replaced by their specific values in a given website using this Search/Replace plugin.
You could for example use keywords like:
[COMPANY] = This is my company
[DEALER_NAME] = This is the dealer name
With 1.1.0 version, it is now possible to also enter regular expression.
A regular expression is identified by a tilt as first character
~#\[COMPANY\]#i = This is my company
The list of Search/Replace can also be provided from external files.
You can provide 2 external files with the Search/Replace patterns.
For example you could use :
As you can see, some keywords can be used in the file names.
In this sample, we have use a PHP file extension to allow protect the content of this file.
Here it is a sample of file content
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
/*
; Put below the Search/Replace expressions
;------------------------------------------
Search1=replace value1
Search2=replace value2
*/
This system plugin that allow replacing a special keyword like {{site_id}} by the current value of the MULTISITES_ID.
This maybe usefull to condition some values present anywhere in a page.
It can be used for example to fill a hidden field in form to save the current site id
Multi Sites Google Analytics is a free module for Joomla 1.5 that allows you add into your website the Google Analystics script code.
With this joomla module, you can assign different Google Analytics Tracker Identifier (UA-0000000-0) to different domain name. You can also assign a default identifier that will be used any domain name.
This Joomla Module is very suitable when you host multiple domain name to the same Joomla website.
This module is also works with Joomla Multi Sites.
Sample of configuration:
This "hello."zip file is designed to help you test your DNS configuration when you want to share the same Joomla Installation between multiple website.
The objective of this "Hello World" is to install a file "hello.txt" on your master website and check if you can also see this file from the slave websites.
Whe you arrive to share this "hello.txt" file between multiple domain or sub-domain, this mean that Joomla Multi Sites will be able to manage those multiple website each websites independently like if they was installed in different Joomla Installation.
The "hello.zip" file contain:
If you want to see a sample of results of those scripts and therefore the expected results here are some links that you can use.
Master website URL:
Notice the both Master and Slave websites display exactly the same "The current path is".
This is because the DNS share the SAME path (share the same joomla installation - share the same files and folders)