-
Posts
2,321 -
Joined
-
Last visited
-
Days Won
44
Everything posted by tpr
-
it's CentOS 6.6 I don't have direct access to it, only through Plesk. After the update the tags appear in the MailGun logs, thanks!
-
You don't. Delete the German language files - you can use ctrl+double click on the trash icon as I remember to batch delete them.
-
$childCount is a PageArray but you need a number. Add ->count() after children(...)
-
It's almost perfect for the task I would use it, but am I right that I need to create multiple Media Libraries under Home to have multiple "categories" of libraries? I tried to put them under a page not to pollute the root with many Media Libraries but then they don't show up in the selector when trying to insert an image. Update: I see it's possible to use it from subpages but my current multi-user setup doesn't allow placing them in ancestor pages. I wanted something like this: - global page - global page - global page - user page - - user subpage - - user subpage - user page - - user subpage - - user subpage - Media Library parent page - - Library 1 - - Library 2 So users cannot reach Library 1 in this setup.
-
These are my findings - seems that intl is the culprit: php 7.05 intl 1.1.0 PHP Warning: transliterator_transliterate(): Could not create transliterator with ID "Any-Latin; Latin-ASCII; [\u0080-\u7fff] remove" (transliterator_create: unable to open ICU transliterator with id "Any-Latin; Latin-ASCII; [\u0080-\u7fff] remove": U_INVALID_ID) There are no related lines in mailgun log txt file. My tags were simple words like "newsletter" or "test".
-
You can try == "". But just use var_dump($page->cruise_spaces), or echo(gettype($page->cruise_spaces)) to see what it really is.
-
What delay? It's working fine, thanks!
-
Just found that I have to comment out this line to make tags work: $tag = transliterator_transliterate('Any-Latin; Latin-ASCII; [\u0080-\u7fff] remove', $tag); Could it be the server environment or maybe something else?
-
Started to use this module and works fine so far, thanks! Is there a way to use the built-in WireMail in certain cases? Eg. I need to use MailGun only for newsletter emails.
-
No I'm using "Select branch parent". I'll check your suggestion too. Currently I have no field to match for the other roles, so the branch parent suited more.
-
Sorry to bother you again I wanted to add an editor without superuser role, and if I set "No Access" and didn't specify a branch parent for this user, he sees nothing. First I thought setting a branch parent to Home works, but it doesn't. Setting another page is OK though. Perhaps it would be reasonable to add a module setting for "Excluded roles", which won't be included in the branch restrictions?
-
Just tried and works as advertised, thanks!
-
Thanks! Need to wait until our server DNS issues are resolved to try but it gets my like in advance
-
I would like to add tags to my templates "myTag" and use something like $pages->find("template.tags=myTag"); but no joy. Is this unsupported? I solved the issue in other way but would like to know if this is possible somehow.
-
Thanks, I will try a combination of fields then & try lazycron. Sometimes the editors shouldn't care about the page name, for example when pages are created to hold content for content blocks. For example awards pages that won't have its own page at all.
- 100 replies
-
- 1
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
Great, thanks! However, if my php selector has a match and I set "No Access", my user can see no pages. There's something to do with 'allOrNone' conditions I guess: if($this->data['allOrNone'] == 'none' || $this->branchRootParentId === false) { $this->error("You don't have permission to view this branch of the page tree."); $event->replace = true; $event->return = false; } These (in 2 places) always evaluate to true if I set allOrNone to 'none' so the error is shown. But I may be wrong because I don't see the entire picture. Update: the same is true if I use the "Specify branch parent" option instead of custom php code.
-
It's not that biggie because I can use the Set branch parent option, and it also fits better, even if it's full manual. Yes, I would have preferred them to see nothing, which us hardly applicable I guess Maybe redirecting them to the login page with a message? Anyway, as I wrote it's not that important, just asking.
-
Great module but there's one thing that prevents me form using it, maybe this could be added in the future: When adding a page and in the middle of the process you decide not to add a new page (skipping the Publish button and navigate away), then an empty page will be created. I think this coul be solved by adding a "Cancel" button next to the existing buttons ("Publish", "Save and....", "Cancel"). But perhaps there is an easier fix. Don't get me wrong - I can delete the pages of course but I would use this module to make it easier for clients to add new pages, especially where the page name is actually irrelevant. As a bonus feature request I would love to see message like these appear only for superusers - these may be too much for a regular client: "SetupPageName expects value in field 'title' to autogenerate Pagename"
- 100 replies
-
- 1
-
- template
- autogenerate
-
(and 2 more)
Tagged with:
-
Hi, setting custom php to restrict branch, if there's no match, the full page tree becomes visible, eg using this code: return ($user->hasRole("member") ? strtolower($user->last_name . "-" . $user->first_name) : "/"); Replacing "/" with false or null didn't made a change. Is it by design? If I enable the user to modify the first_name or last_name, the branch restriction will be off.
-
I'm afraid I can't give server access, those are clients' server. I uninstalled Tracy and then reinstalled, and the bar is gone again. Switching to the master version in L102 fixes it, so I guess it should be a Tracy core issue.
-
OK, updating to the latest module version reverted the working debug bar But I manually updated Tracy (master), and it's OK now (non-https). There was a commit 4 days ago which may be related (according to the variable names in there ). Logging is also OK with the default 755 permission on logs/tracy dir.
-
Thanks, I will try that. I could revert to a previous version but it's not that crucial on the project in question. I got the slowdown even with no panels selected. I also tried to play with the settings but it didn't helped.
-
I would probably solve this using a search & replace on files.
- 10 replies
-
- 1
-
- processwire 3
- namespace
-
(and 2 more)
Tagged with:
-
It's the default here: $config->chmodDir = '0755'; // permission for directories created by ProcessWire $config->chmodFile = '0644'; // permission for files created by ProcessWire I've always had issues with permissions on this server but setting the owner to "apache" seemed to solved that, I shouldn't use 777 for certain directories (like logs). Maybe it's still not perfect? Now I cannot reproduce the issue (not even when deleting the tracy dir), the module seem to work fine. Btw, have you tried Tracy on https? I'm getting really slow page loads (admin & frontend), often 5-8 seconds when Tracy is on. Maybe it's not because https but I have only one site where I can check this. (this is another server, not the same with the issue we talked above)
-
Line 120 evaluates to true here. Unfortunately setting the $tracyVersion to "stable" couldn't make the bar to show up. I have php 7.05 here, and PW 3.015. Update: I was messing things and perhaps the solution was the permission issue @netcarver mentioned, now the bar shows up. I never used the log function btw, only bd() or d(). Setting the assets/logs/tracy dir to 777 apparently solved the issue.