developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
8
results
Andrew Fletcher
•
The viewport meta tag in a website's HTML is used to control how the webpage is displayed on a mobile device or in a web browser. It defines the viewport's behaviour and dimensions. The viewport meta tag helps create a responsive and mobile-friendly design by adjusting the layout and scaling to fit various screen sizes and orientations, particularly on mobile devices. It helps ensure that text is displayed at a readable and consistent size across different devices and screen...
Andrew Fletcher
•
Updating NPM packages using npm update and I'm seeing the following response
npm...
Andrew Fletcher
•
ERROR Error: Uncaught (in promise): TypeError: undefined is not an object...
Andrew Fletcher
•
Working through an app project I inherited using Ionic, Angular and ngx-leaflet...
Andrew Fletcher
•
The issue
Text through the app is being rendered as
<p>Depletion...
Andrew Fletcher
•
If you are using theme_get_settings, such as:
$value = trim(theme_get_setting('my_setting'));
Then in your code editor you will also be seeing undefined function 'theme_get_setting'. This function has been deprecated for some time.
Instead, you need to use
Passing the theme.manager and theme.initialization services to theme_handler constructor as optional parameters is deprecated. These parameters are also mandatory.
$theme_handler = \Drupal::service('theme_handler');Get...
Andrew Fletcher
•
Images
For some time, when looking for images online for your app or site I have...
Andrew Fletcher
•
The purple warning notification of annoyance recently came my way! I...