Leaderboard
Popular Content
Showing content with the highest reputation on 08/27/2014 in all areas
-
UPDATE: 14.09.2014 We've launched lightning.pw! Create a new ProcessWire site in under 30 seconds with lightning.pw . Our new service will help developers to work together on a new site, enable new ProcessWire users to explore the CMS and you can now easily test a feature or module. Our goal was to replace the long localhost setups so that you can instantly start developing. Features Current launch features: Create new ProcessWire sites Choose between ProcessWire 2.4 and 2.5 or the latest dev version Choose a profile on installation We setup a custom subdomain and will provide you a FTP login for file access ProcessWire works as expected. Every feature (except PHP sendmail) works. Install modules, write templates and create new sites as you wish Dashboard to manage multiple sites Upgrade (or downgrade) ProcessWire with a single click Free Hosting for module developers. Planned features: Save and use your own installation profiles Custom subdomain names github/bitbucket integration Create snapshots of your site Free integration of minimize.pw for image compression Pricing lightning.pw is free to use. You can buy credits to expand a site after the free usage timeframe of seven days. Credits start at 3€ per month but get cheaper the more you buy. If you develop a customer site for an average of 6 months, you would pay 15€ for the whole development setup. If you think the price is high, please notice that we don't want to oversell our servers and that we want to build further features. If you have developed a free module for ProcessWire, you can contact us to get free hosting for your showcase or development site. Bonus: You can use the coupon code PROCESSWIRE to get a free month. Just enter the code under the Payment section on the dasboard. About The first intention for this project was our own need for a simple development solution. lightning.pw is build with Ruby on Rails and uses a custom written ProcessWire installer. We worked hard to maximize security and stability of the service. We create a backup of every site every 12h and can scale within minutes if server load increases. You can ask questions here on the forum or follow us on Twitter for updates (and maybe coupon codes ) Try lightning.pw and tell us what you think. We appreciate every form of feedback! --- original post --- I will keep this short. We worked on a new project for the last couple of days. Instant ProcessWire hosting for development, testing and as a showcase for ProcessWire. The idea was on our mind for over a year, rested when the community won the bitnami contest but was finally started when we needed a better tool for our internal development. Excuse my bad mix of Englisch and German and watch the short video that explains and shows the basics: The features includeInstallation of any ProcessWire version in under 60 seconds Complete setup of a profile for ProcessWire, you can select the profile FTP access to the /site/ directory Login to ProcessWire with your lightning.pw account Own and custom subdomains Complete ProcessWire where everything works as expected Secured and fast server, restricted access and daily backups. Every site is free for seven days and will be deleted afterwards, except if you choose to extend the site with credits you bought. Module developers can host a showcase/demo for free. Our plan is to get the best experience for PW developers and small teams. Maybe it will help ProcessWire grow or maybe it will just stay a tool we use for our own sites. We have a github/bitbucket integration, custom profiles and an export workflow on our roadmap. We would be glad to hear your opinions and your feedback on this idea and the current execution. What feature would really make this attractive for you?16 points
-
That modules issue mentioned above should be fixed now, though let me know if you still experience it. A few interesting mid-week updates for those following ProcessWire 2.5 development (aka the dev branch). Here are links to the blog post about it: The ProcessWire installer now lets you choose a site profile New site profile exporter is far better than the previous Support for append/prepend files on a per-template basis With ProcessWire 2.5 getting very close to release, we could especially use help testing out the new installer if anyone wants to give it a try.13 points
-
Added a few new sites from New Zealand to the PW directory. Real MTB Adventures Uncharted Wilderness Tours Springlands Veterinary Centre PW has made building these sites super-easy. Two of the above include tour booking systems made with PW pages and PW API, all very simple to implement. Loving working in PW. The above are very basic sites, but I'm especially enjoying developing more complex sites utilizing the slick API, creating and amending pages on the fly, dynamically creating PDFs, booking and listing systems, and credit/debit registers . It just works so nicely12 points
-
Hi everyone! I think we are might be heading into dangerous territory here. I don't think any forum should become a place for bashing another product. This forum has by far the best community I have ever experienced - let's make sure that as we grow that we keep it that way This thread is a bit of a mix - it sounds like there has been some PM'ing going on to suggest fixes, which is positive and helpful. I also think that some of the posts here about WP bringing down PW are probably in jest If one of us finds a site mentioned here that is vulnerable (no matter the CMS), I think the best approach would be to contact them directly (PM etc) with some advice on how to remedy it, rather than criticizing their choice of CMS. Point them to resources that will help them. There are several groups out there that identify security holes in a variety of software packages, including open source CMS's. They usually contact the developers first to ensure they have a chance to fix the issue before it becomes public. Certainly Wordpress has its issues for inexperienced sys admins, but it can be made much more secure with a variety of simple techniques that are widely available with a quick google search. There are even some plugins designed to block a variety of common attacks. But Wordpress is certainly not alone - unfortunately no system is immune to vulnerabilities, especially those that allows for third party plugins/modules. Above all, let's not come across as too superior - it might just bite us one day! Thanks for listening to my thoughts on this - I am not aiming direct criticism at anyone - just trying to establish a general approach to these types of topics. Any thoughts?11 points
-
To take diogos thought further. Replacing the repeater with a pageTable and using a page fieldtype with the "custom php code for selectable pages" option on the subpages should work.5 points
-
Some posts about other CMS's are the result of frustration I guess. (I have a few) But we have this remarkable framework called ProcessWire. We all have to know that we will sparkle even more if we don't bash anything, we don't need it. Not 'bashing' will suit us better. +15 points
-
I found another bug in a web that have passed me by private message (@videokid) . If someone wants to spend sites created on another system that is not processwire and starts with the letter w write me a private message. Edited: I did´nt mean wolf-cms.4 points
-
The reason we're in this forum is because we prefer Processwire. Each Cms has its own forum and community, I came because I loved the system and the community. Forgive my personal hatred that system (wp), my behavior was not the best.4 points
-
@adrian: You are right! I do not know why there is always a desire to compare to Wordpress. Drupal and Typo3 may be more appropriate targets . But I guess that frienly tone of Ryan's and others like yourself will help moving PW forward much better than any critisizm. Anyway, the whole mess started with Vizz trying to promote another CMS and her services in this and some other topics. As far as I know this is the first case of a kind. We should decide how to take on this: should we: a) just ignore hoping everyone here will not go for WP, or b) try to stop this kind of practice somehow. @Vizz: I think it is not fair and will not bring you any respect to promote another CMS on this forum. I guess you should reconsider your marketing strategy. Stay and participate as you wish, but try to use the forum appropriately, please.4 points
-
I've got a friend who lives in New Zealand and he says he wasn't joking about IT in general being a bit behind the times there when he took his dual core PC over there a couple of years ago, so it's not really surprising that customers there aren't wanting cutting edge. Not sure if this is still the case - this was just his observation when he emigrated and took his old-ish PC with him that due to cost people are a bit slower than other countries upgrading to the latest and greatest all the time - I'm not sure and it might just have been a local thing to where he moved to. No insult intended there, that was just the impression I was given and it does sound way more relaxed and chilled out too - I'm envious whenever he posts photos on Facebook I agree with doing what clients want though. It's a pain, you might not like it, but if they really want it a certain way then unless it's going to take you longer in terms of time then you have to give in at some point and just go with it. I was very late to the responsive design party but with the likes of Foundation and, more recently, UIKit it's not difficult to design a responsive site any more (I never got on with Bootstrap for some reason, probably because every man and his dog was using it ). Heck, I've only recently started saving myself time using SASS - though on a basic website the time saved might be a few minutes, it can add up over a year or quicker on more complex projects. My experience with responsive design is that it was once hard for me to understand and now with so many good frameworks I don't need to understand it as much, plus you have an excellent foundation (no pun intended) to build from so you can actually build quicker than normal. It takes a little while to get used to, but those few hours will be time well spent. I'm now building responsive sites almost by accident - using either of the frameworks I linked to you can focus on the desktop version and chuck in a few extra classes to make it do different things at different screen sizes later, or do it as you go along with very little effort. Sorry - I went on a bit longer than intended there but yes, it's worth looking into. I wouldn't say at this stage there's much you could do (or want/need to do) but it's worth bearing in mind if they want to update/refresh further down the line.3 points
-
I wouldn't build non-mobile optimized site at all (well, maybe some very specific application). And for the mobile optimization: responsive is way to go about 90% of times.3 points
-
I appreciate blad's investigations into the issue and PM'ing @Vizz to alert her of the problem. We should all be informed (and help to inform others) about the potential issues with the systems we use, or maybe considering to use at some point. I just felt that the tone of the conversation had started to cross the line from being helpful, towards the bashing of WP. I know I have been guilty of criticizing certain aspects of all of the big three CMS's in my discussions with clients. I just think those thoughts should be kept out of this forum. I think in reality it's a shame this thread exists in the first place - it's not really appropriate for this forum, but maybe I am over-reacting - from my experience here I don't think anyone here would really start a flame war about any other system - these forums just don't have that vibe3 points
-
Would it be an option to call on a external webservice/API? For example http://www.geonames.org has a lot of data (8 million placenames to start with) and a whole range of ways to query their data. http://www.geonames.org/export/ws-overview.html html If you have the countries and 'locations' yourself, it would be easy to use their search service to find places/cities within. Or they also have ways for postal code lookups. After that you can store the found data to PW pages if you wanted to, in exactly the way you want.2 points
-
Isn't that double: that you want in your company template a pagefield for the contacts, when you already have a companyfield in your contact template?2 points
-
I think the PageTable field from a recent dev version is likely a good option, but another alternative is: https://processwire.com/talk/topic/6102-batch-child-editor/ In the modules config settings you may want to disable overwrite mode (and maybe even Add mode). See the screenshot under 3. Edit mode - it allows for easy adding, sorting, and editing of titles, along with modal editing of pages, kinda like PageTable, but unlike with PageTable, pages that are added manually as children will also be available for editing via this interface.2 points
-
php.max_input_vars http://www.virendrachandak.com/techtalk/big-forms-and-php-max_input_vars/2 points
-
Hi Mikkelsen, Look at this TravelinLuxury It's presented here in the showcase as well. I just finished this travelsite using Processwire, including the FormBuilder module, Google Maps and lots of other functionality. If I could be of any assistance, just let me know.2 points
-
Hi all, I use Wappalizer extension a lot and many times I found a new cms or a tool just because I saw the icon on the browser bar. I think that having Processwire on Wappalizer could help in gaining it popularity (of course, mostly among developers or technicians). Like some of you said is not so easy to identify if a site is using PW, one can certainly hide the fact that is using it, anyway I think most of the sites that use PW has the metatag "generator" so this could be a good way to identify PW on a site. I think using the generator metatag should be considered a good practice, at least without indicating the version for security reason...obviously anyone should be free to remove it. What do you guys think? If we had to add PW to Wappalizer here's the link: https://wappalyzer.com/suggestions (I think this should be done by an expert since you have to specify the criteria for identify PW, and I only know about the generator metatag)2 points
-
Oh yes. This is exactly what I needed I can stay in the admin area for what I want to do AND filter, etc. using php and the API. I did build that first module. Fabulous. I am having a good look at other modules as well! Thanks renobird.2 points
-
+2 @adrian: I think you are not over-reacting! After reading #7 my blood pressure and pulse are getting too high for some minutes. (da muss man sich ja fremd-schämen) @blad: I find it good that you have helped with some fixes for those found security issues via PM.2 points
-
This is possible, of course. It's a "normal" ProcessWire after installation where you can access the /site/ folder. So you can create a new demo user, modify the config.php and then you have a showcase. It's also easier for developers to test a module against multiple versions of ProcessWire because you can change the version as you wish with a single click. So trying out my module in the latest dev? No problem.2 points
-
@renobird, I have to say thanks for making your post today. I read your post this morning and decided to finally create my first ever Process Module. It was easy and very addicting.' Best Regards, Charles2 points
-
2 points
-
$field = $modules->get("InputfieldMarkup"); $field->value = "Your paragraph text here";2 points
-
I don't know how familiar you are with Process Modules, but I posted a quick example a while back. Once you get started, they are super addicting. You can build just about anything.2 points
-
This module facilitates quick batch creation (titles only or CSV import for other fields), editing, sorting, deletion, and CSV export of all children under a given page. You can even provide an alternate parent page which allows for editing of an external page tree. http://modules.processwire.com/modules/batch-child-editor/ https://github.com/adrianbj/BatchChildEditor The interface can be added to the Children Tab, or in a new dedicated tab, or placed inline with other fields in the Content tab. Various modes allow you to: Lister - Embeds a customized Lister interface. Installation of ListerPro will allow inline ajax editing of displayed fields. Edit - This allows you to rename existing child pages and add new child pages. It is non-destructive and so could be used on child pages that have their own children or other content fields (not just title). It includes the ability to quickly sort and delete pages and change page templates. Also allows full editing of each page via a modal dialog by clicking on the page name link. This is my preferred default setup - see how it replaces the default Children/Subpages with an easily addable/editable/sortable/renamable/deletable list. Note that the edit links open each child page in a modal for quick editing of all fields. Add - adds newly entered page titles as child pages to the list of existing siblings. You could create a list of pages in Word or whatever and just paste them in here and viola! This screenshot shows the editor in its own tab (name is configurable) and shows some of the CSV creation options. Update and Replace modes look fairly similar but show existing page titles. Update - Updates the titles (and any other fields if you enter CSV data) for the existing pages and adds any additionally entered pages. Replace - Works similarly to Add, but replaces all the existing children. There are checks that prevent this method working if there are any child pages with their own children or other content fields that are not empty. This check can be disabled in the module config settings, but please be very careful with this. Export to CSV - Generates a CSV file containing the fields for all child pages. Fields to be exported can to fixed or customizable by the user. Also includes an API export method. Populating fields on new pages In Add, Update, and Replace modes you can enter CSV formatted rows to populate all text/numeric fields, making for an extremely quick way of creating new pages and populating their content fields. Predefined Field Pairings Like the field connections setup from Ryan's CSV Importer, but defined ahead of time so the dev controls what columns from the CSV pair with which PW fields. This is especially powerful in Update mode giving editors the ability to periodically import a CSV file to update only certain fields on a entire set of child pages. These pairings also allow for importing fieldtypes with subfields - verified to work for Profields Textareas and MapMarker fields, but I think should work for most others as well - let me know if you find any that don't work. Access permission This module requires a new permission: "batch-child-editor". This permission is created automatically on install and is added to the superuser role, but it is up to the developer to add the permission to other roles as required. Config Settings This module is HIGHLY configurable down to setting up custom descriptions and notes for your editors. You define one config globally for the site and then optionally you can define completely custom configurations for each page tree parent on your site. There are too many settings to bother showing here - you really just need to look through all the options and play around with them!1 point
-
This tiny module is intended as a helper for Ryan's Hanna Code module by providing a way to select existing Hanna Code tags within the editor. This is something I felt our clients needed in order to start properly using Hanna Code tags. See attached screenshot for details -- there's really not that much to it at the moment. Each editor requires it's own plugin and currently I've only cooked one up for CKEditor, where the plugin presents itself as a context menu item (visible on right click). I'm planning to expand the feature set of that one slightly and then probably convert the CKEditor plugin to TinyMCE, but that's just about it. Ideas are welcome, though. Some of the code is pretty much duplicated from Ryan's original module. I hope he doesn't mind -- though for the record I've also tried to make it very clear in the source what part that is and where it's from.. GitHub: https://github.com/teppokoivula/HannaCodeHelper Modules directory: http://modules.processwire.com/modules/hanna-code-helper/1 point
-
Hi I am thinking about offering a web development services in my country. I have many questions and I don't know where to ask but I think you guys could help me a lot. I want to offer simple websites that are easy to do in PW. Some simple websites for businesses, services, local businesses and so on. No e-shops, apps or too complicated stuff... When I look at websites that offer web development services, to me they clearly suck. I made some Google searches ... I can make a list of things that I could do better than them in my online presentation... some websites look like from 2002. Really horrible IMO... However, I still don't say it is going to be easy. I am good at HTML, CSS, SCSS, Foundation 5 - so designing a template is not a problem. I have not fully learned JS and jQuery, but have gone through them in CodeCadamy along with PHP, Ruby, Python ... so I have almost completed CodeCadamy. Foundation 5 offers many plugins that I am comfortable using, so I am not sure how much of JS/jQ do I need ... And also I still need to get comfortable with PW since I have not really even tried it. So here are my questions... 1. What coding knowledge should I make sure I have before starting? 2. I am a high school student do you think it is manageable to do about 2 simple projects a month? 3. What about webhosting? Should I get some kind of reseller hosting? Which is the best one? Mediatemple looks good to me. Many big brands use their hosting, so I figured it could be more high-end and reliable solution. 4. How would you recommend getting first clients? 5. Where can I learn more about communicating with clients, what question to ask, what to be careful about and so on? 6. What should I charge for simple website ? Some static pages, custom responsive design, contact form, Google maps, maybe a simple blog, CMS access 7. Any other tip that you think could be helpful? Thanks, Marek1 point
-
Take what Antti said, replace 90% with 99.9% and you've got my opinion. Anyway, reading this made me cringe; if that's your idea of responsive design, I'm not surprised at all to hear that you're not very impressed with it. Take a look at the RWD patterns library collected by Brad Frost and you might get a better idea of what it's actually about.. or listen what Google has to say about responsive design fundamentals. (In a way you might be right, as that's really what a lot of people are doing -- but that's just because they're doing it wrong. RWD is all about making things usable and future proof regardless of resolution, window size, (physical) screen size etc.) By the way, I liked your sites. Keep up the good work!1 point
-
In a rush so not the cleanest code, but this seems to work for me - is this what you are looking for? $p = $pages->get(xxxx); //id of page to copy $np = new Page(); $np->of(false); $np->parent = $pages->get(1); //set parent to homepage $np->template = "basic-page"; $np->title = 'test new page'; $np->save(); $np->images->add('http://'.$config->httpHost.$p->images->last()->url); $np->save();1 point
-
Perhaps this module would be helpful? My thought would be to make the contact association on the companies page with a page field, and remove the page field from the actual contact.1 point
-
Actually I see where you guys are coming from. If I have all the company details on a page, then I only need the company reference in the contact page in order to establish the relationship? Nope that is nonsense. sorry for the meanderings. Cant see how to delete a silly post.1 point
-
But if you want to add Bootstrap to an existing PW install, you really only need to grab the bootstrap files - put the css and js files in appropriate locations and then modify your template files to use the div structure and css classes that bootstrap requires to work it's layout. Shouldn't be too difficult at all if you are html/css savvy.1 point
-
This would be easier if you would use classic pages and the pageFieldType instead of repeaters.1 point
-
Which version of processwire do you run? If you use the 2.4.x dev version instead of the stable version you could replace the Repeater field with a PageTable field, which produces real pages, instead of the hidden ones that repeaters use. There would also be the option to buy the ProFields package in the store and use the ProTable field or the Multiplier Field. While this shouldn't be necessary, I've added these just for the completeness. Regarding the save issue, I can't help you, but I think that 150 is a quite odd number, this should be able to handle more. But I'm no expert, just wait for an more experienced answer about that.1 point
-
You can customize the wrapper code for the whole form, which is described here: https://processwire.com/talk/topic/2089-create-simple-forms-using-api/?p=39436 To add a class to one field use this: https://processwire.com/talk/topic/2089-create-simple-forms-using-api/?p=39375 To learn a lot more about the form api, read the whole thread What I want to know, if there's a way to only change the wrapper for a single field instead of the whole form.1 point
-
I have never worked with Processwire only with Wordpress and Drupal so I need to team up with a good programmer. The project is a travel agency website where you can get a lot of information about the destinations, cities, hotels etc. When you find your destination/hotel the user can request a price trough a formular. There are not going to be a option for credit card payment. The website needs to be responsive as well. Features Responsive website (The dekstop layout is done) Offer request formular (No credit card payment) Google map integration with a link to the description page Import price and description information for each hotel, destination etc. trough XML or CSV file. If your interessted I can send you further details. Budget: 3600$1 point
-
Thanks for posting back and sharing this from first hand. So, your approach confirms by fact what is written about wp that it's plugin system turns it in an unsafe cms and to stay away from.1 point
-
I hacked the Vizz site in 10 minutes. I told her how I fix it but I think it's a bad idea until you learn Processwire. W**** = insecure.1 point
-
This sounds awesome - I love the idea of being able to showcase modules - will it include admin access (in demo mode) for guests to be able to play to play with Process modules?1 point
-
Hello Horst, Thank you for the instructions on how to use the watermarkLogo it works really well, I used the second example above using the tools page - which also taught me a bit more about how templates and pages interact with each other. Thanks again - Mel1 point
-
1 point
-
Sorry to highjack the thread, but I had build a few forms yesterday and had the same problem. What I noticed is, that each field gets inserted in the same wrapper-elements, even the InputfieldMarkup. Is there a way to exclude some fields from getting these wrapper-elements?1 point
-
@Vizz, i'm interested to see what ProcessWire work you did. Can you please post some links from sites you've build ?1 point
-
Thanks for the feedback. I note your ideas @soma and @adrian. Update coming soon1 point
-
1 point
-
I'm not sure what PW version you are referencing but in the current dev version the search box makes use of the new Lister. By default the search box will only search 'title' fields, which in my opinion is a sane default. If you want 'advanced' search you can go directly to 'Find' via the top navigation. From there you can comprise a very detailed 'find' by applying filters. So 1-step is available. As an extra shortcut i wouldn't be against an 'advanced find' icon/link to the right of the default searchbox but i'm not sure this is needed. See screens for details:1 point
-
I agree — ProcessModules are the way to go. They might look intimidating at first, but if you start with a very simple example, they really are very easy. Here is a super simple example that lists all pages with the template "news". (I'm sure there are others out there, but it only took a few minutes to write so...) <?php /** * Simple Process Module Example. * This is a very basic example to learn from. * I have no intention of expanding on this sample module. * * @author renobird * * ProcessWire 2.x * Copyright (C) 2011 by Ryan Cramer * Licensed under GNU/GPL v2, see LICENSE.TXT * * http://www.processwire.com * http://www.ryancramer.com * */ class SimpleProcessModule extends Process { public static function getModuleInfo() { return array( 'title' => 'Process Module (basic example)', 'summary' => 'A very simple process module as an example on how easy they are to create.', 'version' => 100, 'href' => '', 'permission' => '' ); } public function init() { // initialize the parent parent::init(); } public function ___execute() { // Find some pages $items = $this->pages->find("template=news"); /** * Create a table to display results * There are other ways to do this using MarkupAdminDataTable module, but let's keep this simple for now. */ $out = "<table width='100%'>"; $out .= "<thead>"; $out .= "<th>Title</th>"; $out .= "<th>Date Created</th>"; $out .= "<th>User</th>"; $out .= "<thead>"; $out .= "<tbody>"; // If $items pageArray is not empty if ($items->count() > 0){ foreach ($items as $item) { $out .= "<tr>"; $out .= "<td><a href=". $this->config->urls->admin . "page/edit/?id=" . $item->id .">" .$item->title . "</a></td>"; // title $out .= "<td>" . date("F j, Y", $item->created) . "</td>"; // date created $out .= "<td>" . $item->createdUser->name. "</td>"; // user that created $out .= "</tr>"; } } else { // empty pageArray message $out = "<tr><td>No pages matching your criteria were found.</td></tr>"; } $out .= "</tbody>"; $out .= "</table>"; return $out; } } Usage: Install the module Create a new page under /admin/ Set the process for the new page to SimpleProcessModule If you have never created a module, just focus on the execute() method. Most of what is there is coded exactly as you might from a page template.1 point
-
I all, i have update the module. Some fixes for repeater fields plus the addition of Diderik (Thank you!) ADB1 point
-
Another thing is with this approach you get relations and not some hard coded values, so you can change things later without worry. You can use different inputfields for the page field, whatever suits better and you could even sort them. Also if you add Multilanguage to the mix you still get everything out of it even translated without any effort. You can use such tag pages to populate a select on the frontend etc. And it's always flexible on different levels. That's some of what makes PW really enjoyable for me.1 point