Issue with Drupal "sites" folder - drupal

I have a Drupal install on the MediaTemple gs hosting plan. The site is up and working fine but I've had some issues with the "sites" folder.
If I put themes in the "sites/default/themes" folder, they show up on the "Themes" folder but none of the icons show up for each theme. Enabling a theme removes all the styling from the site like it can't get to the CSS. Moving the themes from "sites/default/themes" to "/themes" fixed the problem but I don't think this is the best way to handle it.
I've checked my permissions and they seem good - am I missing something here?

Doh! Permissions was the issue. I forgot to enable "execute" for everyone.

The proper place for themes is as follows.
Themes included in the core Drupal distribution:
themes
Themes downloaded from the web, but not included with core:
sites/all/themes/contrib
or
sites/example.com/themes/contrib
Themes you wrote yourself:
sites/all/themes/custom
or
sites/example.com/themes/contrib
You would use the locations with example.com in the path if you are using Drupal's multisite capability to run multiple Drupal sites on a single codebase. (Things under sites/all are available to all sites; things under sites/example.com are available only to the example.com site.)

Related

Drupal 8 install theme in multisite environment

I'm using Drupal in a multi-site environment. I want to create a theme only visible for this site. So I created the folder sites/site_url.be/themes/theme_name. But the theme doesn't appear on the admin/appearance.
I have already a custom theme installed in the sites/all/themes directory, which works fine, and compared all configuration files.
I added the css, js and templates, so it is not empty.
Rebuild the cache several times using drush and the interface
Changed the permissions of the directory
I placed the theme in the sites/all/themes
Checked the ip of the interface in the browser, so I certainly work local
You can find the answer in the following link: https://drupal.stackexchange.com/questions/198081/drupal-8-theme-structure-for-multi-site
If you want to check that you have configured and set-up everything correctly for your multi site: https://www.drupal.org/docs/7/multisite-drupal/multisite-mapping-with-drupal (Drupal 8 is at the end of the page)

Wordpress - no themes

I have installed a fresh copy of wordpress on a windows XAMPP server. I configured the wp-config file and ran the install script. All is ok, and I am able to view my new wordpress site and login to admin area.
However - when I go to Appearance->themes - the current theme is set to TwentyTwelve and in the lower section the "Available Themes" does not show ANY themes.
After this I copied a new theme to the themes folder (which was working on a WP install on my test server at work) and that doesn't show up either.
Can anyone tell me how to make the other default theme (TwentyEleven) and more importantly my own built themes, appear as being available?
Thanks :)
Try to change the theme folder permissions to 777
style.css is very important for a theme.
You should check either style.css exists or not.
If No, try install wordpress again.
If Yes, then there might be the issue of File Permissions.
Set file permissions from below.
http://codex.wordpress.org/Changing_File_Permissions

wordpress theme not importing correctly from local to online

Hi I am currently developing an Wordpress site offline on local server and want to upload to my domain online. I don't need to transfer the database, but I would like my pages, theme, widgets to work correctly.
What I am doing:
Copying Wordpress directory to domain directory through ftp.
Exporting everything in local server Wordpress and importing in
online Wordpress.
All my pages/posts are transferred, and my theme is installed but not set default. When I select it, everything is set to the themes original defaults, not like changed on the local server (for example tagline, background, etc). Also the widgets are the default settings.
Am I doing something wrong?
I am using Wordpress 3.4.2
Thanks!
Yes, you have just forgotten that some options for your themes are actually stored as WordPress options, so if you don't upload your database, you will not transfer these settings.
I've written a tutorial explaining step-by-step how to transfer a WordPress site to another server: http://www.sebastianbroways.com/wordpress-transfer/
If you follow each step the site should retain all the settings, including the template preferences. Good luck.

Drupal Theme editing

Hey I accepted a drupal project, I am experience with PHP, HTML, but not so much Drupal. I am editing the look of the page. So not to much php is needed. However I was provided the ftp and site drupal admin. How do I go about editing css, as of now the ftp file are read-only, and I cannot edit them. Thank you.
Drupal works from themes.
ftp into your site
find the "themes" folder where you installed Drupal
each theme will be in it's own folder ie: garland, bluemarine etc.
open appropriate theme
depending on the theme you should see a style.css file
drag the file down, edit and put back online!
done!
Edit: also I should note, that if you are wanting to edit the CSS from the Drupal Admin it's really only supported on a per theme basis. So if that theme has this built in. I know some themes do, Fusion and Zen.
You should have an FTP write access. At least for sites/all/themes folder, where You should put Your custom theme.

drupal based menu

I built a website with a menu using drupal.
My question is how do I change slightly the design?
Do I have access to the css files? where?
Can I change the design using drupal?
If you used the default Drupal menu, you'd need access to the file system, specifically your site's theme files, to update the design. If you used a core theme, the theme would be in a subdirectory of your site's /theme directory. If you used a contributed theme, your theme should probably be located in a subdirectory of /sites/all/themes.
If you're unable to access the files but can somehow install modules, the following modules may help somewhat:
Sweaver
Live Themer

Resources