This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

The file could not be saved because it exceeds 2 MB, the maximum allowed size for uploads.

Hi, So I bought a Restaurant theme and I am trying to add it and before I was getting POST 8888888 bytes exceeds limits so I made a change in the php file(running xampp) and Now I get this error The file could not be saved because it exceeds 2 MB, the maximum allowed size for uploads. Any suggestions on what code to add? Im new to Drupal and I really dont know php at all. Thanks in advance!

Show a different logo on site if user is being sent to the site via 301 redirect

I have a scenario where i have built a customer a D9 Commerce webshop abc.com . The customer also has bought another exisiting webshop/domain def.com which they will close down but keep the domain.

What they want to do is 301 redirect from def.com to abc.com but anyone using this redirect will see the logo from def.com rather than the new logo on abc.com.

I don't think it can be done. Any ideas?

Trying to make a slide show on Homepage

Hi, I watched a couple videos on youtube on how to create an image slideshow in drupal 9, I download flex-slideshow and installed it created a content type of slideshow added the fields but when I goto view the images they are not on the front page but on a node themselves and not in a slide show It shows buttons on the home page when you click them it goes to the picture. Any recommendations? I am building a restaurant website and am using restaurante lite theme. Thanks in Advance for any advice.

Menu Tasks Help

I am building a module that allows users to save both billing addresses and shipping addresses, and exposes special 'shipping address' and 'billing address' fields to the form api and formbuilder. 

I currently have a route called `address_book.collection` that is on the path `/user/{user}/address-books`

The route looks like this:

How to Programatically Modify a View for an Entity Browser

Hi all!

Here's my issue:  I have an entity browser tied to a view.  The view is relatively straight forward, but I need to modify the filter criteria programatically.  The view is selecting nodes from two content types: A and B.  Content type B needs to be fitered because we only want to display B if it's taxonomy is in Cars or Boats (not Trains, Planes, etc.). 

Example SQL:

How to write this code in Drupal 8 ?

Hi Guys,

How can I write this Drupal 7 code to Drupal 8:

return theme('table', $variables);

Thanks in advance.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions