Jump to content

Pete

Administrators
  • Posts

    3,994
  • Joined

  • Last visited

  • Days Won

    64

Everything posted by Pete

  1. I was dragging them from the list of images further down the page - so upload one, save the page, scroll down to the images beneath the other fields (I'm on the default PAge template here) and drag a thumbnail into the editor
  2. Yup - it wasn't a major issue for me, just a little unexpected.
  3. That's good to know. Just another quick on on picking a username and password when installing - when I typed in the password it was a normal input field and not a password one (as in the password was displayed in plain text). Not sure if this was in v2 or v2.1 as I've installed both in the last 24 hours, but it's worth double-checking that code just in case - the stupid autocomplete built into Firefox picked the field contents up right away and stored it so that's not good.
  4. It gets trickier than that with other software - the majority of forum software allows some symbols as well and even character codes to create funky member names in some cases. Certainly uppercase, lowercase and numbers are the norm from what I've used in the past.
  5. Off the top of your collective heads, can you think of any reason why I shouldn't upgrade jQuery and the jQuery UI to the latest versions? I'm in the process of looking at cobbling a new image/file upload module together and incorporating this at the same time: http://aquantum-demo.appspot.com/file-upload - the requirements for that are that it needs jQuery 1.6+ and UI 1.8+. The plan is initially to see what I can do on a per-image basis (each image is separate as per the current setup) with a view to possibly expanding it so that you can upload multiple files at once. The thinking behind trying to incorporate something like this is to be able to handle larger files better. Some people who are editors on sites I've worked on don't know much about image resolution for instance so would upload a huge photo - ProcessWire 2.1 can now set the maximum size of course, but without some sort of upload progress bar some site content editors get confused, think somethings broken and click off the page before an upload is complete. Also, for large files uploaded for a file repository, it's just a handy tool. I quite like the uploader I linked to as it doesn't appear to require Flash and seems quite streamlined, however I'm also tempted to try and get Uploadify working this way as well. Future expansion (assuming I get the basics sorted) could include a modal box for uploading multiple files (closing the modal would update the image/file list - it works pretty well in my imagination) but I'm getting ahead of myself again.
  6. No worries. Just thought of an amazing use of the page fieldtype - just for reference the site I'm tempted to convert to PW at some point is http://www.strategycore.co.uk - pretty much everything there aside from the Forums and Files sections is run on MODx with a bunch of custom snippets and templates - specifically the Articles and Databank parts of the site which at a quick glance at I'm sure you can see how simple it would be to do the same sort of structure in ProcessWire (took me a LOT of coding of snippets in MODx to get everything playing nicely together). Since a lot of the pages reference each other, this is ideal - behind the scenes is a section for Companies, and for each game it references companies for Developer, Producer etc, and similarly in the Articles section each article has a field for which game it's associated with and so on. I'm getting a bit excited about the possibilities, but lack of free time and other commitments mean it'll be a while before I realistically get time to look at setting up a PW installation to move all of that content across. Hopefully I'll get the chance to get stuck with it on a commercial project first - probably wiser if I start with something less complicated anyway to get my bearings!
  7. Wow - thanks ryan, that video looked awesome - as you say not exactly what I need just now but every new thing I see about ProcessWire gives me ideas for use in other projects and makes me wonder why other CMS'/CMF's haven't thought about things like these before. Not to boost your ego too much, but so far it's like you're reading my mind before I've even thought of the next problem. It's almost creepy :-\ ;D
  8. Just another quick thought on images in pages - having one image per row in the editor keeps things nice and clear and allows for a larger description field, however if you're whipping up a page with screenshots on it for example and have 40 images it's a lot of scrolling down. What are people's thoughts on having it as 3 images per row or something like that? I know it's not as easy as all that and would require some code changes, especially in terms of dragging and dropping to re-order them, but it might be a more useful default. Just my opinion but I'd be happy to hear yours As you might have noticed from my posts I spend a lot of time thinking - "what would the end-user think?". Makes you come up with some silly suggestions sometimes, but end users are a silly bunch sometimes as well
  9. No worries. Although I realise 2.1 isn't "final" yet, a simple alteration to avoid confusion would be for the message to specify that you can't use uppercase letters as at first I thought I'd got a space or other random character in the username before trying lowercase letters.
  10. I think in the first instance what I'm going to be doing is running a PW site alongside Invision Power Board. In this case I don't have to worry about duplicating member names and IDs in PW as they'll never change in the forum software, so literally all I need to be able to do is start typing a member's name and have autocomplete do the hard work of getting username and ID from the IPB database, storing the user ID in a plain text field in PW. I'll have a tinker and see what I can come up with, but it might well take me some time to get used to PW since I only downloaded it yesterday
  11. Hi folks Just a couple of quick queries regarding field types. Firstly, is it possible to have a select dropdown field where it gets the select options from the results of a database query? If so, could someone point me in the right direction as to how to go about it? And secondly, for datasets that are quite large you could end up with a MASSIVE list the above scenario becomes less practical, so has anyone thought about how you might do an Ajax input field whereby you start typing someone's name for example and it does one of those nifty autocomplete thingys: http://docs.jquery.com/Plugins/autocomplete - the obvious issue here is how you then save the key (in this case I guess the user ID in the external database) to that field. These are just tow examples I can think of that would be very handy if they don't already exist, and in both cases I'm thinking specifically of an example where it's querying a non-PW database (trying to make different systems play together - specifically I'd like to query some fields from forum software if possible).
  12. Okay, just tested the original issue I was having in PW2 and just installed PW21 and I'm experiencing the same issue. I thought when you inserted an image into the page content and scaled it down it was supposed to create a separate thumbnail (I could be wrong)? Whether I link it to the larger version or not, it still doesn't create a separate thumbnail image which I think it's supposed to. The attached screen shows that the thumbnail (after I saved the page) is just the large image (600px wide) scaled down via width and height attributes. For info I'm testing on XAMPP.
  13. Okay, so it's not the end of the world or anything, but when I installed the latest version of v2.1 it complained when I tried to create a user account that had uppercase letters in it. Any chance this could be made a little less strict - it let me type my name in v2
  14. Hehe, dunno why I even tried doing that but I did and when it worked I assumed it was intentional It's certainly something else that's a bit cool to show off to clients and, more importantly, potential clients - they love the flashy stuff even if it's not all that important.
  15. Thanks apeisa - I'll check out 2.1 as well then. Also thanks for the speedy reply - something tells me you're subscribed to be notified of new posts. Or you sensed a disturbance in the Force. One or the other
  16. After playing with uploading images, I'd like to suggest a few things - some of these may already be possible but I'm not sure as I've only just started using the software so please bear with me: The ability to set default thumbnail sizes in the backend editor - either globally or on a per-template basis would be nice so that content editors don't need to resize thumbnails manually if there's a preferred size When editing an image to set a link to the larger image, it would be nice to have a box with width and height in a bit like the TinyMCE editor has by default - it's very hard to drag the image to specific size such as 160px wide whereas typing it in would be easier Perhaps the option to have any image dragged into the editor create a link by default - maybe even the option to have a combination of the above so that you could set up a template for content editors so that as soon as they drag in an image it's the right size and pre-linked to save them work. Of course all that could be on a per-template basis A maximum image size setting - everyone knows someone who doesn't know what "resolution" means and will likely upload a 3000 pixel wide photo. It would be nice to be able to set a maximum resolution so, on the off-chance someone does upload a large file, the default image stored on the server is resized to fit in with this setting Granted these might sound like very specific things that not everyone would want, however I wonder if they could be considered for a future release or some sort of module (he says not knowing how modules work yet ).
  17. Oh, and good work - I like what I'm seeing thus far!
  18. Hi folks Just testing out this fine looking piece of software - it's initially to build a website that will partially serve as a directory with many categories requiring many custom fields, so imagine my excitement when I looked through the demo site and watched the video I've just been playing with uploading images and think I may have encountered a bug. If you upload an image, Save the page, then drag and drop that image into the editor without resizing it, when you save that page and view it the thumbnail is actually just a scaled down version of the original file - ie. it's the original file and the system doesn't appear to have created a thumbnail, despite the fact that the version you drag in is smaller than the original file. It was only when I actually went to resize it in the editor that it created a thumbnail. So, if you're following me so far, it seems like it's not checking if it's different than the original file dimensions unless you actually change the thumbnail size in the editor.
×
×
  • Create New...