Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by JoseFrasher

  1. On 3/1/2024 at 12:46 AM, BrendonKoz said:

    Has anyone experienced a scenario where a PDF (or other) file that's been uploaded, and shows as having been successfully uploaded, is reporting as an improper size, and then doesn't load correctly when attempted to be accessed/downloaded/viewed from the website?

    I have a PDF that, I believe, was generated from Canva. It is 4.5MB in size. During upload, the JS upload GUI reports the proper size in the progress bar, but then once complete, shows a filesize that is not the same as the original (2.5MB in this case). Unfortunately, it also seems to break and corrupt the file. It is indeed smaller. Thus far, I've manually uploaded, via FTP, the file overtop of the one processed by ProcessWire, but if this comes up again, I'm not sure what to look at.

    I have FileValidatorSVG installed, but the file extension here is definitely PDF.
    Also installed that might process files: WireRequestBlocker, SearchEngine File Indexer, WebP to JPG.

    I thought I'd recently seen a topic about this, but when trying to find it again, was unable.

    All good now?

    • Like 1

    On 1/20/2024 at 2:51 AM, ryan said:

    This week on the dev branch is ProcessWire version 3.0.235. Relative to the previous version, this one contains 19 commits of fixes and feature additions (see commit log).

    As mentioned last week, this version adds support for custom repeater page classes. Another significant addition was the upgrade from TinyMCE 6.4.1 to 6.8.2, which covers 13 TinyMCE versions with hundreds fixes, improvements and additions (see TinyMCE changelog for all the details). 

    I did also try to upgrade CKEditor to the latest version (which is also the final open source version of CKEditor 4), but found it was making outbound http requests to ckeditor.com, so I reverted to the previous version. Presumably that was just to preform version checks, but what's the point if it's the final version ever... previous versions didn't do that. It also seemed like it could be for some kind of tracking, so I decided to leave it out for now and revisit it later. 

    Lastly, this dev version of ProcessWire adds an improvement to the ProcessWire installer. Now you can choose either "hostname" or "socket" as the DB connection type. Depending on what you choose, it'll provide the appropriate inputs. Previously the installer did not support a socket DB connection option. Thanks for reading and have a great weekend! 

    Thanks for the info, I really like it.

    Edit: I appreciate you for giving us useful content 🙂

  3. On 12/23/2023 at 11:26 PM, Webjack said:

    @ Ryan

    Yes, I had understood that there was a question about whether or not to integrate several profiles into the install, and it would indeed be good if at least the beginner version were equipped with it, because what could be more frustrating than having to install again to visit the other profiles? 

    I think I read somewhere that it's now possible to install another profile even after installation is complete. I'll have to find those conversations again to test this procedure myself. 😉 

    Have you tested it?

  4. On 12/12/2023 at 11:30 AM, cwsoft said:

    I do the following. Copy all files of the live site via FTP to my local dev environment (e.g, /htdocs/pw-test). Create a backup of the MySQL/MariaDB via phpMyAdmin (online). Open my local dev instance of phpMyAdmin (XAMPP) and import the database. You may need to change the DB settings in your local /site/config.php file in case the DB credentials differ between live and local DB connection.

    Thank you, I will try it and if I face any issue, I will update you. Videoslots Casino is hands down the best sms casino I've come across. The ease of depositing via SMS is unmatched, and the variety of games is impressive. Thanks to casinosanalyzer for helping me find this gem in the world of online casinos!

    Thank you, I will try it and if I face any issue, I will update you.

  5. On 11/7/2023 at 11:54 PM, Jim Bailie said:

    Thanks. Ok, this is a closed application and there's a 404 redirect in config.php set to go to a page/template with active access control.

    Therefore if I add a url segment to a protected page/template, it will get 404 redirected to a page/template that should redirect to a login page if there is no active session, but that protected page is rendered instead.

    I hope this makes sense. It's not the end of the world as I will need to do some checking in the code, but it is unexpected behavior.

    Any update?

  6. On 10/26/2023 at 6:54 PM, imandreas said:

    I'm trying to setup a website, where users can generate their own content.

    Frontendprogramming is working fine on PW as a charm, for user registration I'm using the module "Login Register Pro" and for frontend editing right now "RockFrontend" with Alfred looks so good, all fields are perfect accessible.

    But there are remaining security issues, that I can't solve:

    Users might be accessing the PW backend and have the possibility to read the whole content.

    - trying module "Admin Restrict Branch" will disable RockFrontend, because jquery from PW backend can't be loaded and the "navbar-nav" menu in backend is showing content anyway

    - RockFrontend Role granted to Permission "page-edit-front" has jquery problems in Frontend with older jQuery version

     - creating a new content:  I found only a solution with API programming, creating a form field and processing it on PHP in template. Once this content is created, it can be edited with Alfred


    <form action="/my-user-content-template/" method="post">
    <input type="text" name="title">
    <button type="submit" name="create-new-content">Create New Content</button>

    But overall it is not straigthforward as everything else on ProcessWire. Are there any other approaches?


    Any update?

  7. On 9/6/2023 at 10:57 PM, msavard said:

    You all are such professional designers that I hesitate sharing my site here, but it might show what Processwire can do even for 'average' users.

    I created this site with Processwire for the County of Ventura's Assessor's Office. It is a redo of the previous site done in ASP that was showing it's age. The goal was to provide a more modern design that would work with desktop or mobile while at the same time providing more features for the taxpayers to access data and communicate with us. While most of the County Government sites use WordPress (or similar) they graciously allowed me to give Processwire a try. I think it performs admirably, is easy to maintain, very fast, and actually fun to work with (most of the time....🙂).


    Most of the site is handled by two main templates, one for the summary pages, and one for the detail pages. I also created a 'dummy' template to act as a folder to hold the pages for each category (to make a manageable hierarchy) . This made it easier for me to find things on the back end and mimics the front end nicely.

    On the back end there are several templates that hold things like forms (pdf downloads), links, glossary terms, frequently asked questions, form responses, and more. All of these are dynamically included into the front facing pages based on their content and how they relate to the individual pages. 

    Fillable forms were the hardest part for me. I tried working with some of the free modules for this sort of thing but I could never wrap my head around them. In the end, I just did it by hand with standard PHP forms combined with using the Processwire API to save the results to the database. It works fairly well but I'm sure there is a better way.

    A big thank you to everyone on this forum for their help and tips both directly and indirectly, and to Ryan who makes this fabulous software available to us.

    Any suggestions on the site are welcome.






    Thanks for the info, I appreciate it.

  8. On 4/28/2023 at 8:18 PM, BitPoet said:

    This is because Page Autocomplete doesn't use InputfieldPage::getSelectablePages. Instead, it sends a live query to ProcessPageSearch. Unfortunately, this means that the field settings are written to the JS config, and support for selectors is somewhat limited there.

    There's been a github issue around for some time with a workaround, which unfortunately means adding a few lines to a core js file, so it needs to be reapplied after every update: https://github.com/processwire/processwire-issues/issues/1374#issuecomment-835032978

    Thanks for the link sir. You made my day 🙂

  9. On 2/2/2023 at 11:11 PM, monollonom said:

    I have the same case where I use a start date and an end one. I add a hook that checks the end date when saving the page and if undefined it copies the start date value, this way you can sort using the end date.

    Thanks, I will try it and if I still face any issue, I will message you.

  • Create New...