DV-JF
-
Posts
294 -
Joined
-
Last visited
-
Days Won
1
Posts posted by DV-JF
-
-
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 !
- 1
-
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?
-
@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.
QuotePage Active Languages Batcher Lets you enable or disable active status of multiple languages on multiple pages at once.
-
@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.
- 3
-
Just thinking loud: Maybe it's enough to have some links to the related blog post in the docs. Sometimes I'm missing some code examples, so I'm searching through the blog and almost every feature is well documented and explained there, too.
- 2
-
@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. ?
- 1
-
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 ?
- 2
-
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 ?
- 1
-
inval($integer) or (int)$integer
Just use the code above ?
- 2
-
Hey @teppo perhaps you could give me hint, I'm facing an really annoying bug and don't know how to debug further:
I've installed your module first on a dev-server then tried to migrate the settings to the live server. On the dev server everything is running as expected, and you're module is working fine, but on the live server i get the message:
You don't have permission to view this branch of the page tree.
When I disable your Module the (first and then only) selected branch is shown as it should be via module "Admin Restrict Branch" .
Same settings on both websites: ProcessWire 3.0.210 © 2023 @ PHP 8.1.9
What I've noticed so far: When I do
-
Short reply: On my Pixel 6a with latest Android the link is working as expected in Firefox as well as in Chrome browser.
Maybe you could ask here: https://discord.com/invite/NEt4Pv7
-
WOW, thanks for your detailed answer and the code example @nbcommunication That's why I like the PW community so much !!!
Is there any way I can support you, would like to spend you a ? or ☕
-
27 minutes ago, nbcommunication said:
Ah yes, this is a total pain when this happens.
Can you tell me why it happens? Would it be possible to send an email to the admin, if the authentication process fails - any ideas?
-
Indeed - didn't thought about this place to look for errors ?♂️
vor 8 Minuten 2023-02-03 09:29:01 guest / Could not process user media: {"error":{"message":"Error validating access token: The session has been invalidated because the user changed their password or Facebook has changed the session for security reasons.","type":"OAuthException","code":190,"fbtrace_id":"A8JC4GfQtIPWPBs_P8YONKd"}} vor 8 Minuten 2023-02-03 09:29:01 guest / Could not refresh long-lived access token
I expected the access token to be renewed automatically - the passwords of the corresponding pages were not changed.
-
Hey @nbcommunication, hey all...
since a few day's (don't know exactly when it startet) I've a problem getting the feed. I'm using this plugin on different sites with various accounts - so far had no problems with it. On 3 of these websites the feed doesn't load any more - on the other websites I suspect that the cache is not expired, yet. There are no items in the $instagram->getMedia() array any more - no errors are shown. When I review the modules settings this so what I got:
There is currently 1 cached request.
Clearing the cache doesn't help.
Anyone else facing this problem, any ideas how I could debug further?
Cheers and many greet!
-
Hey @ryan, hey all,
I've to update some websites in order to make them work with PHP 8.1. While doing so I've noticed, that ProcessWire is not on all sites in the listed updates. I'd expected to be on top of the list like this:
But on some websites ProcessWire doesn't appear and I see no logic behind ?
Any hints or an explanation?
Cheers ?
-
From my experience you have to remove
type="text/javascript"
or leave it empty.- 1
-
@thetuningspoon Thank you for sharing the link, I'll give a thumb up!
-
What does your Select Options Fieldtype looks like in backend? Is it
1 2 3
or
1=1 2=2 3=3
-
7 minutes ago, Flashmaster82 said:
But how should i test a variabel in ready.php? I´m not so familiair with the debug tool.
Just do it the same way, here i did bd($page) on line 31 in ready.php
- 1
-
@Flashmaster82 use TracyDebugger and check your variables where ever you want by doing
<?php bd($test); // variable or object you want to test ?>
See example screenshot:
- 1
- 1
-
1 hour ago, kaz said:
sorry, I don't understand?
w1 = $item->colwidth;
the value is passed,
$w2 = 4 - $w1;
needs to change something on this line?If you echo $item->option a string will be echoed and you can't calculate with a string.
In order to do the math you have to echo $item->option->value to get the value of the selected field which is in your case an integer.
To be precise you could do
$w1=intval($item->colwidth->value);
- 2
Fatal Error: Uncaught Error: Undefined constant "languages" in site/templates/admin.php:39
in General Support
Posted
@Peter Troeger This should work:
foreach(wire('languages') as $lang){