How to remove unwanted div from view rendered block?

How to remove unwanted div from view rendered block?

In D8 I’ve created a view and assigned it into a block, I’ve created corresponding template for both view and block. Most of the unwanted addition of div’s and classes has been removed. But the following empty div is still there in the rendered HTML... read more
How to remove unwanted div from view rendered block?

Dynamically add input field using #ajax

As the question says, im not clear on how to go about adding new input fields depending on values of certain fields in the form. I got as far as setting a callback and a wrapper, but i just can’t seem to rebuild the form, i can do basic returns of values from... read more
How to remove unwanted div from view rendered block?

How to create a Views based chart with time intervals and using Highcharts?

Is there any change to do time interval to Highcharts -module ? Such as in this example: http://www.highcharts.com/stock/demo/compare Or do I need to use different module for that? read more
How to remove unwanted div from view rendered block?

How do you allow logged in users to comment via Disqus without extra login?

I have a Drupal site that utilizes Disqus commenting, but want users to be able to use commenting function, without having to login to Disqus. Is there a way to make Disqus automatically inherit the user information of a person already logged onto my Drupal... read more
How to remove unwanted div from view rendered block?

How to hide /node/ , /taxonomy/, /mymodule/, etc., from the URL path

I have the module Path auto installed. I would like that the user could not access the content by the URL http://www.myexample.com/node/7 and instead would have to follow the menu and other webpage links with its alias. So if I forgot to set an alias for a content, I... read more
How to remove unwanted div from view rendered block?

How to get services post data(json format) callback function?

I am using services module and rest API its working fine. But i need to create a menu callback where i get the json post data and save in database. How to get the json data in menu callback? read more
How to remove unwanted div from view rendered block?

Querystring in Views ajax_view.js

I’m using Views 7.x-3.11 with Better Exposed Filters and Ajax auto-submit in a panels page, and running into some issues that seem to be stemming from code in Views/js/ajax_view.js. I want to make the exposed filters bookmarkable, and I also need to deep link to... read more
How to remove unwanted div from view rendered block?

Changing default domain in domain access causes ‘access denied’ for admin

I’m using Drupal 7 with the Domain Access module version 7.x-311. I’ve successfully configured a bunch of subdomains running sites correctly, with one subdomain as default. All worked well until I swapped out the default domain with a new one. Now, every... read more
How to remove unwanted div from view rendered block?

How to remove webform error message?

How to remove webform error message? I need to be able to remove the error message form. For instance, if I have an email field and for some reason did not pass the validation is not to show a message saying. The entered e-mail address “djhshsj” does not... read more
How to remove unwanted div from view rendered block?

Get content types field in another content type with the entity reference relationship

I have two content types. Person and Projects. I use a entity reference for the persons name on the project node so people can select the person that is involved in the project. Now using that reference I also want to get another field from the persons content type,... read more
Add checkbox in node menu settings

Add checkbox in node menu settings

I would like to add one checkbox in Menu settings at node /node/add/{Content types} I am not sure how to do that. I need to use Form and Controller. What form I need to include? This is some of them. use DrupalCoreFormConfigFormBase; use... read more
How to remove unwanted div from view rendered block?

Reflection error on my first module development

I’m using Drupal 8.0.1. Just I’m started to develop a custom module to simply show hello world text in /first path. Here is my code. FirstController.php [It is in the path sites/all/modules/first_module/src/Controller] namespace... read more
How to remove unwanted div from view rendered block?

White screen of death errors

I have come across an error that I have been having difficulty fixing. I am suspicious the problem is the “Primary script unknown” error, but I am lost. There is an reoccurring Fatal Error, but it is a core file that has never been modified.. Any help... read more
How to remove unwanted div from view rendered block?

Sorting Views by Day and Month only

For a Birthday field using the Date module, Views sorts it by year. This puts the dates in basically random order once you format it to display only the month and the day. Could it sort by day and month only? Extra bonus question: Could Views sort the Birthdays in... read more
How to remove unwanted div from view rendered block?

How do I remove the active class in the main menu?

One item in the menu has sub-items that point to the same page (just with different arguments) ex: Products – List item 1 products?pid=1 – List item 2 products?pid=2 – List item 3 products?pid=3 Drupal assigns the “active” class in the... read more
How to remove unwanted div from view rendered block?

Render login Form

I would like to call the user login form in my theme but I can’t. In Drupal 7 I did this. $elements = drupal_get_form(“user_login”); $form = drupal_render($elements); echo utf8_decode($form); How I can do this with Drupal 8? I tried this.... read more
How to remove unwanted div from view rendered block?

Set exposed filter date programmatically

I would like to programmatically set an exposed filter for a field date (field_date) in a view. Date has to be > of a specific date or between to dates. I tried this, but it does not work. It ignores the filter. $view = views_get_view(‘myview’);... read more
How to remove unwanted div from view rendered block?

Change page URL structure based on node field value

I’m using Pathauto to produce nice URLs for my Drupal 7 site, and have run into the need to edit the URLs based on a node field value. Specifically, when the content is archived on my website, the URL needs to be automatically changed to include the substring... read more
How to remove unwanted div from view rendered block?

Update price via AJAX

I created a content type (main prod) that is referencing a product content type (sub prod). The sub prod is also referencing another product content type called (option sets) which will be the option sets of that product, with the use of Commerce Product Bundle I was... read more
How to remove unwanted div from view rendered block?

How can I set only a view of two views added to a panel to be shown as accordion?

I have a panel page which contains 2 views. I only want a single view to display as accordion. If I set the style setting of that view to Accordion, nothing happens; if I set the style setting of the panel to Accordion, both the views become accordions. How can I set... read more