Drupal is up and running but how do I ...?

How to add LTR language webpages to a website built in a RTL language?

I have a core 10.1.6 website with Claro as administrative theme and Olivero as general theme.

Given that the website's language is an RTL language, all content in all webpages, administrative or general, appears from right to left.

I want to add a new content type named "LTR nodes" and create a few nodes with it that both in administrative mode and in general mode, would appear from left to right.

Custom css for div with id

Thanks for fixing previous issue, it was the dumb extra semi-colon.

I tried doing something pretty simple but it's not worked. First I added a div to page template with an id, then added css for the id in base.css. The div is there but it's not loading the css like it's being ignored, is this normal behaviour? I've cleared the cache.

Issue with TMGMT and Config Translation on Drupal 10.5.1

Hello Drupal friends,

I'm encountering a persistent issue with the Translation Management Tool (TMGMT, version 8.x-1.15) and the Config Translation module on my Drupal site (version 10.5.1). The issue arises when I attempt to translate views, leading to an error that disrupts the process.

Installed Modules:

D10 Media Image Insert Issue

Greetings,

  • Drupal Version 10.1.6
  • Web Server Apache/2.4.52 (Ubuntu)
  • PHP Version 8.2.13
  • Database Version 8.0.35-0ubuntu0.22.04.1
  • File system Writable (private download method)

Using core media module to upload images then adding them to Book content page.

The chosen image is not displayed, a different image is shown. Choose one - Get another!

Is this a bug to be reported or a mistake somewhere at my end? Please advice.

css for mobile device

This code ..

.page-wrapper {
  max-width: var(--max-bg-color);
  background: var(--color--white);
  margin: auto;
  width: 75%;
}
@media (max-width: 600px;){
  .page-wrapper {
  width:100%;
  }
}

doesn't load the @media css on a mobile device, the width 75% is loading on all devices. Can't see why it doesn't work, any ideas much appreciated.

User Lat and Long - D10

Hi guys,
what i want is to grab the user lat and long from the browser and store into a filed in a content type form. I don't want user interaction because i have to check if user position is close to some  dynamic lat and long stored in other nodes.

I make it works in a custom site but I cannot reproduce with drupal by JS. 
 

if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showPosition);
}

Pages

Subscribe with RSS Subscribe to RSS - Post installation