You can use this to post advice or reminders to logged in users when they need to perform different tasks. All you have to do is add the following anywhere in your theme you want to display the message. Create a shortcode to detect logged in users To turn this into a shortcode so you can use it in your posts you can just use the below snippet add this into your functions.php page. To use...
Below is a great function (created by Wes over on Stack Overflow) that can be used to automatically correct the image orientation when uploading images (the main culprit for weird orientation related glitches being iOS based devices) - simple call the correctImageOrientation() function after uploading the image and voilla the rotation/orientation of the image is corrected! The function:...
Recently when making some changes on a Magento based store we encountered a mySQL error in the Magento administration pages when trying to delete products which prevented any further products from being deleted. The error message SQLSTATE : Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range in ‘(`YOURDB`.`q`.`items_count` – 1)’ Resolving the error Log...
Customising the default "Submitted by..." text used in Drupal 7 is pretty simple, and just required a single edit to your theme's template file. Go to your ./themes/yourtheme folder and open the template.php file in your text editor. Add the function below at the end of the template.php file (remember to replace "yourthemename" with the actual name of your theme). '!datetime' => $vars , )); }...
We use the Date module for Drupal for a lot of the sites we develop, some require a date to be displayed, for example in a listing of events or "dates for your diary" but don't want to list a time or have the date listed as an "All Day" event. The answer is pretty simple, just add the below into your theme's template.php <?php function _date_all_day_label() { return ""; } ?>
Digital Marketing Content Creator 01793 239239 ext 2624 [email protected]
Languages spoken 🇬🇧 🇫🇷
Jenny is a content creator and admin specialist for O'Brien Media and associated brands, working on both customer projects and internal service improvement projects.
We value your privacy
We use cookies to run this site, measure and improve how it works, and, with your permission, support advertising, marketing and embedded content. Essential cookies are always on. First-party statistical analytics are used to improve the website, but you can object at any time. You can accept all, reject non-essential cookies, or choose which categories to allow.
Required for the website to function (e.g. security, load balancing, remembering your cookie choices). These are always active and cannot be switched off.
Enable enhanced functionality and personalisation, such as remembering preferences, live chat and site settings.
First-party analytics set on this website’s own domain to measure and improve the site (e.g. self-hosted Matomo). The data stays with this site and is not shared with a third party.
Analytics provided by a third party, which may share your data with that provider (e.g. Google Analytics).
Used to build a profile of your interests and show you relevant adverts on other sites (e.g. Meta Pixel, Google Ads).
Allow content embedded from third parties such as YouTube, Vimeo and Google Maps. These providers may set their own cookies.
Small tracking pixels used to measure campaign performance and conversions.