How to disable modules using the admin UI? - drupal

Good afternoon, please help me to solve the next problem. There is a site in work, after transfer from one hosting to another something went wrong. ALL modules are disabled. You can turn on the module, but you can not turn it off. Only by deleting via drush. Can I somehow reset ALL site settings without deleting the taxonomy and content?
Thank you in advance!

Judging by the image you posted, you are using Drupal 8 and you are on the module enabling page.
The modules listing in the image (with a ticked checkbox) are enabled.
Unlike Drupal 7, you do not have to disable a module before you uninstall it. This is why the enabled modules on the page you posted can not be unchecked.
In drupal 8, to disable modules, you do it directly on the module uninstall page at:
/admin/modules/uninstall

Related

When saved, WordPress editor automatically adds "rel=nofollow" to every external link

currently I'm running into this issue, where external links are automatically set to no-follow by WordPress. As of now I wasn't able to detect the source of this behaviour.
The page uses the Classic Editor (v1.6.2) Plugin - however, the problem still occurs without the use of this Plugin.
There are a bunch of other plugins installed but those are not directly involved with the post editin feature of WordPress. Are there any clues which might cause this issue?
If you need any information I can provide.
Which other Plugins are you using?
Are you maybe using RankMath or another SEO Plugin?
These have a setting to make all external links with "rel=nofollow". You would need to deactivate this or add an exceptions for specific domains.
Check the settings.

WordPress doesnt work, preview view show me nothing

Unistall XAMPP
Unistall MySQL
ipconfig/flushdns, etc
This may be a plugin or theme conflict. Please attempt to disable all plugins. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install “Health Check”. On the troubleshooting tab in Health Check, you can click the button to disable all plugins and change the theme for JUST you, while you’re still logged in, without affecting normal visitors to your site. You can then use its admin bar menu to turn on/off plugins and themes one at a time. See the wordpress handbook for troubleshooting or this article by Rank Math for more information.
I hope this helped, if not let me know and we can look into it together.

IMCE module to load images from local hard disk

I'm using Drupal as my content-management system. I installed the IMCE module to include images on my site. This works fine, but I can only choose the images from the server, which means I have to copy them on the server and can then choose them. But I would like to choose them from my local hard drive.
Does anyone know if it is possible to do that with that module, or do I need another one?
Right. IMCE provides an upload button (See linked image, top left. I tried to embed it in my post, but the system here won't allow me to add images yet).
But by default, only User-1 has access to it and you'll have to create and associate profiles with roles to allow actions such as uploading of files. If you haven't done so, this is configured on:
admin/settings/imce (Drupal 6), or
admin/config/media/imce (Drupal 7)
So if you aren't logged in as User-1 and don't see the upload button, it's likely a configuration step you are missing.
I wrote an article recently which goes pretty in-depth about use of the IMCE module and gets into configuration. It also covers the workflow for adding images to WYSIWYG content editors, and is written with Drupal 7 in mind, but the IMCE-relevant stuff is mostly the same between Drupal 6 and 7. You may also want to use the IMCE_Mkdir module, which allows users with appropriate permission (added to the IMCE configuration for each profile) to create new sub-directories, which can help keep your images or other files better organized.
You can read my relevant article on the Cocomore Drupal blog: Configuring and adding images to Drupal 7 content with Wysiwyg, IMCE and Lightbox2
Hope that helps.
Click the 'upload' button in IMCE...that will allow you to upload images to the server using the UI, then you can choose them. There's no other way of doing this as obviously it's a website...if you want files from your local machine on the server you'll have to transfer them there. This is what IMCE's 'upload' button is for.
You might also want to check out the IMCE WYSIWYG Bridge module if you're using WYSIWYG, it provides a nice easy way to upload images into WYSIWYG if you're using that module.
Just a tip that always bother using drupal. If you don't see some config options after installing a new module (it was my case for this threat), you must clean caches , in D7 /admin/config/development/performance

Drupal 7 user registration: creating mandatory gender/city fields

I'm a Drupal newbie, but have successfully installed it at a CentOS 5.5 Linux, PostgreSQL 8.4.7, PHP 5.3 machine.
I've chosen minimal installation and then enabled following modules: Block, Image, Locale, OpenID (hope to add Google accounts later...) and Search. The User module etc. are enabled by default anyway.
My problem is:
I don't know how to add Gender/City fields and make them mandatory.
As a SPAM-fighting measure at my old phpBB 3 site I have a mandatory question for new users about their gender: Robot/Male/Female and the first answer is default and prevents the new user from registering.
Is it possible to do the same in Drupal 7?
And I hope it is doable without installing any additional modules as the stock install is easier to update. (That is what I was doing with my old phpBB site - with no mods installed).
Thank you for your answers! Alex
UPDATE:
Here is my Field module screenshot, does it look ok?
Maybe my problem is that List is shown as disabled?
First, note that there is a huge difference between Drupal modules and phpBB mods. Drupal provides API's which allows modules to integrate with Drupal without changing any code. You can just download them into a folder, enable and they are running.
And yes, what you are trying to do is possible without any additional modules. Just go to admin/config/people/accounts/fields, add a Gender field of Type "List (text)" (If that is not available, you might need to enable it, but it part of Drupal core), then, enter the allowed values and on the second page, check the "required" and "shown on registration form" checkboxes and you are good to go.

Drupal: xmlsitemap file is not generated

I have chosen XMLSiteMap module from the most popular usage statistics on Drupal site,
so I assume the module is not too buggy. But the map file is absent.
I've installed this module on my Windows machine into drupal/sites/default/modules.
I've activated all the submodules of XMLSiteMap in admin menu.
Per docs, I've also run cron.php manually to create sitemap.xml in drupal/sites/default/files - but it's just not present there even when second re-install.
How can I force to create sitemap.xml?
(also tried with and w/o clean URLs - still no help).
Also, if there any good reliable alternative for this module?
Are you sure you've installed it properly? Please check the Status report (admin/logs/status in Drupal 5, admin/reports/status in Drupal 6) to ensure that you've got everything right.
It's possible that you haven't set the permissions of sites/default/files properly yet for example.
I'm not sure if this will help you, but if you are looking for an actual created sitemap.xml file rather than navigating to it in the browser I don't believe one is created by the module. I think the module creates a menu callback to create the sitemap file, so a request for sitemap.xml is handled by Drupal's menu system, rather than creating an actual file. There will however be a cached version in sites/default/files/xmlsitemap.
Apologies if this is an oversimplification of the question asked.
I have not had any problems with the reliability of the module myself.
Also make sure you have the latest version installed, it just came out yesterday:
http://drupal.org/project/xmlsitemap
Also, see this issue, seems related to your problem:
http://drupal.org/node/458546
I'd probably recommend trying the 6.x-2.x branch which I've been rewriting to kind of solve all the annoying bugs and architectural problems of the 6.x-1.x branch. It's currently incomplete, but it works for nodes and menu items currently. Taxonomy terms and user profiles will be added soon.
You can find the link to it on the project page. Sorry I can't link since I'm a new user. :)
Running the CRON worked for me:
/admin/reports/status/run-cron

Resources