Advice for a new developer

Hello,

I'm working as web developer. My company uses Drupal for site development.

I have the basic knowledge (HTML5, CSS, JS, PHP, Python, Java, C, C++).

After 5 months of work I don't fully understand Drupal, I find it very difficult.

I'm able to develop a custom website from 0 all by myself but I don't know how to

gain more control over the classes drupal generate for views and blocks.

I want to be able to create classes inside custom_name.theme and then assign them as variables, override blocks, alter classes etc.

SQL error when moving site to localhost

Hi,

Copying a production site to a localhost (WAMPP). Done this before countless times with no issue.

And now I have an issue.

1 - The site is currently in Drupal 8.6.7 -- purpose of localhost is to test 8.6.9 update

2 - Importing DB into MySql and got following error:

How to display internal links with metadata ?

On my Drupal 8 site the Metatag module that is configured.

When I share a link from my site to an instant messenger like Telegram or social networks like Facebook, the title, description and image are automatically retrieved and displayed.

Here is my question:

I have an instant messenger with the Private Message module :

https://www.drupal.org/project/private_message

Searches returns Multiple Content tags

Hello

I am using a taxonomy term (content) as a sort criteria for a menu that searchs photos & video media and sorts by the date of creation. When I use this tags sort, the system return up to 4 instances for the same media all with the same date, but the search does not always return the 4 instances.

I cannot find 4 instances in the field or media menus. Can anyone tell me where I should be looking for these "phantom" instances?
Thank you

How to set the front page via custom module.

Hello friends,

I asked a similar question to these under the Module Development and Code questions, but I think this question may actually be better suited under this topic.

I am working on a drupal website that has a theme installed to it.

I would like to set the Front/Home page of the website to a .html.twig template I have in a custom module I am busy working on.

How would I go about doing this? I have done some googling and it likes like the answer lies somewhere with page--front.html.twig, but I am not sure where to go from here.

Deleted Images still in the files directory?

Deleted images are still located in the ../sites/default/files/ directory, even after manually running Cron and clearing all caches. When does the system delete the original image?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x