Hi

I think I am missing something really obvious, but I have a problem that has cost me several hours already.

I started to build a site at www.watchedlcf.com to promote a fashion show using Drupal 8 beta3, and now that the show has been completed, the fashion designers are adding additional content to keep as a resource to show what they did.

I uploaded the Drupal site straight to the server, chose the Bartik theme, and changed some CSS settings in the admin panels to give it a black background.

I have now downloaded another instance of Drupal8 beta3 to my local computer and tried to copy the Bartik theme files to the local instance so that I can play around with the theme appearance further securely, so that if I have a problem it does not affect the site online. However, the local version is not picking up the changes and I cannot work out why. I have tried clearing the cache through "performance" in the admin panel.

I suspect that one option would be to use git to bring the two versions inline, but I have never used git before.

Anybody got any other suggestions please

Thanks in advance

Barry

Comments

symfonycoda’s picture

To clarify, when I load the site at localhost, all I can see is the original Bartik theme and none of the changes have copied across.

Sorry for any confusion

Codeblind’s picture

It's hard to guess what your problem is, but if you downloaded all your files from your server to your local, it's possible your files directory is not writable and new aggregated stylesheets can't be generated.

As a rule, it's not a good idea to edit distributed themes directly. Whenever possible, create a subtheme https://www.drupal.org/node/2165673 .

Learn to use git. It will change your life. Git flow, in particular, is an industry standard methodology https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-work... that really works great.

symfonycoda’s picture

Thanks for your help. I suspected GIT might be the next step. But in the meantime I can presumably use the Bartik theme that I have amended css colours through the admin panel as a base theme, and then put my amendments into a custom theme to override that. Would that work ok?

Also when you use git to upload a website to server, how do you get round problems with database configurations, or is there a way to set it to ignore certain files? I always knew that I would need to get to know GIT at some point, and it must be the right time now. lol

Thanks again