Hello,
I will present the project that I have done. This is a site that allows application ratings. The goal is to be able to add tickets containing information about an application, and then assign a rank amongst the top100, among the categories,...
A site with different display rankings (tags, category, game, tools, name, author,...) depending on the filter that the user selected.
There are therefore 2 types of classification, those imposed by visitors and those listed on the official sites of the app
How can we achieved this with Drupal project?
I've just setup a new site but I'm having a really really strange issue that I honestly have no idea what's causing it.
I've found that when I go into my settings.php, if I leave the $settings['file_public_path'] set to default of commented out, I get the message "The website encountered an unexpected error. Please try again later." I get the same thing if I leave the path as 'sites/default/files'
I have a class which implements EventSubscriberInterface. It is registered in the services.yml of my module. From a function in this class, I want to be able to add a different class implementing EventSubscriberInterface as a subscriber.
I've tried using the following:
$dispatch = new EventDispatcher();
$dispatch->addSubscriber(new MyOtherClass());
That doesn't give me any errors, but it doesn't seem to do anything.
Can anybody help me?
First a clear statement; there is absolutely no doubt (based on both personal experience with a compromised pre-Drupal-7.32 site and on a review of literally 100s of discussions of this matter both on Drupal.org and wider WWW) that running suPHP (which forces the web server to run PHP script as cPanel/filesystem user) has serious security implications for all PHP-based CMS systems, including Drupal.
I do my custom Entity, but critical condition (safety requirements) that all data stored on this entity on the second database on the same server (is in parallel with Drupal). How is that done?
For example, to view it is easy to solve, it is sufficient to specify the database = 'second'. For Entity I can not find a way.
I work with Drupal8 (i'm crazy about it), but for Drupal7 any advice will come in handy if you know.
Thank you.