The Goal of the this script is to create a new website from existing templates. A user can choose template directory on his computer and it will create a new directory (or zip file) with the new 'keywords' that the user specifies.
it should be able to open, find and replace any files including .htaccess, .php, .html, .css extensions - please see attached file for more information. It should replace them in subdirectories too. Please read the notes below.
################################################################################
This script should do following:
1. create a copy of a selected template (files and folders) to where user chooses
2. find and replace terms in files (all files in template folder)
3. save change files in a folder named after its domain name
TEMPLATE FORM FIELD
The templates are located here in these variables - the user selects which template to create a new site from:
$senior = "C:Website_Templatessenior";
$brits = "C:Website_Templatesbrits";
$american = "C:Website_Templatesamerican";
$family = "C:Website_Templatesfamily";
$brits = "C:Website_Templatesdiscount";
COUNTRY FORM FIELD
The user writes the country. When script is run:
1. all instances of ##REPLACE_COUNTRY## in files are replaced with the new country name
2. the country name is made lower case
3. if the country has spaces in the name (ie 'new zealand') it is replaced with an underscore (ie 'new_zealand')
KEYWORD FORM FIELD
The user writes the keyword. When script is run:
1. all instances of ##REPLACE_KEYWORD## in files are replaced with the new keyword
METATAG FORM FIELD
The user writes the metatag. When script is run:
1. all instances of ##REPLACE_METATAG## in files are replaced with the new metatag
2. all double quotes are to be replaced with a single quote
SITE TITLE FORM FIELD
The user writes the site title. When script is run:
1. all instances of ##REPLACE_SITE_TITLE## in files are replaced with the new title
2. all double quotes are to be replaced with a single quote
SUBTITLE FORM FIELD
The user writes the site title. When script is run:
1. all instances of ##REPLACE_SUBTITLE## in files are replaced with the new subtitle
2. all double quotes are to be replaced with a single quote
DOMAIN FORM FIELD
The user writes the domain. When script is run:
1. The new template is saved in a folder/or zip file called domain name
LOCATION FORM FIELD
This is where the user decides where to save the changed files
CREATE WEBSITE FIELD
This Generates the new website
################################################################################
This is not an automated bid with your project's name pasted into it. I have read your
description and will provide a specific bid description. I am highly capable of the project,
I have worked with scripts that involve modifications and have developed systems that
automatically install these modifications based on finding data and inserting the appropiate
data, much like this project. I have PHP "classes" ready to implement into your template
building system making light and timely work of this project. Feel free to ask any questions
you may have. Thanks, Taner.
Hi,
I have the script ready and I use it on my local machine. I may need it to customize per your requirements. Please contact me if you are serious. I can help you.
-Rajesh