Custom module update with project status url

Custom module update with project status url

My .info file is the following. name = {some_name} description = This will contain all {some_name} related information package = {Package_name} core = 7.x ; Information added by Drupal.org packaging script on 2014-10-03 version = “7.x-1.1” core =... read more
Custom module update with project status url

How can I programmatically change the view mode?

In Drupal 7 I did something like: function mymodule_views_pre_render(&$view) { //dpm($view); if ($view->name == ‘services’) { $view->style_plugin->row_plugin->options[‘view_mode’] = variable_get(‘services_teaser’); }... read more
Custom module update with project status url

Commerce Rule For Sales Tax On Shipping To One State

We want to only apply sales tax on orders shipped to a particular State. I tried to cobble together the following rule from the included ‘Price Component’ and it seems to apply tax on shipping for -all- orders, regardless of the address component. Can... read more
Custom module update with project status url

Talking Drupal: Talking Drupal #327 – Layout Builder vs Paragraphs

Today we are talking about Layout Builder vs Paragraphs. TalkingDrupal.com/327 Topics Nic – Family visiting Stephen – Behat John – Vacation time Why choose Layout Builder In core UI Josh Miller Q1 – Content model concerns Why choose paragraphs... read more
Custom module update with project status url

Form Validation. Ensure Placeholder is not submitted value

I have a Drupal registration form with a placeholder set on a first name field. I am trying to get the form to check so that if the placeholder value is the same as the submitted value it will give an error asking them to be sure to enter their first name. Here is my... read more
Custom module update with project status url

How to add multiple products to cart at the same time with attributes

I have different view blocks that display multiple products on the same page, each product has their own attributes such as product bundle and custom line item, these serves as an option set / criteria of the main product. The results of the options slider will be the... read more
Custom module update with project status url

How do I retain the query string after login?

I need the user,opening a certain page of my site (www.foo.com/page_to_visit), to login and then go to the requested page, so I set up an hook_menu for this specific page and a callback. In the callback I added this code which works drupal_goto(‘user’,... read more
Custom module update with project status url

Order total field, transactions and balance

In drupal commerce, using the commerce payment payment module, I would like to display the amount paid and order balance in paid order like on the example below. Subtotal ————- 20 TAX ——————— 3 Total... read more
Custom module update with project status url

How do I fix a ReflectionException error (class doesn’t exist)?

I’m new to drupal 8. I would like to extend the user login form by deleting the username field and adding the email field. So I created a custom module, I implemented an Event Subscriber and declared it as a service : services: mdmuser.route_subscriber: class:... read more
Custom module update with project status url

How do I reroute a logged-in user after page access denied at user/login?

My Drupal 6 site has the login form at /user/login. If I’m logged in already and I click it, I’m sent to the Access Denied page (though the login URL stays the same). I’d like to send such users somewhere else. Anywhere else. /user would be fine. Is... read more
Custom module update with project status url

Parent Link Search

Parent Link Highlight option A Simple lightweight module that gives you the ability to search & highlight the Parent Link select drop down on forms. Why is this needed? Once the menu becomes large it becomes very difficult to find what you are looking for, there... read more
Custom module update with project status url

Views – how to filter a result set based on a URL filter that affects an API call?

I have a View with a Rest Export display returning entities. I have a custom Normalizer class for it that crafts the object the way I want it in the response. The node entity in the response has some custom data attached to it coming from an API (think operating... read more
Custom module update with project status url

Token replacement for list keys

I’m trying to define a Display Suite Code Field which would be responsible for converting a list item key (selected in a dropdown on admin side) into an image on the output side. The field simply assumes the list keys: series1|Series 1 Name series2|Series 2 Name... read more
Custom module update with project status url

The file names are not transliterated on upload

I am using Drupal 7 and have transliteration module enabled. I have a file field and I want to have the names of the uploaded files to be transliterated on upload. The url alias for the nodes are well transliterated. But the file names are not. I checked the settings... read more
Custom module update with project status url

Implementing custom entity forms

In Making use of the admin UI, Step 3 – Implement the entity adding/editing form, it says that you need to implement “a” form with the ENTITY_TYPE_form() signature for add/edit/clone operations… However the wiki page is not specific in regards... read more
Custom module update with project status url

Where to add track_changes option in migrate_d2d class

I have an ongoing migrate_d2d migration where I will need to be able to detect changes on a node by node basis, and I would really like to be able to use the functionality in the Hash source rows to detect changes feature to do that. However, I can’t find where... read more
Custom module update with project status url

Change field value with hook_views_pre_render()

I’m using Views in 8.4.0 and attempting to change the output of a field value with hook_views_pre_render(). The default value of the field is a node ID. The intent is to replaced the value with a static string depending on a whether or not it’s contained... read more
Custom module update with project status url

Drupal 7 Services — hook_services_request_postprocess_alter() does not identify the requested resource

According to the Services API in Drupal 7, we can use hook_services_request_postprocess_alter() to alter drupal’s REST response before returning it to the user. This is useful if you want to alter the structure of an array, or strip out data we don’t want... read more
Custom module update with project status url

Receiving notifications when user edits a node?

Newbie here! I’m running a site on Drupal 7 (iloveqatar.net) and users have the ability to submit their own content (News, Events, etc…). I’m facing a couple of issues. 1) When users submit new content that’s in moderation to be approved, I... read more
Custom module update with project status url

Devutils

Tool with several utilities to facilitate development: Features: * List the UUIDs of the entities with various filters. * Clean unused files. SoundCloud Repost Service SoundCloud Promotion Service Spotify Playlist Promotion Spotify Playlist... read more