4939 Posts in 16621 Topics by 1491 members
|Go to End|
19 December 2008 at 9:52pm
First of all, yesterday only I have uploaded Silverstripe on a serevr.
I am going to use existing database for Silverstripe content.
But not sure about using existing database. Will that affect the content which is
already in the database???? If thats the case then whats a solution, do I need to use
seperate databse for Silverstripe??
Any help is much appreciated...
20 December 2008 at 8:12am
It might if you already have table names that are the same as ones being installed by SS. I can't remember if during the install SS gives you an option for a prefix before each table name, because that would solve the problem. I don't think it does though.
I would suggest using a new database to be safe.
What are the table names that already exist in the database?
22 December 2008 at 10:50pm Last edited: 22 December 2008 10:57pm
Thanks for your reply..
have used seperate database..so dont have to worry about overwritting ...
But not sure about how to edit default template...I am using Blackcandy...as mentioned in tutorial
I have done changes in tutorial\templates\page.ss & also have flushed the page by appending
?flush=1...but I cant see any changes..
On the other side, If you do the changes in themes\templates...
you can see those changes...but I think its not a correct way to do it...
So any other way to do that?????
23 December 2008 at 8:17am
If you're using the Blackcandy theme, it means you installed using that theme, and not the tutorial files. Thus all the edits need to be done using the blackcandy theme directory and code changed to mysite/code. You can also change 'mysite' to any name and edit your config file to reflect this.
This is improved upon in 2.3 as tutorials becomes a subdirectory of the themes folder, making it a bit easier to understand.
You can safely delete the tutorial directory since you aren't using it.
|Go to Top|