Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/02/2015 in all areas

  1. Getting warmer....(OK, so my icons suck, but hey...we're 75% there. ).. Page Edit List View Page Edit Grid View Page Edit Insert Media ProcessMediaManager
    6 points
  2. wireshell 0.5.1 Changelog Adds log:tail command including filters --limit=, --text=, --from=, --to= Adds log:list command Improves new command, support for site profiles (path/to/profile.zip OR one of beginner, blank, classic, default, languages), autocompletion for timezone Adds field:list command including filters --all, --template=, --type= Adds list field:types command Extends field:create command, allow custom field types Extends new command: adds ability to specify version of ProcessWire --dev, --devns, --sha= Extends upgrade command: adds ability to specify version of ProcessWire --dev, --devns, --sha= Removes unnecessary empty state checks Removes command aliases for better list overview #36 Fixes wrong iso format Improves changelog format Adds field commands field:delete and field:tag Adds tag option for field:create command Extends user:create command, ask for password and email address Extends backup:db command, add option --target ... and there is a brand new documentation! If you use the develop branch, there is another documentation branch. Furthermore all the documentation files are inside the repository, everybody can easily edit them. It's written in markdown and uses a post commit hook to build the documentation.
    5 points
  3. Hi Tom Thanks for the order! I have messed up my email template (you are not first one that missed those). I'll send you download links again when I get to computer. Some of you have thought about customer portal etc. That is definitely possible to do. I have also talked with Ryan about having private forum for Padloper here at the pw-forums. I'll plan to release 1.1 version this month or early January (including one page checkout) and will email all customers then about new release and how to get access to it.
    5 points
  4. I am yet trying to encorporate this in my workflow, but deployer seems to be valid alternative to capistrano. And it is in PHP, so no need for Ruby. The developer is Russian, so that gives me a little pride. A lot of Capistrano maintainers are also my fellow contrymen - just to point that we not only bomb and confront . @pwired: There seems to be a web interface to deployer too. You can see it on the frontpage of offsite and the source is on github/ At least i think I saw it there.
    5 points
  5. I've created a group on Meetup.com for ProcessWire: http://www.meetup.com/Los-Angeles-Processwire-and-CMS-Web-Developers-Meetup/ (note: please don't join unless you're in the LA area or post cat pictures on the page) :: ProcessWire evangelist mode activated! ::
    5 points
  6. Not sure if I'm getting your question right, but why not simply check if the value of the field is an instance of PageArray: if ($page->field_name instanceof PageArray) { // iterate }
    5 points
  7. I'm currently working on a bigger project with migration files, like posted here: https://processwire.com/talk/topic/11382-migrating-modules/?p=106238. Currently there's no migration automation, but it keeps changes to the db manageable by source control. I just deploy by git pull and then run the new migrations manually.
    2 points
  8. I have been spending some long evenings building PadLoper. It is my personal project to challenge myself as a developer, but also something I believe ProcessWire really misses: a solid eCommerce platform. I am happy to announce, that I am not very far away from public release, so I did create a little teaser site and email list for all of you that are interested: https://www.padloper.pw/ As many of you now, I also have bunch of eCommerce modules called "shop for processwire". Those remain open source modules, but I am not actively maintaining them (like I really haven't since 2012). All the code in PadLoper is new and it's totally build from ground up. If someone wants to maintain or develop shop for processwire further, I am more than happy for that. There will be some open source components coming from PadLoper also: at least payment modules, but I might also open source the shopping cart module. Padloper released 4th October, 2015: https://www.padloper.pw/
    1 point
  9. This ProcessWire module allows you to import and parse XML files (using xpath) to create or update pages. [detailed instructions at github] Settings After successfull installation go to Setup > Import Pages From XML to start using the XML Importer. This module does not support all available field types. Nevertheless, I've refrained from restricting the supported field types because many of them should work by default. Xpath Mappings If you want to take advantage of references between fields in your xpath mapping then make sure the fields you're relating to are placed before the ones which need the relations. You can access and use any values/fields that you placed earlier in your file. Use $field_<fieldname> to match the desired value. Example: <?xml version="1.0" encoding="UTF-8"?> <songs> <song track="2"> <title contact_id="1">Some song title</title> </song> <song track="7"> <title contact_id="2">Just another song title</title> </song> <contact id="1" name="Sesmallbos" mail="info@test.org"/> <contact id="2" name="Sebigbos" mail="info@exam.ple"/> </songs> context: //song field order: title, track, contact_id, contact_name, contact_mail contact_id must be placed before contact_name and contact_mail first get contact_id : title/@contact_id then use that value as relation : //contact[@id=$field_artist_id]/@name as well as //contact[@id=$field_artist_id]/@mail
    1 point
  10. Hhm, this is right, in general. - But, if you use FTP from within a php script, you can use it for deploying. To execute scripts, you can A) upload individual scripts to the server (via FTP). and after upload, you can trigger the execution via HTTP. Accessing DBs also is easy. I have used php for a long time for syncing files on live and local servers. Scanning local project directory and collect last-modified + crc32 checksums, than do the same on the live server. - Hhm, I found an old script, - tested it and - surprise - it is still running! (I will upload some screenshots.) It originally was created in that times when webdev often was writing and deploying static html files, or maybe some php files but without a CMS, etc. (around 1998/99, for me) So, this is only in the context of historical interest.
    1 point
  11. @kongondo, Thanks for making this. i finally had time to test this out and it's very great - i'm planning to use it from now on for most projects...
    1 point
  12. Hello - I'm looking for a PW dev to help with some customisation of an already existing website. Based in Manchester. Couple of weeks work. Please PM me and I'll reply with contact details. Best
    1 point
  13. this looks great kongondo! have you thought about implementing the blueimp file uploader to it? it has built in preview (at least for mp3 and images) and supports client side image resizing. that's one thing i am missing most when it comes to image galleries! looking forward to trying this module
    1 point
  14. So here is a wild and possibly silly question, have you put thought in to media preview for documents and audio files? If I have a pile of audio files in a folder I think it would be the bees knees to be able to hit preview or something with a little ajax player...
    1 point
  15. I like writing/tweaking code and seeing the results after having refreshed the browser(s). I'm drawing it in my imagination... Pinegrow can help if someone is using Bootstrap or Foundation, for example.
    1 point
  16. A ProcessWire version is needed here: https://github.com/deployphp/deployer/tree/master/recipe
    1 point
  17. Ivan's post about deployer really motivates me to leave ftp for what it is and setup a virtual machine with linux. Probably antiX-13.2 (debian) because it is so fast and light. After some digging with google I found a real good and clear tuto about deployer for beginners: https://codereviewvideos.com/course/deployer-easy-php-deployment/video/introduction-to-deployer https://codereviewvideos.com/course/deployer-easy-php-deployment/video/installing-deployer After the first two video's you have to subscribe to see the rest of the video's but the tuto text goes on until the end. But I am happy to subscribe there as codereviewvideos made a good impression on me. Site is very easy to navigate, easy to read, clear layout/design/font. Easy to follow video's with clear spoken voice. (no I am not affiliated) I saw also video's there about gulp, vagrant, restfulAPI, composer, phpstorm and a Blog.
    1 point
  18. I like this module so much!
    1 point
  19. Don't worry about the icons, have you seen some of those many wordpress plugins?
    1 point
  20. Stop writing code, start drawing it ? Complexity of Web Design is only growing and no wysiwyg will ever surpass a Programmer/Designer. But maybe this one would be usable for fast mock-ups to show to your clients.
    1 point
  21. The module is not yet in the Modules directory but will be as soon as I FEEL it's stable enough (to be released as Beta ). I used it only in smaller projects so far but now I can test it on a multi-user site, so I expect hidden issues will come to surface. Plus I plan to add a few major feature (eg. add new page) so I will add to the directory when everything falls into place.
    1 point
  22. So far unable to reproduce this. With ProcessWire 2.6.20 dev (Reno theme) and PHP 5.5.21 mobile upload seems to work fine for me. The phone I'm testing with is Samsung Galaxy S6 Edge running Android 5.1.1 ("Lollipop"), and I'm using the native browser. One difference is that my sound recording app would only save mp4 or m4a, but this shouldn't matter at all for ProcessWire anyway. Edit: Did another test with a downloaded mp3 file just to be sure. No issues with that one either. Still unable to reproduce the issue.
    1 point
  23. I'm thinking of introducing Processwire on the local PHP Meetup
    1 point
  24. Awesome - would love to see more of these. Please let us know your experience with it - maybe some day soon there will be enough PW devs in my part of the world to do host one.
    1 point
  25. And "CYBER MONDAY SALE - 20% OFF all editions of Pinegrow". I wonder if I would benefit from using Macaw (not on Linux) or Pinegrow. Has someone tried/tested both? Macaw is a "cloud application", isn't it?
    1 point
  26. The Macaw thing is on sale (going for $49)...if anybody's interested...
    1 point
  27. While we're on the topic of Capistrano, I thought I'd mention a project called WordMove which I found recently: https://github.com/welaika/wordmove
    1 point
  28. v1.1.9 is out with a few important fixes and one small but handy feature: toggle edit link display using ctrl+shift hotkey. The module configuration was largely rewritten so please report if something goes weird. Main changes: - do not add Magnific Popup assets to admin (suggested by Matjaž) - fixed missing default values on module install - fixed default editlink text override issue - fixed: do not try to open Template editor if not SuperUser - added ctrl+shift hotkey to toggle editlink display - sanitize module settings inputs Btw, is template editing only available for SuperUser? I found no info on that so limited this feature only to them.
    1 point
  29. Do you have a hint for anybody who wants to automate this visiting task? I have a client with a rather small website that shall not be visited but downloaded by him and I would love to offer a one-click solution to him. If this can be done using ProCache I would love to buy the module for this project. EDIT: I do not know ProCache yet. Is it possible to add a hook on page save that somehow calls ProCache and automatically indexes the page after it has been saved? Thanks!
    1 point
  30. If you really want to use automatic deployment you need to do it the same way as in every other framework and not use any GUI at all for everything which needs to be created in the deployment. I recently created just a small process module, that does list all migration classes in a certain folder, which do just have a update and downgrade function. With the api and some small helper functions one can mimic the things you do in the GUI quite easily and you've the benefit that every change is also source controlled (and/or versioned). I'm currently using it manually, but these can also be called automatically by a deployment script.
    1 point
  31. Module Toolkit does exactly this, and more! https://processwire.com/talk/topic/8410-module-toolkit/ It's still not in a release worthy state - some functionality needs some tweaking - it's on my list, but you know how it goes Still worth checking out though as I think it should handle your needs very well. PS Welcome to PW and the forums!
    1 point
  32. Agreed, this project is top notch. He has been nothing but helpful on the several issues that I have had. This is really it for native sales through processwire, and the project could have no better leader. This is going to be an essential tool for anyone wanting to stay completely within the processwire ecosystem for their e-commerce projects.
    1 point
  33. yes, the helloworld tutorial is a good starting point! thereafter you can easily setup a kind of "sub-template-system" (how you call it) like this: this is the "default intermediate edition" profile - just install this on your dev-environment and read the files _main.php, _init.php and basic-page.php and you will understand how easy it is to setup very flexible and custom things with processwire! also welcome to the forum ps: actually you would only have to append "<?php" on top of _init.php and all your template files - everything else is ready to use!
    1 point
  34. Hi everyone, Just added some new features (not in the repo just yet), but wanted to get some feedback on a new name for the module. It still functions as a way to migrate modules and their settings from one PW install to another, but now also includes: batch download and install modules from a list of class names entered in a textarea field batch module updating Name ideas: ModulesManager wouldn't be bad, but already taken ModulesMigratorInstallerUpdater would be the most accurate, but obviously ugly ModulesInstaller is OK, but doesn't cover everything ModulesHelper ? ModulesToolkit ? Free like for any suggestions Here are some screenshots for inspiration: THE OPTIONS EXPORTING INSTALLING (FROM MIGRATED ZIP) INSTALLING (FROM LIST OF CLASSNAMES) BATCH UPDATING MODULES WITH AVAILABLE UPDATES
    1 point
  35. Where is the code being executed? It is in a template or somewhere else? When in a template, PW puts pages in a state suitable for output with a setting called output formatting. When output formatting is ON, PW takes care of making things output ready so text formatters are applied, dates look like dates (rather unix timestamps), and image fields that set set to have a max of 1 image are resolved to just 1 image (rather than an array of them). Based on the result you are getting, I would guess that $user has output formatting turned off. This would usually be the case in admin or command line API usage. You can check by doing this: if($user->of()) { // output formatting ON for this page } else { // output formatting OFF for this page } You can change the output formatting state by doing this: $user->of(true); // turns on output formatting $user->of(false); // turns off output formatting That of() function was added recently, so if you are using an older PW, you may have to do this: $user->setOutputFormatting(true or false);
    1 point
×
×
  • Create New...