Jump to content

Search the Community

Showing results for tags 'cms'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







  1. Hi all, I have what on the face of it what seems like a simple addition I want to add to a template, but im a bit stumped in how to achieve it. Basically I have a global page reference field that allows a user to order the output of a given template file. So this global field sits on its own template/page, and on it you can just order a list of named items, nothing fancy. Now I can use this order the front end no problem by just using the field name and a foreach loop. But I have no idea if that same output is possible within a different page/template within the cms. All I am wanting to do on this other template file is just output the content of the global field, just so that anyone on a page using the second template has the current global order for reference. Nothing fancy, doesn't have to do anything just display a list of items in the order set on the global settings page. I figured this would be fairly simple to do, as I have setup many textual type outputs for backend module configs however in this instance im not sure what I need to do to get similar output within the cms page using said template. I had thought hanna code might be useable but I can't see anyway to get it to execute from within the cms, albeit the page where you can set up the php snippet does do exactly that when you test it. Any ideas on how I could achieve the above? Screen shots of what im trying to explain incase it helps any. (Global settings ordering screenshot) (My attempts at outputting the above, on another cms page with Hannacode, where [[test]] is a snippet that just loops over the above and outputs it in a <li>) So is it possble to have the output appear there, as in execute the hannacode snippet [[test]] and show me the output like it would do on the frontend? Any advice would be much apprecriated.
  2. Hello, Upon reading these articles https://dev.to/maxlaboisson/an-introduction-to-api-first-cms-with-directus-open-source-headless-cms-9f6 https://snipcart.com/blog/jamstack-clients-static-site-cms I was thinking that PW can be used for a Jamstack or Headless CMS with no changes at all. You can easily create REST Api with PW or use the GraphQL module https://github.com/dadish/ProcessGraphQL So ProcessWire is an Open Source Headless CMS since 2010
  3. Hello All, Recently I have read a series of articles about some new terms like Headless CMS, Hybrid CMS and Digital Experience Platforms ( DXP). I cannot get a clear picture of these but I could understand that these are different from the traditional CMS as we use now, at least in theoretical level. Does any one here have any better understanding on these topics ? may be what / how we can apply these on the processwire CMS ? just for the talk
  4. Hi folks, Quick one. Is it possible to add a favicon to the admin/CMS area? Without messing with anything core? Thanks, R
  5. Hi, I'm working on a website where in the back-end in one template i have multiple page reference fields using the same conditions (parent and template). Is there a way if i selected a page in field A it won't show up anymore in the list of field B or field C etc? I was looking at creating a custom string but i couldn't wrap my head around it.
  6. I'm someone who has been developing websites for a while, mostly doing full stack .NET development and ASP scripting before that, while using Silverstripe and some other PHP frameworks for some smaller projects which worked well enough for quite some time. Now I have some time on my hands and decided to evaluate some different CMS options. Diving in as a newbie into: Wordpress Processwire CraftCMS After a short while I decided that Wordpress was out while I'm still evaluating Craft and Processwire. My question is, is there any interest here in reading about my experiences in trying to get the feature set I want up and running, with these other systems?
  7. I want the admin to select one of the child of a parent in "page reference" as radio buttons, but it comes out empty here is my hook in site/ready.php $wire->addHookAfter('InputfieldPage::getSelectablePages', function($event) { if ($event->object->hasField == 'childLinks') { $page = $event->arguments('page'); $parent = "parent=" . $page->path; $event->return = $event->pages->find($parent); } });
  8. Hi. I'm trying to figure out what might be the best approach when using PW for your CMS, but needing access custom tables. I know you can query your custom tables, so that's not my question here. What I'm trying to figure out is if I should separate an application from PW. Out of the box, the application I will be using has its' own tables and the app is built towards using those tables, so I don't want to rewrite the app to use PW, seems too much work. I do however want to use PW for the CMS and frontend where my users can add/update rows in those custom tables. Now the app itself can be connected from various devices on a handful of ports, so I'm expecting a high volume of requests to the app to a point where I'm seriously considering a dedicated server for this project. Would it be beneficial to create a whole subdomain just for the app and use PW to query the db? Or should I keep the 2 in the same db? Pros/Cons would be great here. Thanks!
  9. PW Admin doesn't really function without javascript, and my question would be, should we care? I think, however, either way it might be nice to add a "<span>Javascript doesn't seem to be available, therefore you may not be able to access the full functionality of the admin</span>" somewhere maybe?
  10. Hey Guys, One of my clients asked me to look at the options for a very complex website, what to use and how to do it. And to be honest i've been thrown in at the deep end a little bit. There is so much software out there and it's kinda hard to try everything out especially in combination with each other, so I thought I would ask if anyone had any experience with such a website and the tools needed to get it up and running. I think the things I'm tryin to achieve are to complex to build solely in ProcessWire since it needs alot of complex modules, but I would love your take in this This is a list of things I would like to achieve within the website: - For one, the website will need dynamic content: news articles, company listings, company profiles, Job application listings ( doesn't have to be a full recruitement module per se ) - Memberships. Two types of memberships, a paid subscription for advertisers/companies that will be listed. And a free membership for visitors with personal interests, interests logging and preferences. - Advertising platform. My clients wants to sell subscriptions to advertisers though a webshop, and place them on the site and place banners on the site for them according to fixed paid-for agreements ( ex. 30.000 presentations of the banner over a period of 2 months ). Here we'll also need to track click throughs and be able to supply documentation about displays and performance of the banners. For this I was thinking about Google's Doubleclick although I haven't found it what it costs on their website. - Marketing automation. My client is looking for a platform that handles marketing automation for the free subscribed members. We would like to be able to segments the users, and target them according to interests, and naturally follow up and our offers. It would make sense to be able to use the same platform for holding the user data, as not to have a client system in our CMS and have a seperate one in our Marketing Automation software. First I was looking for one system to do all of this, but I think it next to impossible to achieve that. So now I'm thinking a good and expandable base CMS with good integration options for 3th party platforms and modules. My goal is not to create all these modules myself considering the complexity of just one of them, but to create a nicely integrated system which covers all attributes using as much pre-exisiting systems as possible for fast delivery and having fully tested and functional systems. Have any of you ever built such a site, or have any ideas what kinds of CMS or platforms you would use to achieve it? I would love to hear your ideas! Thanks in advance, Bram Wolf
  11. Hi all, I got a Internal Server Error when accessing de /setup/fields in my back end... Also when i try to reach it through the page tree, i can't edit the 'fields' page, same error. I do modify a image field through the api, i don't know if that has something to do with it, below the code i use to upload an image through the api, I deleted the parts that are not important. If anyone can help me that would be great. To clarify; the code below works fine, my image and page is created as expected, the only thing is that I can't access my /setup/fields/ page in my CMS anymore due to the Internal Server Error. <?php if($input->post->submit) { $photoPage = new Page(); // create new page object $photoPage->template = 'photo'; // set template $photoPage->parent = wire('pages')->get('/foto/'); // set the parent $photoPage->name = urlBuilder($input->title_photo); // give it a name used in the url for the page $photoPage->title = $input->title_photo; // set page title (not neccessary but recommended) $photoPage->save(); // next: process photo upload // Set a temporary upload location where the submitted files are stored during form processing $upload_path = $config->paths->assets . "files/photos/"; // New wire upload $file_upload = new WireUpload('file_upload'); // References the name of the field in the HTML form that uploads the photo $file_upload->setMaxFiles(1); $file_upload->setOverwrite(true); $file_upload->setDestinationPath($upload_path); $file_upload->setValidExtensions(array('jpg', 'jpeg', 'png', 'gif')); // execute upload and check for errors $files = $file_upload->execute(); // Run a count($files) test to make sure there are actually files; if so, proceed; if not, generate getErrors() if(!count($files)) { $file_upload->error("Sorry, but you need to add a photo!"); return false; } //success //echo 'photos stored';exit; $photoPage->save(); //$session->redirect($locationPage->url); } else { ?> <section class="add-location"> <div class="container"> <div class="row"> <div class="col-xs-12"> <h2>Spot toevoegen</h2> <form id="add-form" action="" enctype="multipart/form-data" method="post"> <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $max_file_size; ?>" /> <div class="col-xs-12 col-md-6"> <label for="fileselect">Upload jouw foto:</label> <p> <input type="file" name="file_upload" id="file_upload" accept="image/*" class="inputfile" /> <label for="file_upload"> <span></span> <strong><i class="fa fa-upload" aria-hidden="true"></i> Kies je foto…</strong> </label> </p> </div> <input type="submit" name="submit" value="Upload" /> </div> </form> </div> </div> </div> </div> <?php } } include('./includes/foot.php');?>
  12. I recently had a revelation when building HTML emails, what's the difference between HTML emails, and HTML web pages? Other than the horrible table syntax, the result is the same, it's still HTML. This got me thinking why not use a CMS to help generate the HTML emails based on a template? Just like we using a CMS to help generate HTML web pages. We started by setting up ProcessWire (our usual CMS of choice) and added the relevent fields for the sections of the email. Then we took a previous email moved the content into ProcessWire and hooked up the code to pull that content back into the correct places. Repeater fields allowed us to have repeatable sections that are easy to add too, change order of or remove, giving us huge flexibility when a client changes their mind last minute. The speed of setting up and dealing with ProcessWire allowed us to go from concept to working prototype within a day. To use the emails, we just view source of the generated page, and copy and paste into the email system. Sometimes Litmus inliner is required to allow the email to work in Outlook, but we can run it through that before pasting into the email system. Future development could be integrating a css inliner into the generation step, to avoid using litmus inliner. Hope this helps show how ProcessWire can be used in a different scenario.
  13. Hello all, I'm new here in your community and working in my free time with Web desing & Development. I'm not many years in the web but I try for the best possible. Also I have not worked with ProcessWire CMS. However I have read enough good things about this the CMS I have a question but do not know if I'm in the right section here in forum, if not I apologize from administrators... I have a project and am intermediate in a Custom CMS from scratch and in a CMS eg the ProcessWire. I know the difficulties or the differences from a Custom cms from scratch, but would like to know if a CMS like processwire, I could create an corresponding Project similar with a custom cms... considered the ProcessWire a Powerful cms correctly Also a clarification on ProcessWire, the cms have based php Framework codeigniter or i do wrong; Thanks in advance
  14. Hi gang, Had a client request for very flexible layouts - imagine a page that you can adhocly add and remove widgets then add content to them. What strategies do people have for this type of thing. Usually I would create a set of templates, and add the fields to those templates. Or on a more complex site add some pages as widgets to a page. But to have a set of template "elements" and then choose them is beyond me.
  15. Hi there, I'm not sure if this is a setting somewhere, but searching for it returns a thousand results so not sure if it's related to front or back end, but my question is: When I add a new page (child) it automatically adds it to the bottom of the list of children. This seems to be the default setting. How do people feel about this and can you go about changing it? Cheers guys, R
  16. Hello, I just went through the PW tutorial for making a simple news system: http://wiki.processwire.com/index.php/Simple_News_System But after seeing the result, I'm wondering how this system would scale. Because right now, it seems like if you're creating a new page for each post, things on the administrative UI side will get messy really quickly : I just imagine a really long list of articles as pages under "News Articles" looking like a nightmare. I know I could modify the system so that each article displays a date, but still it just does not look pretty. So I'm wondering whether most of you use some system similar to what is described in the Simple News System tutorial, or if you use something else. If so, what do you use? Do you integrate something else into Processwire? If not, how can I make this simple news system more clean and feasible? E.g. is there a way to further categorize/archive the articles? I mean, I'm guessing that sites like http://www.cmscritic.com/ probably wouldn't use such a system for their powerful news system, would they? How did they do theirs?
  17. is it somehow possible to get PW running without SQL - maybe as a file based CMS, saving everything in a single(?) xml or multiple txt files? i know, there are a lot of downsides using files, but for some small projects it would be a great alternative!
  18. Hello I want to develop a cms and 2 apps ( ios and android ) for ibeacon Who can help, please contact me on mail : mihai.daniel.marius@gmail.com skype: midanius Regards
  19. Hello guys I'm new here! I've been working on this website that I've made with Foundation. I wanted to put a CMS in it so now i'm here! On my localhost the website works perfect. I've adjusted the Processwire CMS to my wishes and with /login I and other users would be able to change the texts on the website. So I thought I was ready to put it live. I exported the MySQL files. Created a new db. Imported everything. And via an FTP client uploaded all the files. The homepage works fine. But now whenever I want to login using /login which I changed /processwire to I get a 404 error: Not FoundThe requested URL /login was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. What am I doing wrong here? I've checked a lot of messages on this forum about the .htaccess file but I haven't got it to work yet and need help from more experienced PW users:) This is my website: http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # ----------------------------------------------------------------------------------------------- # Access Restrictions: Protect ProcessWire system files # ----------------------------------------------------------------------------------------------- # Block access to any htaccess files RewriteCond %{REQUEST_URI} (^|/)\.htaccess$ [NC,OR] # Block access to protected assets directories RewriteCond %{REQUEST_URI} (^|/)(site|site-[^/]+)/assets/(cache|logs|backups|sessions|config|install|tmp)($|/.*$) [OR] # Block acceess to the /site/install/ directory RewriteCond %{REQUEST_URI} (^|/)(site|site-[^/]+)/install($|/.*$) [OR] # Block dirs in /site/assets/ dirs that start with a hyphen RewriteCond %{REQUEST_URI} (^|/)(site|site-[^/]+)/assets.*/-.+/.* [OR] # Block access to /wire/config.php, /site/config.php, /site/config-dev.php, and /wire/index.config.php RewriteCond %{REQUEST_URI} (^|/)(wire|site|site-[^/]+)/(config|index\.config|config-dev)\.php$ [OR] # Block access to any PHP-based files in /templates-admin/ RewriteCond %{REQUEST_URI} (^|/)(wire|site|site-[^/]+)/templates-admin($|/|/.*\.(php|html?|tpl|inc))$ [OR] # Block access to any PHP or markup files in /site/templates/ RewriteCond %{REQUEST_URI} (^|/)(site|site-[^/]+)/templates($|/|/.*\.(php|html?|tpl|inc))$ [OR] # Block access to any PHP files in /site/assets/ RewriteCond %{REQUEST_URI} (^|/)(site|site-[^/]+)/assets($|/|/.*\.php)$ [OR] # Block access to any PHP files in core or core module directories RewriteCond %{REQUEST_URI} (^|/)wire/(core|modules)/.*\.(php|inc|tpl|module)$ [OR] # Block access to any PHP files in /site/modules/ RewriteCond %{REQUEST_URI} (^|/)(site|site-[^/]+)/modules/.*\.(php|inc|tpl|module)$ [OR] # Block access to any software identifying txt files RewriteCond %{REQUEST_URI} (^|/)(COPYRIGHT|INSTALL|README|htaccess)\.(txt|md)$ [OR] # Block all http access to the default/uninstalled site-default directory RewriteCond %{REQUEST_URI} (^|/)site-default/ # If any conditions above match, isssue a 403 forbidden RewriteRule ^.*$ - [F,L] # ----------------------------------------------------------------------------------------------- # Ensure that the URL follows the name-format specification required by ProcessWire # ----------------------------------------------------------------------------------------------- RewriteCond %{REQUEST_URI} "^/~?[-_.a-zA-Z0-9/]*$" # ----------------------------------------------------------------------------------------------- # If the request is for a file or directory that physically exists on the server, # then don't give control to ProcessWire, and instead load the file # ----------------------------------------------------------------------------------------------- RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !(favicon\.ico|robots\.txt) # ----------------------------------------------------------------------------------------------- # OPTIONAL: Prevent ProcessWire from attempting to serve images or anything in /site/assets/. # Both of these lines are optional, but can help to reduce server load. However, they # are not compatible with the $config->pagefileSecure option (if enabled) and they # may produce an Apache 404 rather than your regular 404. You may uncomment the two lines # below if you don't need to use the $config->pagefileSecure option. # ----------------------------------------------------------------------------------------------- # RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|ico)$ [NC] # RewriteCond %{REQUEST_FILENAME} !(^|/)site/assets/ # ----------------------------------------------------------------------------------------------- # Pass control to ProcessWire if all the above directives allow us to this point. # For regular VirtualHosts (most installs) # ----------------------------------------------------------------------------------------------- RewriteRule ^(.*)$ index.php?it=$1 [L,QSA] # ----------------------------------------------------------------------------------------------- # 500 NOTE: If using VirtualDocumentRoot: comment out the one above and use this one instead. # ----------------------------------------------------------------------------------------------- # RewriteRule ^(.*)$ /index.php?it=$1 [L,QSA] </IfModule> ################################################################################################# # END PROCESSWIRE HTACCESS DIRECTIVES ################################################################################################# What am I doing wrong? Thanks in advance! htaccess.txt
  20. Hi there, My site's URL is the installation folder. How can I make my site load the home page on the URL root? http://www.mysite.com/ instead of http://www.mysite.com/cms/ Thanks
  21. Hi everyone, I made a walkthrough of a web app I built using ProcessWire for the Tenova Group mining company. They needed an intranet application to keep track of their daily plant operations. I designed and developed a ProcessWire solution that would allow registered employees at Tenova HYL to record events regularly in an event log. Storing all of the events in this manner would allow registered users to find the events they're looking for using keyword search, date filters as well as filters based on other criteria. Each event also allows the user to upload supporting files for download, such as Word documents and PDFs, as well as upload relevant images to be displayed in a modal window. A high-performing, powerful solution using the ProcessWire CMS. Read about the project here in my portfolio. See the video here: Tina Holly tinaciousdesign.com
  22. jwaldeck


    Hi Everyone! I'm glad to show you guys my first Processwire project: http://www.ihera.com.br/ It's a simple yet tailor made website I did for a clinic specialized in women health in Brazil. We've designed/coded several templates for the backend, used the Skeleton CSS Framework (http://www.getskeleton.com/) to help making it responsive adn some some minor javascript to some pages - and of course, made it very SEO friendly with custom titles and meta description for each page. I'd like to thank Ryan again for this amazing tool! I've never done such a tailor made CMS (Wordpress, Joomla, Drupal, CMS - I've been there) that's so easy to use that my client didn't need more than 10 minutes of "training" and is super happy about the outcome and the ease of maintaining it. Simple, amazing and beautiful. Best of all: the code is clean and since you code the templates from scratch, you know exactly what is what and speed and great clean markup is an obvious result of it... Let me know what you think! Tks a lot! jw
  23. As someone who has only been in the web design industry for just over a year, I've spent much of that time learning. First of all, learning HTML, CSS, Jquery and then a very in-depth look at content management systems. I've been back and forth over so many of them. I finally settled on ExpressionEngine as it seemed to suit my way of approaching web sites - I code the whole thing in a static form, get it looking exactly how I want and then go about populating the content dynamically. Despite a few minor annoyances, I only really left EE as it wasn't viable for someone at my stage to fork out for a license for each project. When I found Processwire, having just learned very basic PHP, I was amazed at what could be done, it was (and is) seemingly an open-source, more flexible version of EE. I think it's fair to say that for any site that I can code 100% myself, I have found my favourite tool. I honestly can't see what could be better. I've already built a good few sites with PW and it was a purely pleasurable experience and I hope to build many more to come. There is however a need for me, a relatively junior coder, to find an alternative tool for some websites. The problem is, for me to hand-code sites that require extra functionality is not an economically viable choice right now. I find myself needing to be able to add 3rd party functionality to the very strong core that PW's API provides me with. I would love to be able to build my site how I want, pulling in the data through PW's API and then when I need to add newsletter functionality or RSS feeds or user systems for there to be a tried and tested add-on to be able to harness. I just don't have the know-how nor the application to be able to build them myself (at least not for the time being). I realize that this is something that PW is building towards with some very talented developers already contributing some modules but I'm not sure whether it is even in Ryan's intentions to keep building PW this way or whether it's main aim is to remain light and powerful and to let other systems take that approach. The one other system which seemed to offer real power but also incredible amounts of third-party added functionality was Drupal. I had already seen enough of Wordpress and Joomla to know that I didn't really want to be using them on a daily basis but I'd always been put off Drupal by its reputation as a complex system to theme. When I started to see some of its power though, I did get excited. RSS feeds were getting automatically populated, lots of top government sites had been built with it, if I needed to add modules, there were thousands of them - here was a proper, powerful system that I was willing to invest time into in order to harness its power so that I could build extensive sites in less time than it would take for me to hand-code. But by God it's hard work, I suppose there are very good reasons that it generates its own markup but after spending so much time with PW and EE before that, I find myself wondering why I can't just use the markup I want. I wanted to try and build a site based on the Twitter Bootstrap but no dice. Everything is rendered, there are fifteen wrapping divs around every element, just try not to "view source". It is no doubt though, very powerful. Of course, I could just keep my head down and carry on slogging through, but I feel as though I am at a tipping point. The reason I am writing here in the PW forums is that I have huge respect for this community, I do genuinely value all of your input, and I do honestly see myself as a continuing member of it. I wonder if PW will be able over the next few years to develop enough modules to mean being able to work with one system alone for most site builds. Failing that, do any of you have any thoughts on where you would look? A system with plenty of modules that is easier to use your own markup? Or just some general advice from anyone who's had the same questions or been at the same point in their development? Thanks in advance and sorry if this is out of place.
  24. (WARNING: long philosophical post, with no immediate problem solving needed. This is for the ones who might feel like discussing data modelling in PW) Hello! I'm about to start a new project and I ran into a structural problem that I'm not sure exactly how to get about (although I have an idea): I have a project where all data will be tag-based: the same piece of data will show up in different places on the website. In other words it will 'exist' in more than one place. The PW CMS interface is based on a hierarchy, where everything needs to have one (single) main location. I have no desire to expose myself to XSL again, so I'll be solving this project with PW instead of Symphony (getsymphony.com) – my previous CMS of choice. But I'll use it as a comparison: If PW is based on a folder/hierarchy metaphor, Symphony is based on a relational database model metaphor. Symphony has sections (=tables) that can be 'joined'. They can be joined 'visually' (inline editing) with github.com/hananils/subsectionmanager/. It gives almost the same separation between presentation and data as any other old mysql website but mouse-click data modelling. Symphony gives less help on how my url's should be structured than PW. This project wouldn't actually be much easier to solve with Symphony, I would miss the friendly url/template hierarchy. But a match between PW and the subsection manager (allowing true many-to-many) would be so awesome that the gods of data modelling would step down from heaven for high-fives. On a sidenote: To be honest I never quite understood why they (Symphony) decided to create a relational database on top if the relational database - instead of making the best CRUD known to man, but I'm sure they have their reasons. Anyway, back to PW: I could solve this by letting each entry (page) have a main location. Let the path = tag. So that everything is forced to have a main 'tag' (path). Then a second field with secondary locations, pointing to other parents where the item 'reside'. The problem is that there will be two manoeuvres that essentially mean the same thing: Physically moving the page, and 'tagging'. I could turn this into my advantage, though: Having a single main location is good for other reasons. There are formatting options that would only apply to the main location. So this approach is quite OK, and this is most likely what I'll do in the end. I'm just curious if anyone would have any thoughts on this. J
  25. Often deal with alot of differing fields on a edit page and was wondering if it would be possible to get a way of grouping fields within a template. E.g. title and body fields open, extra options group of fields closed containing other page fields, date, summary, etc etc
  • Create New...