DV-JF
Members-
Posts
281 -
Joined
-
Last visited
-
Days Won
1
Everything posted by DV-JF
-
module PrivacyWire - Cookie Management & async external asset loading
DV-JF replied to joshua's topic in Modules/Plugins
Same question here π As far as I understand the docs https://developers.google.com/tag-platform/security/guides/consent?hl=de&consentmode=advanced it's necessary to set & update the "consent status" Here's a snippet as google recommends on its website. <script> // Define dataLayer and the gtag function. window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} // Set default consent to 'denied' as a placeholder // Determine actual values based on your own requirements gtag('consent', 'default', { 'ad_storage': 'denied', 'ad_user_data': 'denied', 'ad_personalization': 'denied', 'analytics_storage': 'denied' }); </script> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=TAG_ID "> </script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'TAG_ID'); </script> <!-- Create one update function for each consent parameter --> <script> function consentGrantedAdStorage() { gtag('consent', 'update', { 'ad_storage': 'granted' }); } </script> <!-- Invoke your consent functions when a user interacts with your banner --> <body> ... <button onclick="consentGrantedAdStorage">Yes</button> ... </body> I'm thinking about using PrivacyWire for triggering a custom js function: Passing the necessary gtag parameters to google after the user had interacted with the Consent Banner. @joshua Is it possible to define multiple data-categories at the same time β e.g.: <script type="text/plain" data-type="text/javascript" data-category="statistics|marketing|external_media"> // Load GTM </script> -
-
Show field only if repeater matrix field has content
DV-JF replied to Tyssen's topic in General Support
@Gideon So Sorry I posted the wrong link, meant this one: https://github.com/Toutouwai/CustomInputfieldDependencies @Tyssen You should be able to do something like this: -
Show field only if repeater matrix field has content
DV-JF replied to Tyssen's topic in General Support
You could try https://processwire.com/docs/fields/dependencies/ -
I'd theese kind of problems with XAMPP, too. I've switched to WAMP Server - since then nearly everything went smoothly π Perhaps you give it a try.
- 13 replies
-
- htaccess
- htaccess redirects
-
(and 2 more)
Tagged with:
-
-
Hi @kongondo any news on this one: I'de run in this error again. Do you have any plans to fix this issue? Greets!
-
There are listed only 2 models on my favorite comparison website: LG UltraFine 4K 24MD4KL-B, 23.7" - 3840x2160, 16:9, 186ppi - https://www.rtings.com/monitor/reviews/lg/ultrafine-4k NEC MultiSync EA244UHD-BK schwarz, 23.8" - 3840x2160, 16:9, 185ppi - https://www.tomshardware.com/reviews/nec-ea244uhd-4k-uhd-24-inch,3975.html If you could go with 2560x1440, 16:9, 123ppi there are a lot more and much cheaper options: https://geizhals.de/?cat=monlcd19wide&v=e&hloc=at&hloc=de&sort=t&bl1_id=30&xf=11939_20~11940_24~12018_110
-
PHP 8.2 Deprecated Warnings Hey when using with PHP 8.2.6 I get some warnings: 25Γ PHP Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in .../modules/ProcessJumplinks/ProcessJumplinks.module.php:1131 13Γ PHP Deprecated: htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated in .../modules/ProcessJumplinks/ProcessJumplinks.module.php:1130 1Γ PHP Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in .../modules/ProcessJumplinks/Classes/ParseUserAgent.php:169 Any chance that you could @Mike Rockett update the module? Cheers Jens alias DV-JF
-
See last screenshot in Ryan's post, bottom left π From what I see, this would be possible.
-
When I sort an existing menu and try to save it I get an error on PHP 8.1.x PW latest stable version: method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given search @kongondo It would be nice if you could fix this based on this issue: https://github.com/kongondo/MenuBuilder/issues/48
-
Templates & access restictions on multilanguage site
DV-JF replied to DV-JF's topic in API & Templates
Yes this would be an option, thanks for the hint @Zeka. I think this should be a feature that Processwire provides natively, therefore I've created a feature request here: https://github.com/processwire/processwire-requests/issues/486 -
βοΈ Duplicator: Backup and move sites
DV-JF replied to flydev's topic in Module/Plugin Development
Hey @flydev thank you for providing this module, it's really helpful to me an safes a ton of time! Just want to mention that there seems to be something wrong with the version number on PW: Also when trying to update the module (obviously) Cheers ! -
Display page data on other page depending on a field
DV-JF replied to brandy's topic in General Support
As far as I understand the code it should be $pages->find("parent=/unterkuenfte/, region=$vorschlag->tour_start"); -
Hey, following problem: I'm trying to redirect all guest users which have no access to a specific page where they can login. My template access settings: This works fine until I switch the language. All users are redirected to the login-page but in default language. Is this supposed to be that way, how can I fix this so that the user will be redirected to the corresponding login-page in correct language e.g. example.com/fr/login/?id=1030 example.com/en/login/?id=1030 example.com/es/login/?id=1030 Any hints or ideas?
-
Adding new language which is not activated by default on every page
DV-JF replied to Orkun's topic in General Support
@Orkun Have a look at this module https://processwire.com/modules/process-admin-actions/ You'll have the option to enable or disable single languages for all pages. -
module PrivacyWire - Cookie Management & async external asset loading
DV-JF replied to joshua's topic in Modules/Plugins
@joshua Wow, you're faster than light π¦ Thank you π https://github.com/webworkerJoshua/privacywire/releases/tag/1.1.2 Tested this on one of my sites and it works like a charm. -
module PrivacyWire - Cookie Management & async external asset loading
DV-JF replied to joshua's topic in Modules/Plugins
@StefanowitschAt the moment there's no option to do that. I've asked somewhere earlier in this thread about it and would like to have this function, too. π -
Hey @kongondo, figured out an error PHP 8.1 - PW 3.0.210 I'm trying to move an existing page and get the error above. Do you need any further info? EDIT: This fix is working for me - would be nice if you could fix it π Cheers
-
Following steps: Download the latest stable version of PW here Unzip the files Rename index.php > index_new.php and wire folder to wire_new Upload the files via FTP to your website root folder Rename ./index.php to ./.BAK.index.php and ./wire/ to ./.BAK.wire/ on server side Rename ./index_new.php > ./index.php and ./wire_new/ to ./wire/ Refresh the whole site > you maybe forced to relogin. Reload the modules by clicking the button on example.com/processwire/modules/ in the upper right corner After that you could use the ProcessWireUpgrade module to upgrade the other modules. Steps are also documented here: https://processwire.com/docs/start/install/upgrade/ if you have troubles have a look right here: https://processwire.com/docs/start/install/troubleshooting/#troubleshooting-upgrades Cheers π
-
Hey all, hey @horst after trying to upgrade from version 1.1.15 to 1.2.0 I'll get following error: Call to a member function height() on null File: .../InputfieldCroppableImage3.module: 156 These are my crop settings for the affected field: full,1208,755,product-item vorschau-startseite,600,600,product-item,produkte-page ausschnitt,960,540,feedback-item vorschau,1200,900,news-item,section-box-1-3 boxed-third,700,450,product-item,produkte-page,repeater_rep_ImageTextBox,section-sing_person, product-item-externallink full-wide,1280,640,produkte-page two-third,1680,840,section-box-img-headline-link Any ideas what might have gone wrong? ... a few moments later... EDIT: Seconds after posting this, I've found the error: in crop definitions line 5 "boxed-third" there was an empty space in definition π¬ I apologise for bothering you. I'll leave my dumbness here in case someone else makes the same mistake, or in case I do it again π
-
inval($integer) or (int)$integer Just use the code above π