Jump to content

cloning a site


talper

Recommended Posts

hello,

i have a small site:

www.mysave.co.il (im not sure how you gonna see it as its in hebrew, but i think you can understand the design.)

 

i need to make it clonable, as easy as i can and i made a config file, where all the configuration like the site name, and other things are.

i would like to get more ideas about what should be in the config file  design wise. (the css file is a dynamic php file).

i though before of making 3 different css files with 3 different designs but i want to keep it simple for now with only 1 css.

im looking for minor changings like changing the background (although the logo filling is white so it will have to be a predetermind colors, changing the font and colors, and maybe making it possible to move the right menu to the left.

just by the configuration file give it a few changes by demend.

any ideas?

 

thanks.

Link to comment
https://forums.phpfreaks.com/topic/169585-cloning-a-site/
Share on other sites

if you want to make site name change only in one file and display it on all others then use constants.

example:

define("SITENAME", "My Save");

//and then just use this in title
echo "<title>".SITENAME."</title>";

 

i'm not sure about other things. altho, i think you still need more than one css file...

Link to comment
https://forums.phpfreaks.com/topic/169585-cloning-a-site/#findComment-894799
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.