by Pixeldust Drupal Developer | Jun 16, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
Drupal 8 introduced hook_post_update_NAME() which has some benefits over hook_update_n, for updating modules. Each hook_post_update_NAME() should only run once, but sometimes I want to rerun it, like when I’m debugging the update hook during development. With... read moreby Pixeldust Drupal Developer | Jun 16, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I have a custom content entity in which I have defined all the fields in the annotation (and it shouldn’t need to be altered through the UI in any way that I can think of). In the annotation I have the standard keys defined: * entity_keys = { * “id”... read moreby Pixeldust Drupal Developer | Jun 16, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
In my Drupal project I have a yaml configuration file which contains an id with the value 16_9 (more precisely it is part of the Crop module configuration). When checking differences between the active Drupal configuration and this staged one, Drupal lists this... read moreby Pixeldust Drupal Developer | Jun 15, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I need to grab referer and save it for the first time (I save it to sessions) and when the user gets to a specific page forward it. My problem is that after opening page with the same referer few times, I am not getting referer anymore. I tried it with few different... read moreby Pixeldust Drupal Developer | Jun 15, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I’ve managed to install drupal 8 using composer and following script: composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir –stability dev –no-interaction I decided to use composer since it seems to be the new way and you... read moreby Pixeldust Drupal Developer | Jun 15, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I’d like users registering on my website are redirected to the page where they clicked the “create account” button which is in a modal. First, I tried to redirect to an absolute url I tried $form_state->setRedirect($myUrl); I tried... read moreby Pixeldust Drupal Developer | Jun 14, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I set up d8 site with: composer create-project drupal-composer/drupal-project:8.x-dev my_test_site –stability dev –no-interaction Then installed the db and drupal with: drush site-install Fully working D8 (8.3.3) with no errors at all. I go to curate the... read moreby Pixeldust Drupal Developer | Jun 13, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I have created a form that I will embed in my page with a custom module. How can I wrap this form with a div that has a specific class? I need to add it to the build which is made with the following code. $build = array( ‘form’ => $form,... read moreby Pixeldust Drupal Developer | Jun 13, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
In Drupal 8.5 CMS ,I am using guzzle to call web service .If there is any error i get white screen with error. ‘GuzzleHttpExceptionClientException: Client error’ My code is as follow: try { $response = $this->httpClient->post($endPoint, [... read moreby Pixeldust Drupal Developer | Jun 12, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I have a block view which filters for a specifiy content-type. I’d like to fully style it myself and also write the html myself it outputs. So I went and created the file views-view-fields-header-image-slider–block.tpl.php in /templates. Now, I do have the... read moreby Pixeldust Drupal Developer | Jun 11, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
In Drupal 7, I use the Commerce_Checkout_Redirect module which uses custom validation functions. It uses the following code. // Use the username as order email. // Email validation for the username form element if... read moreby Pixeldust Drupal Developer | Jun 9, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I have a custom menu MyMenu and I have four menu items. What I want to do is to add the current uid as a parameter at the end of the link. In D7 I could use menu_tokens module which is not available on D8. I tried to create a routing file in my custom module. So in my... read moreby Pixeldust Drupal Developer | Jun 9, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I am trying to implement what described in Add unlimited field collections in a from of drupal and Field collection with unlimited cardinality pre-populate fields, but the Add more and Remove buttons don’t work. I have issues with drupal_rebuild_form(). The code... read moreby Pixeldust Drupal Developer | Jun 7, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I’m trying to build a scayt module to be able to use the CKEditor scayt Plugin. I tried to use this module but it did not work for me. https://github.com/nikhildodeja/scayt I created my own but I get a WSOD when I veiw a node creat page. The module is below.... read moreby Pixeldust Drupal Developer | Jun 6, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I have installed ECK module in my website. Using it I have created a “report eck” entity in which I have different bundles like section, notes, etc., each containing different fields. I have my content type “Report” in which I have referred... read moreby Pixeldust Drupal Developer | Jun 6, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
How can I setup custom required field validation message for a text field in my custom form. I tried below code. But it is not working. It always showing ‘Please fill out this field’. $form[‘first_name’] = [ ‘#type’ =>... read moreby Pixeldust Drupal Developer | Jun 5, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
Is it possible to send Items per page limit in query string of view page url and get records according to that? read moreby Pixeldust Drupal Developer | Jun 3, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I have an entity line_item with the following fields: id uid (entity reference) product (entity reference) … I would like to get all distinct products (product ids) for a specific user. I tried with entity query: $query =... read moreby Pixeldust Drupal Developer | Jun 1, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I need to navigate the user through different pages of a multistep webform. I have added additional submit button to the webform using following code. function mymodule_form_alter(&$form, DrupalCoreFormFormStateInterface $form_state, $form_id) { if($form_id ==... read moreby Pixeldust Drupal Developer | Jun 1, 2017 | Drupal Developer in Denton Texas, Drupal Developer in Derby, Drupal Developer in Des Plaines, Drupal Developer in East Chicago, top custom software development companies, top drupal development companies, top drupal experts, top drupal websites, top free website builders, top software developers, top web development companies in usa, website cms systems, website content development, website creating sites, website design & development
I’m trying to implement the three Drupal 8 user forms : login, register account and forgotten password forms. I’m creating custom pages in my module for each one of them because I want to display content around those forms, change titles, hook the forms.... read more