Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
i am developing a classifieds ads website for the sale of cellphone / mobile devices ;can any one assist me with a theme or module plugin for the various types of phones and mobile devices available instead of manually inputing pictures and specifications for each?( description , pictures, details and specifications of phones already existing)... i am new to drupal and would sincerely appreciate advice.
I have written a custom theme preprocessor that returns the following error:
User error: "attributes" is an invalid render array key in Drupal\Core\Render\Element::children() (line 97 of core/lib/Drupal/Core/Render/Element.php)
I have looked at the documentation for the Drupal Element object, as well as the source code for the original method, and don't understand what is causing the error. Oddly, the elements render properly (including the attributes). Can anyone help me understand why this function seems to work, yet throws this error?
I'm using Drupal 8.31 and working on a Bootstrap subtheme, setting up my gulpfile.js in my subtheme to run tasks.
It looks like the csslintrc in the site root has some rules to lint for, and I was wondering if I should have a copy of this in my subtheme as well. If core is updated I'd have to have a copy to put back in my edits. Anyone know best practice for this?
Also, same question for eslintrc as well, what's best practice?
I am new to drupal. I needed help with making zen template a dropdown menu. I installed nice module and enabled it in the header but then when I click on existing links it does not dropdown .I know there might be file to modify it in the template folder but just don't know the name and how to do it.I needed someone to point me in the right direction.