-
Posts
1,147 -
Joined
-
Last visited
-
Days Won
4
Everything posted by onjegolders
-
I've been reading snippets of this book and have to say it's excellent so far. I've never really considered reading books to learn code, yet it's what most people seem to do. Can you recommend reading books for learning code in general? I always imagined it would be better using online resources/videos but think I may give proper books a go...
-
Good interview Ryan. Confident in your product, I like that. And so you should be
-
Looks really cool Nico, now we need one of you genius to build it!
-
finding/deleting/reducing in size unused images
onjegolders replied to onjegolders's topic in General Support
EDIT: This doesn't appear to be working on some images, not quite figured out why. Could it be because I've since added max dimensions to the field and these existing images technically are invisible because they are larger? (although they still show in the site) -
finding/deleting/reducing in size unused images
onjegolders replied to onjegolders's topic in General Support
Thanks Jeff, though I was looking to see if I can find a way in the API. Soma thanks for that link, that's exactly what I was hoping for! -
Hi guys, Have run up against an out of memory issue with a site I built a while ago. The problem appears to be that there are just too many image uploads with images in the 1.5MB range (gulp) I hadn't added MAX settings. I'm just wondering if there was anyway of accessing those images (the ones not being used) and deleting them in the API or alternatively, resizing the ones in use. As I see it currently, my only option is to download the whole assets folder, select the images and apply a batch resizing job on them in Preview, before reuploading the same file structure. Could there be an easier/faster way? If not, will just get on with the job! Thanks
-
Thanks again
-
haha so simple! actually just tried $page->files->last()->filename and the email sent with attachment. Thanks.
-
Thanks Soma though i did try an image outside of the pw file system. How would i get the path to the file using PW, any ideas?
-
Thanks both of you, they're both good options, I had temporarily used $_FILES["size"] but will definitely take a closer look at your example Soma. I'm now getting stuck trying to send the file as an attachment from the same template, the email is getting sent successfully using PHPMailer but the attachment's aren't sending. Have you ever had any issues sending email attachments through PW? I've tried using the $_FILES temp path as well as the actual $page->files->last() which has just been created on the same template but neither send the attachment. I've also tried using just a test file and that's not sent either. Have you had any experience of this? This is the code I'm currently using: https://gist.github.com/anonymous/52b06e0b0dc8f9e5c9d9
-
Hi guys, just wondering if there is a way of limiting the size of a file being uploaded through Wire Upload rather than server-wide? EDIT: Am also wondering how to output any errors the WireUpload should be outputting.
-
Yep, I'm starting to think you should be made official archivist and editor and everything has to come through you!
-
Hi Joss, you'll find loads of that information littered around the forum. Certainly lots of custom login, page creation API stuff. The testing if user is logged in is probably the simplest part, you're looking at a relatively simple if/else statement. For content creation/editing, you're looking at creating HTML forms and you can use the current value as <input value="" /> just be sure to look into sanitizing the form data. I've already created a create/edit/delete students front-end system and am happy to share if needed. It's fun doing it and nothing too complex.
-
Still not quite sure why I'd want to code in the browser currently and rely on internet access. Can someone put forward some pros/cons to this approach vs the usual MAMP local dev? PS Congrats Luis! Edit: Also what about https://c9.io/ - looks very interesting too, just not sure about the whether to change my whole workflow.
-
You big tease
-
Great work though, I'm seriously impressed!
-
I don't think it would need to dominate the design at all. You're talking about ticking boxes or multi selecting then a select box with a context menu. It's all about being efficient in handling the content and fields/templates. If you think about it, it's a huge part of what the CMS is: Adding fields and templates, creating pages, updating them, publishing them, unpublishing them, deleting them, changing user access. Surely being efficient at all this is the system's "bread and butter". I think the various modules help plug a gap but I don't see this sort of functionality as occasional or project-specific and hence I see it very much as part of the system core.
-
Amazing work Luis! Auf Englisch?
-
So if a client had to add 15 events or delete 20 users, then they shouldn't be able to do it? This is the bread and butter of creating, editing, deleting data, surely this should be very high on the list of priorities?
-
I agree, you can use API for all these tasks but that's a very strange way to do it in my opinion. These are all operations you want to perform in the admin, surely? And you want a reasonably responsible client to have access to it too.
-
You may be right Philipp, but I feel that it's something that should be in there. PW is by far and away the best system I have ever used and I find this exclusion surprising, considering how prevalent it is on most other systems.
-
Batch allow template edit access to new role
onjegolders replied to onjegolders's topic in General Support
In my head, I'm seeing checkboxes and at the bottom a "With Selected" submit button. So it may be a list of pages, templates, permissions. The point being a way of performing several identical actions at once. At the moment there are several (good) modules which perform part of this but I really think something in the core would be best as with other systems (Symphony, Wordpress etc) -
Cheers, looks interesting
-
Thanks Horst, I have to say though I'm sure there are technical advantages to what you advocate, I have had no issues using Dropbox in the last couple of months. All my important stuff is synced and backed up to the cloud. Dropbox's versioning has already helped me out when I overwrote a style.css file by mistake and when I need to collaborate on a project, I can just share a folder and watch things sync neatly. I remember trying to do all of this "offline" a few years ago and the thought process involved dedicated server computers, local networks, back up disks and many many headaches!
-
I really like your site Georgson, gives a very professional image of your company. I also enjoyed reading the German, makes me want to start relearning it! Also: Did ProCache make a big difference to how your site loads?