-
Posts
4,054 -
Joined
-
Last visited
-
Days Won
67
Everything posted by Pete
-
I like the fact that ProcessWire is attracting creative people who have skills other than web design and programming (not that there's anything wrong with us who fall into that category) - I mean it all helps in that it brings together people with different views, approaches and suggestions which can't be bad. Nice site - good job on the graphics as I'd be hard pressed to create anything like that myself, and I'll refrain from mentioning a spell checker until I check my own site
-
And by "unlearn" he means forget about the bad/hard way you used to do things
-
This page should help - it explains where the default templates are and how it works: http://processwire.com/api/templates/ Let us know if you need more help, by essentially if you split your template into header and footer areas and put that code into the head and foot files (see above link - those files are in the templates folder it mentions) and the middle of your template will depend on the page template (home, basic-page etc but these are the two main ones) so that code will differ from template to template. Essentially the link above gives you the basics but there is a topic titled "Small Project Walkthrough" in the Tutorials forum that may also be of help.
-
Hi there This page explains how ProcessWire's front-end templates work (what your site looks like): http://processwire.com/api/templates/ If you meant changing how the admin area works then click on te Modules link at the very top of this page and there is a section in the Modules directory just for admin themes. You will have to have some basic HTML knowledge in order to change the look of your front-end templates but as many people here can confirm you don't have to have much/any PHP knowledge to get started - just a willingness to learn the basics
-
I like this topic I had a similar grumble recently where I swore never to use Wordpress again and it was for slightly different reasons, but the end result was that it took me 2 minutes to install a certain module but then literally 2 days to work out what was conflicting and then make horrendously different stylesheets work together. I've done a lot f websites in that price range mentioned earlier. If it's a simple brochure-style site with homepage, services, gallery, testimonials and contact page then it's easy enough to build in PW to that budget and in that timescale. Once you've built a gallery and testimonials system (both just a bunch of sub-pages, so the work is displaying them in the template file so they look pretty) you've then got code to use elsewhere with minimal tweaks. The problem does come with larger requirements. I would be hard-pressed to get all the fields and search functionality of an estate agent (real estate) website set up so quickly so that could well come down to building it te first time and creating a profile afterwards for future sites but I would certainly need to take more time over it and charge the client more. It would definitely be worth it though! As mentioned in another thread the only problem I have then if it's something relatively complicated like that is that I'd be inclined to keep the code for myself or at least charge a small fee for the profile as otherwise you run into a slight problem of anyone with basic knowledge can easily install a full-blown estate agent website and you can end up with those relatively tech-savvy clients just playing companies off against each other for the cheapest implementation - a game I don't want to play. I'm probably just thinking the worst because I have a slight headache and that makes me grumpy - there certainly aren't thousands of people in the UK yet that know about ProcessWire so we'd hardly be stepping on each others toes, plus when I start thinking about this I think about that free Shop module and it makes me feel bad Putting my business hat back on, if I built an amazing site profile for estate agents and sold it for £20 (random figure), would people buy it? I think as ProcessWire has evolved there are the beginnings of a profitable ecosystem for module/profile authors where something is complex enough to warrant a fee that is reasonable and web developers don mind paying for to save many hours of work, but as with all these things it falls down the minute someone develops a similar module/profile and gives it away for free Sorry, I went off on a wild tangent there...
-
It is all possible to do in PW of course, especially with the right image library on your server (Image Magic will do more than GD and is install able on most servers) but that will be a longer-term solution as someone will have to write that module (preferably detect Image Magic and if its not there fall back to a lesser feature set using GD2). It would be an awesome module though!
-
My mind is now officially blown. I'm sure I might even understand it more thoroughly when I've had some sleep
-
Holy crap - cool module but also this is the first I heard of AngularJS and their demos on the project's homepage are pretty cool!
-
Module Dev- IDX for Real Estate Websites
Pete replied to GGSuper3's topic in Module/Plugin Development
From what I can gather from the video in my previous post, no data seems to be stored locally - it all comes from these central feeds on the fly which is interesting, but if it were me I'd love to see stats like who clicked through on which property and I assume there's data on which property belongs to which real estate company. The whole point seems to be that there's a central feed of data from various Estate Agents (to use the UK term ) and as an agent yourself you get paid commission somehow from listing other agent's data. I can't wrap my head around it just now but it's getting late so it might all click tomorrow, but if there's no local stored data and we're talking about pulling in data from an external source and simply formatting it against a template then this is ridiculously easy and technically you wouldn't need anything as fancy as a CMS even since your own properties would be listed on this central feed (IDX if I'm using the correct acoronym) anyway Of course the advantage of using a CMS like ProcessWire for the rest of your site is obvious, but pulling in these feeds and not storing anything locally means you don't get the benefit of the PW API to easily manipulate the data - you're back to basic PHP. That's not to say that you couldn't create something that lets you manipulate the data in as easy a way as the PW API - I'm sure I saw an example of a module that added on API functionality but can't find the link - it's just that I'm not sure how to do if off-hand. It would certainly be neat to be able to have a module parse this external data and allow you to do something like this in the property list template: <?php foreach ($properties as $property) { echo "<p>Address: $property->address</p>"; echo "<p>Price: $property->price</p>"; echo "<p>" . $property->images->first()->url . "</p>"; } It's easy enough to do this in normal PHP, but in an ideal world the module would present a lovely PW style way of accessing the data The ideal module would allow you to set config settings to the relevant feed URL (assuming all the feeds are supposed to have the same structure) and set up the templates and pages for search results, property details etc. My only worry with this sort of thing is we're in the territory of commercial modules I think - the folks behind the module in the video I linked to make a reasonable amount of money every month by selling that module and whilst it would be nice to blow open whole markets with free modules for all I'm a believer in trying to make a profit from modules like this where there's a huge market (dozens of estate agents in every town/city around the world) and I assume estate agents turn a decent enough profit if they're shifting property at a reasonable rate? -
Just tried this on 2.2.10 (dev) and no buttons appear either on local hosting or live site Then I realised it was because I had the CropImage set on that field. There could be cases where you would want to do both (CropImage to control crop aspect ratio) but I guess there's no way to then selectively remove the crop tool from PixlrEditor since it's third-party.
-
Here we go: http://processwire.c...03-pixlreditor/ I did have have a sneaky suspicion as I was typing that someone might have done this and it turns out I even replied in that thread - my memory is rubbish! Looks like you said you were going to do something there in that last post ryan.
-
Module Dev- IDX for Real Estate Websites
Pete replied to GGSuper3's topic in Module/Plugin Development
Well I've just watched the video here: http://spotonconnect.com/wordpress-idx/ I'm interested in doing something myself for the UK and the INEA would seem to be my point of contact (they're suggesting the above service). The only thing I'm not sure about Grant is where the data comes from? Surely it#s querying some central web service, but since my plans are at the pre-planning stage () I don't know how it all works - but I'm keen to find out! -
I would actually suggest a third-party image editor that could somehow be included as a module. I get the feeling it's been suggested before, but I saw this one recently from some of the Picnik devs (Picnik got snapped up by Google it seems and integrated into Google+) who decided to build their own app and thus we have http://www.picmonkey.com I've seen this in another piece of software and it's pretty neat - basically the picture is sent to the Picmonkey service and you edit it there, save it and it passes the image back to your system - ProcessWire in this case. There's an API to facilitate all of this: https://docs.google.com/document/pub?id=1OhlOYcCvJiV44c13XpDx0HJV3UArKgRya3lq_Ahr5T0 All that said, I'm not sure how you would even begin to go about it, just that a full set of tools via a module would be nice to have even if it does go third-party for the editing process.
-
What would be the most useful tutorial? A basic business site with gallery or something? I'd be tempted to get a layout from Themeforest for a few dollars and have a crack at this myself. It just gets a bit more complicated when you get to a blog as there's two ways - using the blog profile or implementing a blog into an existing PW site.
-
Ah, next problem is that the new version fails to store the name, email address or message
-
Sadly that didn't work Okay, that's freaky - I then deleted the uploaded wire folder from the dev branch, re-uploaded it and now it works. I swear I tried deleting the cache several times before. I guess the FTP upload could have been interrupted. Oh well, works now!
-
jukooz asked me a while back how to stick the sitemaps into a template as he's using the multisite module and currently I guess that this module will pull the sitemap for EVERY site on an install...? This should work on a per-site basis having it in a separate template file per site as a workaround for now, but pay attention to the comments please as there are things to change per-site - please also note that this is un-tested and largely just pulled from the module and tweaked for pasting into a template for use instead of the module: EDIT: See attachment as the forum software tries to parse a URL in the code : sitemap.txt I've also updated the module (see first post) to v1.0.3 to check if the page is viewable before including it in the sitemap - I noticed that it was incorrectly listing pages that had no template file... oops!
-
Thanks ryan Works locally, but when I try and upload the new wire directory from either the master or dev branch to my server I get an odd error: 2012-11-18 11:03:34 ? http://www.mytsite.com/?/ Compile Error Cannot redeclare class SessionLoginThrottle (line 17 of /home/mysite/public_html/wire/modules/SessionLoginThrottle.module) I'm sure it must be a hosting issue since it works locally, but any ideas what could cause that?
-
Hi chaps I noticed that if the user refreshes the page the comments get added ad infinitum. Is there a simple check that can be done to: Stop the user posting the same content twice in a row (presumably grab their previous comment for a page and check the content isn't exactly the same Build on that and add a time period that must pass before they can add a comment to the same post or another post (thinking 30 seconds for both is pretty standard, but would be nice to have the option to have them separate) Currently I have it set to require approval if they have not posted before, but let their posts through after that - very brave of me - but the message is the same both times - "thank you for your submission". Can we change the message so if it's pending approval it actually says that so they're not tempted to refresh the page as that's what I did I'm not sure whether these have been suggested before so any input is appreciated.
-
I think that that was one of the side-effects - so every time a page is saved in a certain version of this module it sends the tweet (so if you edit it). I think this was due to a change in Twitter as previously they didn't allow identical tweets, but they do now - there are some cases where it makes sense in fact but not in our case.
-
Repeating Events: Multiple Dates/Times for Datepicker?
Pete replied to renobird's topic in Wishlist & Roadmap
Every time I think about making it AJAX I forget the more complex inputfields - totally understand it when you take into account the other types. Thanks for the explanation ryan! -
Dave is right that if you increase the number of connections in your FTP program it can go a lot quicker. Some hosts limit the number of simultaneous connections but on my servers I frequently increase it to 20 connections and that allows it to go 20 times faster than with one connection obviously.
-
Repeating Events: Multiple Dates/Times for Datepicker?
Pete replied to renobird's topic in Wishlist & Roadmap
Back to repeaters a minute - I think that a little AJAX would vastly improve the "flow" here. If it were altered to show a loading icon when you add a new item and then load it via AJAX without reloading the page then I think that that would be preferable if it's possible? I think the reloading can feel a bit clunky if you are using repeaters a lot, as can setting it to automatically set up X default repeater items when you're rarely sure how many you might need. -
I'm only half following this, but could this mean that eventually adding a page isn't a two-screen process? If the page is just assigned an ID to start with and the name field is the same as the ID (or something like "page-ID" so you know someone's not actually trying to call the name as the ID on purpose) then it could actually set the name field correctly on the next screen with the rest of the fields once you enter a title. So in pseudo-code: if name == page-{ID} and title != '' then name = sanitize(title) Did that make any sense Ryan? I'm only thinking this because I have found that a few people have asked why creating a page is a two step process. Whilst this is done for reasons outlined in this thread and elsewhere, it would be nice to have an option to make it a one-step process if that's where this conversation might be headed. (Not suggesting that those people found it difficult to use a two-step process as there is currently of course - once you explain it it's pretty straightforward). Of course the biggest pitfall for this is if someone then clicks off the page without saving then they have a page with no title and a name of "page-ID".
-
I'll have a look at it at the weekend when I'm back at my PC but it should be possible and I think I have a newer version with this in already. I really need to remember to look at this as it looks like I was going to back in March!