DV-JF
-
Posts
317 -
Joined
-
Last visited
-
Days Won
1
Posts posted by DV-JF
-
-
Great news, I've a couple of old sites where I'm still using this module. Thank you @matjazpfor taking care!
-
@FireWire Would you have a look at https://github.com/SkyLundy/Fluency/pull/19 - there's a litte syntax error for x-default.
-
1
-
-
17 minutes ago, ryan said:
what device and browser are you seeing it on?
Firefox Ver. 141.0.3 (Build #2016106991), null
GV: 141.0.3-20250806102122
AS: 141.0.1
OS: Android 16
Device: Google Pixel 6aThank you for having a look at accessibilty.
-
1
-
-
35 minutes ago, ryan said:
How about there?
I'm out of office, but in mobile I've now noticed an ugly flickering.
-
14 hours ago, adrian said:
Thanks @ryan - it's no longer blurry, which is great, but it's still got jagged edges due to that #pw-morph-threshold) filter.
Same for me, WIN 11 on all installed browsers.
Another thing I want to mention: Did you pay attention to accessibility during the relaunch? Some critical errors and alerts are displayed in my preferred testing tool - https://wave.webaim.org/report#/https://processwire.com/-
2
-
-
-
Hey @Zeka, hey @adrian,
thank you for your code-examples. They seem to work pretty well for me!However, I have discovered a strange problem that I can't explain. Maybe one of you knows what I have to do to get the corrected link displayed on the actual page in the backend. I'll try to clarify it with 2 screenshots:
In the page-tree the link is correct:
but not on the edit screen:
This is my code in ready.php:
$pages->addHookAfter("Page(template=product-item|home-temp)::path", function (HookEvent $e) { $page = $e->object; $pages = wire('pages'); $user = wire('user'); $language = $user->language; $langSegment = $pages->get("/")->localPath($language); $pageName = (!empty($page->localName($language))) ? $page->localName($language) : $page->name; // Products if ($page->matches("has_parent=products")) { $parent=$pages->get('name=products')->parent->localName($language); $e->replace = true; $e->return = $langSegment . "$parent/$pageName/"; } // Lead-Messe if ($page->parent->matches("name=lead-pages")) { $e->replace = true; $e->return = $langSegment .$pageName.'/'; } }, array('priority'=>101));
Any ideas?
EDIT: To clarify my question: Which hook can I use to change these links?
-
@nbcommunication Thank you for answering!
I'm not the only one facing this problem: https://developers.facebook.com/community/threads/1186912303035518/
I just tried it again but without any luck 😔
-
I have the following problem and wanted to ask if anyone else has the same problem: When I try to generate a token, a new window opens, the token seems to be generated, but in the last step the window remains blank. The URL displayed is (shortend):
https://developers.facebook.com/instagram/token_generator/oauth/?code=AQC[...]dYnxpaBnsA&state={"app_id"%3A"0XXXXXXXXXXX3"%2C"f3_request_id"%3A"1d1cbb1e-05d4-[...]-3f30574aa2fd"%2C"nonce"%3A"B...C"%2C"requested_permissions"%3A"instagram_business_basic%2Cinstagram_business_manage_messages%2Cinstagram_business_manage_comments%2Cinstagram_business_content_publish%2Cinstagram_business_manage_insights"%2C"user_id"%3A"178[...]306"}#_
From the docs: https://github.com/nbcommunication/InstagramMediaDisplay?tab=readme-ov-file#generate-an-access-token
QuoteOnce logged in you'll be prompted to allow access (again). This time however, you can uncheck all the additional options, just leaving View profile and access media (required) checked, and then click Allow.
Is working.
QuoteYou'll be returned to the app screen, with a modal having appeared for the access token. Check I Understand, then copy the token provided and store it somewhere secure such as a password manager.
No return to the app screen 😒 Anyone else facing this problem or has any ideas?
-
Just guessing because your logs: You could try to add
$config->sessionFingerprint = 2;
to your config.php see https://processwire.com/api/ref/config/#pwapi-methods-session for more info.
-
1
-
-
Perhaps this will may help you:
https://youtube.com/playlist?list=PLOrdUWNK38ibz8U_5Vq4zSPZfvFKzUuiT&si=eZK8fSrXVWJs65_k
-
4
-
-
@joshua I'll try again🙂
Is it possible to load a script based on different conditions:
How do others solve this task?
Greets!
-
10 minutes ago, nbcommunication said:
I don't think it takes much to switch to a business account - both the band accounts I have access to on Instagram are business accounts, I think it is just a case of specifying that? Or at least it was when these were set up years ago. Given the maze of Meta requirements it wouldn't surprise me if you need to submit yearly accounts to get a business account now...
I'm just reading the docs:
https://help.instagram.com/502981923235522
https://www.facebook.com/help/instagram/138925576505882?helpref=faq_contentI haven't read anything about any restrictions that would prevent a "normal Instagram account" from being converted into a business account, yet.
10 minutes ago, nbcommunication said:So the limitation is that it isn't for use by personal accounts?
As I read the documentation, this seems to be the case.
https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/overview
QuoteLimitations
- This API is only available for Instagram professional accounts
- This API doesn't support ads, insights or tagging
-
1
-
@tomasanjosbarao Thank you for sharing this info and thank you – @nbcommunication – for further investigation. It would be great to see a new module👌
The first limitation a I see is this:
QuoteThe Instagram API with Instagram Login allows Instagram professionals — businesses and creators — to use your app to manage their presence on Instagram.
Source: https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login
-
1
-
-
My setup is a bit unusual and I'm not quite sure whether the error is mine or not - following setup
- RepeaterField (rep_socialLinks) with 2 text fields and FieldsetPage (set_icon) inside
- Inside this FieldsetPage set_icon there is among fields things a "Select Options" field
- The rep_links field is in a template called "settings" with multiple "FieldsetTabs"And now to the problem:
If the rep_links field is in the main tab, then the "Select Options" field works correctly. However, as soon as I move the field to another "FieldsetTab", the field is not saved correctly.
Here is my question: Can anyone understand the problem and is there an explanation?
Please find attached a video for clarification.
-
Hey,
one of my feeds stopped working. I renewed the token, but it's not working - But I've noticed this message one Facebooks "Basic Display" page:
Anyone else having this problem?
This is how the module-page looks like:
@nbcommunication Any ideas?
-
Hey @update AG Markus,
thank you for this module. It fits my needs perfectly. Unfortunately, I have a problem with the assignment of permissions in the backend: The page isn't shown up when viewing as an "editor", see screenshots:
I'm not able to view this page (/cms/setup/most-viewed/) with editor role:
Any ideas?
Greets Jens alias DV-JF
-
@Wanze Any news on this... https://github.com/wanze/SeoMaestro/issues/40 - Had a website which runs out of disk space because of this error ?
-
Hey @kixe
I'm using Version 1.2.0 on PW 3.0.229 with PHP 8.1.19 and getting the following error:
Deprecated: hexdec(): Passing null to parameter #1 ($hex_string) of type string is deprecated in .../site/modules/FieldtypeColor/FieldtypeColor.module:85
The null coalescing operator is working for me in line 85:
public function sleepValue(Page $page, Field $field, $value) { return hexdec($value ?? ''); }
Can you fix this?
Many greets!
-
1
-
-
Hey,
I'm asking myself, what's the best way to filter a SelectableOptionArray for multiple Values. Is there a better way than doing it like this:
if( $page->optionField->hasValue('foo') || $page->optionField->hasValue('bar') || $page->optionField->hasValue('buzz')) { echo $something };
Any ideas welcome!
Greets!
-
9 hours ago, Robin S said:
I don't know for sure but it looks like a problem with your Imagick configuration or file permissions. The module won't be able to solve that but if you update to the newly released v0.2.2 there is an option in the module config where you can choose to use GD for the conversion instead.
@Robin S, you're fantastic! GD libary is working fine for me! Thanks a million for the quick update!
-
1
-
-
Hey @Robin S
when trying to use your module I'm getting following error:
unable to open file `/tmp/magick-3212377FV32zRu53SoM': Datei oder Verzeichnis nicht gefunden @ error/constitute.c/ReadImage/604Edit: PHP 8.2.6 - ProcessWire 3.0.229 © 2024 Any ideas?
Many greets!
-
@joshua Did you recognize my question: Is it possible to define multiple data-categories at the same time – e.g.:
On 4/10/2024 at 11:50 AM, DV-JF said:<script type="text/plain" data-type="text/javascript" data-category="statistics|marketing|external_media"> // Load GTM </script>
-
On 3/15/2024 at 11:14 AM, nuel said:
Can anyone explain the changes with the Google consent mode v2? Do we need to change all the Google Tag Manager snippets that we modified for PrivacyWire in the past? Do we have to and should we and can we somehow distinguish between consent for «Statistics» and «Marketing» withiin one GTM?
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>
-
1
-
PagefileMetadata
in Modules/Plugins
Posted · Edited by DV-JF
RTFM !!! I was dump :-/
Hey, @Neue Rituale & @wbmnfktr
just thank you for the module, nice and handy !!!