drupal Questions

4

Solved

I've created a views of node and I've selected the "fields" option in order to select which fields to display and in which order. Is there a way to group such fields ? It would be very useful to ...
Recusant asked 2/2, 2011 at 22:39

7

How do I install/setup Drupal Console on Windows 7? In the video by the author, the environment used is Linux. I tried to install it on Windows 7, but I wasn't able to use it to generate a module...
Outhe asked 23/12, 2014 at 14:56

4

Solved

I've heard of cross-site scripting and that people can access cookies and devious ways. So I was hoping that someone could answer a few questions around these. I want to take the example of storing...
Hartshorn asked 12/1, 2015 at 3:52

5

Solved

In the directory containing a custom module, I have a directory containing images. How do I get the URL of those images?
Kagu asked 8/1, 2011 at 19:55

6

Solved

Im using the Acquia stack instead of MAMP or WAMP but im using it to run a normal Drupal installation. I imported a site fine. Ive then moved the sites's files to a different folder, and now I ca...
Volny asked 23/3, 2011 at 12:14

6

Solved

Ajax form. Exposed filter with -Any-. In hook_form_alter() i write: if ($form_id == 'views_exposed_form') { if ($form_state['view']->name == 'machinery') { $form['field_producer_tid']['#optio...
Baxy asked 4/2, 2014 at 11:56

1

Solved

When I run composer updates I'll occasionally get messages that packages are abandoned and I should use a different one instead, like Package webflo/drupal-core-require-dev is abandoned, you should...
Ulrikaumeko asked 30/12, 2019 at 22:48

5

Solved

I'm trying to figure out where the <head> for all of the pages in Drupal is (I'm using Orange theme if it matters). I have to add analytics code into the <head>. Inside which file woul...
Rickey asked 14/2, 2011 at 2:34

8

I've created a custom block like this: class HelloBlock extends BlockBase implements BlockPluginInterface{ /** * {@inheritdoc} */ public function build() { $config = $this->getConfigurati...
Peddada asked 7/6, 2016 at 9:26

4

Solved

I am trying to print an image using an image style that I've created in my drupal 8 theme. I can print an image in a template by doing {{ content.banner }} but how do I apply the image style to th...
Centiare asked 3/11, 2015 at 22:10

5

Solved

I've got a view with a single exposed filter (a select). It's using ajax to re-populate when the user clicks "Apply". I'd like them not to have to click that and just re-populate when the select is...
Herbst asked 28/9, 2009 at 19:1

2

Solved

Is there any solid drupal plugin to lazyload images or has anybody implemented this? Ideally, I would like to apply this only to a certain content type and use a plugin rather than having to code ...
Upward asked 7/4, 2018 at 19:38

5

Solved

How do I execute a function every time a node is being updated? I tried to use hook_nodeapi, but it looks like that the hook is removed from Drupal 7. What I want to do is, add a new field to m...
Abbevillian asked 15/3, 2011 at 7:0

2

I would like to know how to import config sync files in my functional tests for modules I am testing. For instance, I have some custom content types I would like to test against, and there are a nu...

4

Solved

Inserting UTF-8 encoded string into UTF-8 encoded table gives incorrect string value. PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9D\x84\x8E i...' for colum...
Supernumerary asked 13/8, 2012 at 14:59

3

Solved

I'm trying to set the ideal performance setup for MySQL and resources needed on a shared hosting. My question is, what does max_connections really mean? Is it the number of unique concurrent req...
Vannoy asked 31/12, 2011 at 4:33

1

I cannot seem to get owl carousel to work in drupal 7. I thought it might be a conflict with Chaos tools but now I'm not sure. I had zero issues with it functioning as expected in Drupal 8 but my c...
Heterophyte asked 8/8, 2019 at 3:39

1

I'm using Drupal 7 and Omega 3. The front page of my website needs an image that covers only the top half of the page, and it needs to expand to full width regardless of the browser size. I found t...
Thibaut asked 7/2, 2015 at 3:1

5

Solved

I'm developing a custom module for Drupal on my local machine. When I edit my code, the changes are never applied right away. So, I go to Administer Modules, and uninstall, and then reinstall my m...
Slusher asked 24/3, 2011 at 16:47

11

Solved

Can I hide the Edit | View tabs on top of each node ? I've searched for this option in theme settings (both global and standard theme but I couldn't find it). I still want to be able my cus...
Northerly asked 20/8, 2010 at 12:20

3

Solved

When running drush cim commands in Drupal 8 I get the following error: Command cim was not found. Drush was unable to query the database. As a result, many commands are unavailable. Re-run your c...
Caesium asked 15/4, 2019 at 7:49

4

Solved

I have a results set from a webform that includes a phone number for each set. the format of this phone number is not enforced (some are xxxxxxxxxx, some are (xxx)xxx-xxxx and some are xxx-xxx-xxxx...
Oppose asked 30/6, 2015 at 19:34

3

Solved

how to put lines inside comment in .info file type. Does it differ if file used in Drupal? I found these files generally found in Drupal.
Forby asked 10/6, 2011 at 7:9

4

Solved

I tried to use this code below, which adds buttons in slideshow on my site: window.onload = function loadContIcons() { var elem = document.createElement("img"); elem.src = "http://arno.agnian.co...
Fromenty asked 30/7, 2014 at 13:33

9

Solved

We have certain users in our member list that have a role "vendor" attached to them. All such members are to be redirected to a certain page upon login. How can this be accomplished?
Crux asked 7/8, 2010 at 8:41

© 2022 - 2024 — McMap. All rights reserved.