/**
* $Id: clone.txt,v 1.4 2005/09/16 18:47:16 malanciault Exp $
* Module: SmartNews
* Author: The SmartFactory <www.smartfactory.ca>
* Licence: GNU
*/

/* Traduction franaise plus bas... */

How can I clone SmartSection ?
==============================

Cloning SmartSection is possible with a little extra work :-). Here are the steps you need to carefully follow in order to acheive this. In this example, we will perform a cloning from SmartSection to an identical module called SmartNews.

- Rename the module directory from 'smartsection' to 'smartnews'

- With a tool that let you perform find and replace (case sensitively !) in all files of a directory (Advanced Find and Replace is a good example), perform the following changes in all the files of the module :
  - SmartSection => SmartNews
  - smartsection => smartnews
  - SMARTSECTION => SMARTNEWS
  - Smartsection => Smartnews
  - SSECTION => SNEWS

- In smartnews/templates rename all files by changing the prefix from smartsection_ to smartnews_

- In smartnews/templates/blocks rename all files by changing the prefix from smartsection_ to smartnews_

- Install the module. You are ready to go !



Comment cloner SmartSection ?
=============================

Cloner SmartSection, c'est possible en executant quelques taches supplementaires :-). Ici, vous trouverez les etapes  suivre, pour pouvoir le faire. Dans cet exemple, nous allons cloner le module SmartSection en un autre module identique appel SmartNews.

- Renommer le module "smartsection" en "smartnews"

- Avec un outil (ULTRA EDIT) qui vous permet de trouver et de remplacer tous les fichiers d'un rpertoire ("Advance Find and Replace" est un bon exemple), effectuer les changements suivant dans tous les fichiers du module :
- SmartSection => SmartNews
- smartsection => smartnews
- SMARTSECTION => SMARTNEWS
- Smartsection => Smartnews
- SSECTION => SNEWS

- Dans le rpertoire smartnews/templates renommez tous les fichiers en changeant le prefixe "smartsection_" par "smartnews_"
- Installez le module. et c'est pret !



.:: The SmartFactory ::.
.:: Open Source : smartfactory.ca ::.
.:: Professionnal : inboxsolutions.net ::.
.:: support@smartfactory.ca ::