Jump to:

4939 Posts in 16621 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Using existing database for Silverstripe

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

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

Page: 1
Go to End
Author Topic: 1746 Views
  • Anaya
    Avatar
    Community Member
    42 Posts

    Using existing database for Silverstripe Link to this post

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

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Using existing database for Silverstripe Link to this post

    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?

  • Anaya
    Avatar
    Community Member
    42 Posts

    Re: Using existing database for Silverstripe Link to this post

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

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Using existing database for Silverstripe Link to this post

    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.

    1746 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.