what module can generate themes for every module - drupal

in some case in drupal theme page I got themes for every module, what module or mmistake can did this?

Remove non-theme folders from sites/all/themes, /themes and sites/x/themes where x is the site name if you are running multisite structure.
That happens because themes and modules both have the same .info file structure.

Related

How can I add my stylesheets to the CSS editor in the WordPress backend?

I have created a custom theme in WordPress, with its own set of stylesheets in a CSS directory. I want to be able to edit them through the WordPress backend (i.e. through Appearance>Editor).
I presume it will just be a couple of lines of code to add to functions.php, but I have searched around and can't find anything that will work out (I'm thinking because most of the solutions I've found are 4 years old...and WordPress has been updated a few times since then).
I tried adding filters and playing with wp_enqueue_style to no avail. Thanks for any help anyone can offer.
All files within your themes folder and sub-folders will be listed for editing under the theme editor.
I just checked under WordPress 3.8.1 and even files located under a sub-folder within my themes folder are all being listed.
Make sure there are no errors in your css files that prevent it from being opened in the theme editor.
Additionally, despite files located in sub-folders still being listed in the theme editor, for some reason the theme editor will not list css files in sub-folders. You will have to place your other css files in the root folder of your theme.
Move your css files to your themes root folder and you will be able to edit them in the WordPress theme editor.

Installing different theme and modules using Drupal domain module

I am trying to use drupal Domain module and I have domain_A and domain_B right now. Domain_A is my primary domain and B is the second one that I am trying to add.
Domain B will have its own theme and some additional functionalists. Everything else is pretty much same.Also the database is same..
My question is where should I put my theme and my new modules for domain B. Is it inside sites/domain_b/themes and sites/domain_b/modules? I have the theme currently inside the domain_b folder but every time i try to build the theme in domain A, its overwriting the theme for domain_B since it cannot see it.
So is the correct way is to keep the new theme and even the new modules for domain_B inside sites/all/themes and sites/all/modules folder and use domain_theme module to choose the new theme for domain_B?
Any suggestions?
When using the domain access module it is fine to add all themes to the sites/all/themes folder. What controls which theme is used is the domain_theme module, not which folder the theme is in (which would be the case in a multisite install).
When you are using the domain access module you really organize everything as if it was a single site, then left the different domain modules do the rest.

Overriding/customizing Drupal modules

I would like to override custom user template in my Drupal 7 installation. The question is - should I edit the template file in the main module or copy the module to my theme's folder and edit it there? In case of the second option, how can I do it?
You should definitely create a subtheme to customize the look and feel. Otherwise, every time you upgrade core you will have to reapply your changes. You can subtheme the default Drupal 7 theme (Bartik) by following these steps.
Once you have done that, copy the user-profile.tpl.php file into your subtheme directory (/sites/all/themes/mytheme).
Finally, make the changes you want to make to user-profile.tpl.php

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

Issue with Drupal "sites" folder

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

Resources