processwire | ProcessWire 3.x is a friendly and powerful open source CMS | Content Management System library

 by   processwire PHP Version: 3.0.210 License: Non-SPDX

kandi X-RAY | processwire Summary

kandi X-RAY | processwire Summary

processwire is a PHP library typically used in Web Site, Content Management System, Symfony applications. processwire has medium support. However processwire has 115 bugs, it has 4 vulnerabilities and it has a Non-SPDX License. You can download it from GitHub.

ProcessWire is a friendly and powerful open source CMS with an API that is a joy to use at any scale. It is both a content management system (CMS) and framework (CMF) built to save you time and work the way you do. With all custom fields, a secure foundation, proven scalability and performance, ProcessWire connects all of your content seamlessly, making your job fast, easy and fun. ProcessWire gives you more control over your fields, templates and markup than other platforms, while ProcessWire’s API makes working with your content easy and enjoyable. Managing and developing a site in ProcessWire is shockingly simple compared to what you may be used to. ProcessWire is widely trusted by web professionals for its exceptional consistency, stability and security; revered by web developers for its API that saves time and makes work fun; valued by web designers for its adaptability and flexibility with modern website/application content management needs; and loved by clients for its no-nonsense interface and ease-of-use in adding, updating and maintaining content. New versions of ProcessWire are released just about every week on the development branch.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              processwire has a medium active ecosystem.
              It has 836 star(s) with 186 fork(s). There are 67 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 13 have been closed. On average issues are closed in 19 days. There are 47 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of processwire is 3.0.210

            kandi-Quality Quality

              processwire has 115 bugs (0 blocker, 0 critical, 79 major, 36 minor) and 8807 code smells.

            kandi-Security Security

              processwire has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              OutlinedDot
              processwire code analysis shows 4 unresolved vulnerabilities (4 blocker, 0 critical, 0 major, 0 minor).
              There are 57 security hotspots that need review.

            kandi-License License

              processwire has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              processwire releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              processwire saves you 134023 person hours of effort in developing the same functionality from scratch.
              It has 140255 lines of code, 4857 functions and 829 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed processwire and discovered the below as its top functions. This is intended to give you an instant insight into processwire implemented functionality, and help decide if they suit your requirements.
            • Process a token .
            • Setup the attributes
            • Renders the module
            • Create a new database query
            • Gets the field input fields
            • Process resize image
            • Protected size helper
            • Clean CSS .
            • Return selector value
            • add a hook
            Get all kandi verified functions for this library.

            processwire Key Features

            No Key Features are available at this moment for processwire.

            processwire Examples and Code Snippets

            No Code Snippets are available at this moment for processwire.

            Community Discussions

            QUESTION

            CSS/less from header file only works on the index page
            Asked 2021-Feb-07 at 18:46

            Welcome to my first post. I've searched stackoverflow for an hour to find the awnser I need, but without succes.

            I'm currently creating my own website to test php with processwire and bootstrap. I am quite new to programming in general, but I have only three weeks of experience with php/processwire. I'm using this because I got an internship where they use it and I would like to create my own project in my spare time to speed up the learning proces.

            I'm using a separate header/footer file that I import in each template. I notice that my CSS that is imported in the header file only works on my home.php template and not on my other ones. The html/php from header works fine, it's just the css that isn't working.

            My files:

            • site
            • assets
              • less
                • styles.less
            • templates
              • _includes
                • _head.php
                • _foot.php
              • home.php
              • basic-page.php

            I tried:

            • Change to css instead of less
            • Changing css import with ../ instead of site/
            • Copying all content of home.php into basic-page.php to see if the problem was in the template.
            part of header: ...

            ANSWER

            Answered 2021-Feb-07 at 17:02

            QUESTION

            PHP redirect to page version based user’s location (IPAPI) and remember in a session
            Asked 2020-Jan-05 at 09:25

            I'm attempting to include some code in the head.inc file that will check if the page is available in the user's location language and if so it'll redirect to that page. Obviously this isn't a great for UX but alas my client is keen.

            The only issue I need to overcome is if the user has already been redirected then don't do it for every page... store the fact that the user was redirected and don't do it again until the session has ended. Something like that.

            I have written the code below but a) I'm unsure this is the best way to do it and b) it seems to get stuck in a redirect loop (which I thought I'd avoided by my second session check).

            I'm using the ipapi.com to check the user's location. I’m also using ProcessWire’s ‘$session’ which is effectively the same as PHP session.

            ...

            ANSWER

            Answered 2020-Jan-05 at 09:25

            Calling $session->redirect($url); before $session->set("lucentLightingSessionRedirected", "true"); appears to be your issue.

            Looking at the source code of $session->redirect() it executes:

            Source https://stackoverflow.com/questions/59571024

            QUESTION

            Unique integer from array on each refresh (from previous) using $_SESSION
            Asked 2019-Sep-25 at 09:26

            I'm needing the user to always get a unique integer than from what previous returned on last refresh of the browser.

            ...

            ANSWER

            Answered 2019-Sep-24 at 16:06

            QUESTION

            ProcessWire: Let users login using either e-mail or name instead of only name
            Asked 2018-Apr-13 at 12:12

            in ProcessWire admin you're only able to log in using your name (username) but as I'm using e-mail log in in front end I want to use e-mail for backend, too.

            How can I change admin login form to allow e-mail-address?

            ...

            ANSWER

            Answered 2017-Feb-27 at 13:35

            Here is the solution I came up with

            I placed those hooks in my site/init.php file

            Source https://stackoverflow.com/questions/42487154

            QUESTION

            Processwire, in some computers field values are not available
            Asked 2017-Sep-26 at 10:39

            This is a very weird problem, where i have a datetime field on a template, that returns null in some computers. I've tried in a same computer, with web browsers that never logged in in admin (just to make sure it wasn't about admin permissions over the field). I can only think it's a cookies/session issue, but still don't understand how this can happen on a field that comes from the $page object and not stored in cookies or session.

            I'm using ProcessWire 2.7.2

            ...

            ANSWER

            Answered 2017-Sep-26 at 10:39

            It seems to be related to locale, I realised it was actually coming from just one of the languages of the website instead of randomly happening. I fixed it simply by filling some translations but feels like a bug from repeater fields in multilanguage.

            Source https://stackoverflow.com/questions/46361390

            QUESTION

            validate a while loop
            Asked 2017-Sep-25 at 10:53

            i want to validate a form which contains of several input fields. most of them a simply text/numbers and work fine.

            for one part of the form i create several fields ('year' and 'text') and duplicate them via a while loop.

            it look like this:

            ...

            ANSWER

            Answered 2017-Sep-25 at 10:46

            Define your array outside of the loop,

            Source https://stackoverflow.com/questions/46403168

            QUESTION

            Processwire Add css class to page
            Asked 2017-Jul-26 at 07:31

            I there a possibility to add a classname to a page? I can't figure out how to implement such feature or if it already exists.

            I'm using Processwire 3.0.42.

            ...

            ANSWER

            Answered 2017-Mar-01 at 15:49

            Put something like this in your template where the body is:

            Source https://stackoverflow.com/questions/42531033

            QUESTION

            Check if Child is already in XML File
            Asked 2017-Jul-17 at 11:10

            I'm a bit stuck here. For the purpose of a Google map with multiple icons for different places, I need the data in a XML Format. The idea is to check whether an entry (identified by an ID out of Processwire) is already in the XML File or not. If it is, nothing has to be done. If it is not, it has to be added to the File. Also, if the id is on the XML File but not on the database anymore (because it had to be deleted), it needs to be removed.

            This is what I have so far:

            ...

            ANSWER

            Answered 2017-Jul-17 at 11:10

            You can simply access xml elements with the same syntax you would access arrays or objects:

            Source https://stackoverflow.com/questions/45016113

            QUESTION

            Lightbox only show's first image
            Asked 2017-Jun-23 at 10:12

            I'm currently working on a website with a lightbox. (Featherlight)

            Now the problem is, the lightbox only load's the first image, even when I click on another image, it still show's the first.

            You can try it yourself over here

            The code I used is

            ...

            ANSWER

            Answered 2017-Jun-23 at 10:05

            I am not sure how exactly Featherlight library works, but it is probably connected with HTML IDs. You can have each id used only once, but you duplicate id "mylightbox" for every image in foreach.

            Try to change the foreach to something like this:

            Source https://stackoverflow.com/questions/44718492

            QUESTION

            Custom sql export result in duplicate key error on import
            Asked 2017-May-19 at 08:55

            I've created a database export of my database using my own php script. To export the table structure I use SHOW CREATE TABLE, to export the contents of my tables I select everything that's in the table and than create a query from it that looks like this: INSERT INTO tablename VALUES (...), (..), etc. I save everything to a text file, first the create statements, than all the insert statements.

            When I try to import the text file with phpMyAdmin I get an error:

            ...

            ANSWER

            Answered 2017-May-19 at 08:55

            The problem is that your valuesToSql() method translates null values into empty string. In MySQL the unique indexes allow multiple null values being present in the index values:

            For all engines, a UNIQUE index permits multiple NULL values for columns that can contain NULL. If you specify a prefix value for a column in a UNIQUE index, the column values must be unique within the prefix.

            However, empty string is not the same as null and triggers the duplicate key error.

            Furthermore, your code translates all values into strings, regardless what the real underlying value is. This may cause issues if the target MySQL server has strict_all_tables sql mode enabled, since a string is not a valid data for a numeric field.

            To handle the null issue, I would check if the value is null and handle it differently:

            Source https://stackoverflow.com/questions/44064505

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install processwire

            If using FormBuilder, we recommend using only v0.3.0 or newer, but v0.4.0 or newer if possible.
            If using ProCache, we recommend using only v3.1.4 or newer.
            If using ListerPro, we recommend using only v1.0.9 or newer.
            If using ProFields, we recommend grabbing the latest versions in the ProFields support board.
            If using ProCache and you upgraded your .htaccess file, you should go to your ProCache settings after the upgrade to have it update your .htaccess file again. If no upgrades to your .htaccess file are necessary, then the ProCache settings page won't mention it.

            Support

            ProcessWire is more than just software, it is also a friendly community of web professionals dedicated to building great sites and applications, and helping others do so too. Please visit and join our friendly community in the ProcessWire forums, subscribe to our weekly newsletter for the latest ProcessWire news, check out our website showcase to see what others are building with ProcessWire, and read our blog to stay up-to-date with the latest ProcessWire versions.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/processwire/processwire.git

          • CLI

            gh repo clone processwire/processwire

          • sshUrl

            git@github.com:processwire/processwire.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Content Management System Libraries

            Try Top Libraries by processwire

            processwire-legacy

            by processwirePHP