-
Posts
10,896 -
Joined
-
Last visited
-
Days Won
348
Everything posted by adrian
-
$pages->find() not respecting my Pages::viewable() hook
adrian replied to thetuningspoon's topic in API & Templates
@thetuningspoon - if you go with Dynamic Roles, please grab this fork (https://github.com/matjazpotocnik/DynamicRoles/commits/master) by @matjazp because Ryan's version is pretty broken and seemingly abandoned. -
I am not that familiar with the Mailgun API to know if that's an option, but without knowing the details of what you are doing I would instead recommend an HTML formatted email with an `<img>` tag to embed the image from your web server - it's generally much better to do things this way.
-
@simonGG - I'd also recommend using @nbcommunication's fork (linked above) which handles attachments in a more PW way.
-
@titanium - this used to work as expected - ie these pages could not be found via the search. I just took a look and it appears that relatively recent changes to this live search feature means that now other results are returned, but note that the links from these results go to view the returned pages, rather than allowing the user to edit them. So I think the main functionality has not been compromised. Remember that this module is not designed to control view permissions, just editing.
-
Typically you want to click on the ajax called file that is uploading - Then on the response tab - that should show you any errors that are corrupting the uploading. Also, just an FYI that your version of Tracy is a year old ?
- 43 replies
-
- 1
-
- ajax
- sys_get_temp_dir
- (and 4 more)
-
@spiroue - please try the latest version - it should now work as expected for Multiplier fields.
-
@tthom_pw - any word back from your host? I think I'll probably have to take the approach of separating out Terminal, but just wanted to know if you had any updates first.
-
Yeah, currently BCE doesn't support the ProField Multiplier fieldtype ? I'll see if I can get it working for you shortly.
-
If I leave things as is, then yes. But if server scanners are going to regularly flag this file, then I'll move the Terminal to its own separate module so it's not part of Tracy.
-
Unfortunately Ryan doesn't accept PRs, so all you can do is add to this issue: https://github.com/processwire/processwire-issues/issues/797 Welcome to the forums and thanks for your efforts to improve/fix things!
- 1 reply
-
- 1
-
@tthom_pw - perhaps it would also be worth pointing out to them that: https://yoursite.com/site/modules/TracyDebugger/panels/Terminal/shell.php is not accessible.
-
Hi @tthom_pw - that file is not necessary for most of Tracy's functionality so you could certainly just delete it, but I would like to understand why they are actually concerned about it. As I mentioned to @bernhard above, it's impossible to run that shell.php file outside the PW admin and without superuser permissions. It is blocked by PW's htaccess rules. Also, unless I am missing something, it's no more dangerous than Ryan's HannaCode module in terms of what it can run - Hanna lets you shell_exec() which is what this file uses to run system commands. That said, if it's going to be a red flag for some hosting providers, I can move the file out of Tracy and make it a separate module that if installed will integrate with Tracy. Could you please follow up with your host and explain how it is protected from direct access etc and see what they say?
-
Not sure how useful this is compared to Tracy's Console panel, but if you really want to run PW code (or anything else for that matter) from the comfort of your IDE, check out: https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner
- 242 replies
-
- 3
-
- visual studio code
- vsc
-
(and 2 more)
Tagged with:
-
[SOLVED] Add additional values when creating page via Page reference field
adrian replied to cehlo's topic in Getting Started
No time to test right now, but perhaps you actually need to use: Pages::added -
The version under the Tracy cache is the backed up copy created when you use the File Editor panel. That is expected. That is partly why the File Editor now has a default setting to exclude /site/assets My concern is why the error you are seeing is looking for files under: /site/assets/cache/TracyDebugger/offer-index-dev.php rather than /site/assets/cache/TracyDebugger/site/templates/offer-index-dev.php
-
Yes for the template settings. For Tracy you can either: 1) Visit the module settings and open the Adminer panel and it will automatically show the entry for Tracy's settings. 2) Install http://modules.processwire.com/modules/module-settings-import-export/ and copy the settings from the new section on Tracy's settings page.
-
[SOLVED] Add additional values when creating page via Page reference field
adrian replied to cehlo's topic in Getting Started
If I understand correctly, this will help: http://modules.processwire.com/modules/admin-page-field-edit-links/ -
I can't seem to reproduce any issues here with the Template Path panel. I actually don't understand why it's looking for a file at the root of /site/assets/cache/TracyDebugger/ - I don't think it should be. I have a feeling you might have a combination of Tracy features / settings that is resulting in this, but not sure what. Would you mind PM'ing me your settings in JSON format. Maybe also an export of your template settings as well.
-
@dragan - are you using the "User Dev Templates" feature, or the User Bar's "Page Versions" feature?
-
Hi @bartelsmedia - sorry, but I don't really have the time / inclination to support this module, but I am happy to accept PRs. Personally I thought these banners were almost designed to overlay content on purpose so that they can't be ignored.
-
I am surprised Enpass (https://www.enpass.io/) hasn't come up - does everyone know something I don't about it ?
-
-
@Erik - I shouldn't speak for Pete, but I don't think this is being maintained at the moment. The error is related to PHP 7. Not meaning to self promote, but http://modules.processwire.com/modules/protected-mode/ has a maintenance option which throw proper 503 maintenance headers if selected in the settings.
-
Hey @Pete - thanks for the updates. Once outstanding thing is the link color on this page: https://processwire.com/talk/discover/unread/ being black instead of pink.