Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Is it better to use the latest version released 1 month ago, or use the older but still supported version?

I am going to create a new website: Is it better to use the latest major version recently released, or the previous still-supported version? For example, if Drupal 9 were released one month ago, should I use Drupal 9, or Drupal 8, or Drupal 7? Sponsored by SupremePR... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Is there a group of modules that would allow to assign new permissions to users basing on the votes they receive for their comments, or posts?

If I would implement something similar to the reputation system implemented in the Stack Exchange sites, which modules should I install on my Drupal site? Sponsored by SupremePR Spotify Promotion Services SoundCloud Promotion TIKTOK Promotion SoundCloud Repost Service... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Which criteria should I adopt when deciding to implement hook_xmlrpc() or supporting the Services module?

If I should decide between implementing hook_xmlrpc() and supporting the Services module, what should I consider on taking this decision? Sponsored by SupremePR Spotify Promotion Services SoundCloud Promotion TIKTOK Promotion SoundCloud Repost Service SoundCloud... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Alternatives of using user_load_multiple()

Considering that the parameter $conditions of the function user_load_multiple() has been declared deprecated, if I would keep the code compatible with Drupal 8 code, which Drupal function should I alternatively use? Sponsored by SupremePR Spotify Promotion Services... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Is it possible to assign permissions that apply to specif users from independently from their roles?

Using a custom module, is it possible to assign permissions to specific users independently from the assigned roles (which means, without to create temporary roles to which users are assigned), or is it preferable not doing so? Sponsored by SupremePR Spotify Promotion... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

How do I remove the ellipsis button in the pager?

I have a view with video and have replaced the links to different pages with a button. However, when there are many videos, an ellipsis (…) appears floating, and I want to remove it. I have the View with full pager but I don’t see how to control this to... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

How can a module verify one of the update pages is shown?

What should a module do to verify if Drupal is updating the database tables to avoid to output a message when one of the update pages are being shown (or to avoid to do any superfluous task during the update)? The module I am referring to is a custom debugging module... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Which is the function that initializes the content of the "$scripts" variable used in html.tlp.php?

The template file html.tpl.php has access to the $scripts variable, which is not initialized in template_preprocess_html(). I have also looked at template_preprocess(), and template_process(), but neither of those functions initialize $scripts. Sponsored by SupremePR... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Generate unique ID in hook_redirect_form

I’m trying to write custom payment method for a custom bank gateway (off-site method). bank service expect me to send unique ID for each pay request per bpPayRequest() call. currently I sending $order->order_id, but its wrong because: if first request fails... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

How do I add a Confirm Order button in Commerce Checkout?

Using Commerce Kickstart 2 With the default checkout, the payment is taken on the Review page. Then the next page (Payment) processes with the merchant (in our case Authorize.Net). Then there is a Confirmation Page… and the only pane on that page is Express... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Error when uploading file through Drush on S3 volume

I am using Amazon S3 volume to store the node’s attachment. I keep having the following message: file_put_contents(public:///.htaccess): failed to open stream: “DrupalPublicStreamWrapper::stream_open” call failed file.inc:494 [warning] WD security:... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Displaying Content Flagged by User Name with Flag Module

I’m using Drupal 7.38 with the Flag (v7.x-3.6) module, along with Views. I’m setting up a flag for content. My goal is to display a list of users whom are flagging content (along with aggregated count of number of items flagged). With the desired ULTIMATE... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Using hook_mail_alter() for pending approval admin does not make any effect

I want to disable the emails sent to admins when a new user account is being created, Account details for (user name) at site name. (pending admin approval). I tried adding the piece of code in the hook_mail_alter function but that does not give me any change. Below... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

How to display nodes based on the taxonomy terms of the current logged in user, with multiple vocabularies?

Say I have 3 taxonomy vocabularies: Products, Professions and Support Each vocabulary has 2 terms: Products -> product1, product2 Professions -> profession1, profession2 Support -> support1, support2 Users can be tagged with terms. User A is tagged with:... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

how to dynamically set query parameter on menu item

Hello I am a very experienced web dev who is brand new to Drupal and learning to build my first site in it. I have a very simple site I am converting from pure code (html, css, jquery, angular, bootstrap, php) to drupal so that I can add a CMS backend to the site. On... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Preview template for node with custom template?

I have a custom content type, ‘Article with Header’ for which I have a custom twig template, ‘page–article-with-header.html.twig’, which manages the layout for this content type. When I preview the node before publishing, the template... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

I want to change language in a select list and whole site changes to selected language(All content)

I want to have four languages Catalan, Spanish , French and English. English language will be default.If i change language to be spanish,i want the whole site to change to spanish or if i change to french the whole site should changed to french. Example site. I want... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Searchand Replace text in Drupal Nodes

I client has recently been acquired by a new Group and has requested that I do a search and replace for their name e.g. “Foo Group” and replace this with “New Group”. There will be multiple instances of this e.g. “Foo Housing Trust... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

Show custom banner per page

Admin user wants to be able to upload image banners and select on which pages/nodes/views/panels to show it when visited (as a wide screen image banner above title). It means when creating the banner node and uploading the image, there should be some field or list of... read more
Is it better to use the latest version released 1 month ago, or use the older but still supported version?

How can I track order details (products, quantities) in PayPal?

BACKGROUND I have an online store. Previously, I used PayPal “Buy it now” buttons, and I had a button for each product. I would then periodically export the data from PayPal (download history as CSV) and it would have the following field/value pairs: Item... read more