Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Using existing database for Silverstripe


Go to End


4 Posts   2879 Views

Avatar
Anaya

Community Member, 42 Posts

19 December 2008 at 9:52pm

Hi Guys,

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...

Kind Regards
Anaya.............

Avatar
Liam

Community Member, 470 Posts

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?

Avatar
Anaya

Community Member, 42 Posts

22 December 2008 at 10:50pm

Edited: 22/12/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?????

Kind Regards
Anaya...

Avatar
Liam

Community Member, 470 Posts

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.