adamspruijt
Members-
Posts
156 -
Joined
-
Last visited
-
Days Won
5
Everything posted by adamspruijt
-
Not to get too pushy with this one but as I've already mentioned, you are solving a problem that never existed. The best approach from a semantic/usability standpoint is to include this in you CSS: img { max-width: 100%; height: auto; } max-width: 100% will ensure that an image cannot be larger than it's parent and height: auto will override the height attribute on the image allowing its height to be based on the original aspect ratio.
-
Awesome Nico, the clear separation on the fields is really nice. I really enjoy seeing everyones take on how to approach the ProcessWire admin.
-
They actually offer an Offloaded DNS Hosting add-on for 1 dollar a month, typical cPanel setup. (comes with 5gb storage tossed in too... guess you could use this for backups, though I've never put it to use) Right now I have a 512 OpenVZ and a 128 OpenVZ, I also have the offloaded SQL add-on for $1 a month and DNS Hosting add-on for $1. These add-ons were particularly awesome when it came to setting up the 128, which I put a stripped down debian with Nginx (no need to put MySQL in). With 20+ users on my site RAM use will stay around 40mb (and with some work I actually plan to further reduce this, wish me luck ). Be warned though, getting a VPS with these guys can be very hard, I recommend following them on twitter or checking this site all the time. For example, I literally bought my 128 two days ago and there were 12 available? All gone now.
-
Don't know about the rest but I fully endorse you taking anything and everything from any and all of my work now and in the future. If you feel me. I will give this a try for sure! Thanks.
-
I personally endorse WiredTree, amazing support, fair pricing, blazing fast. From my research I found they were neck in neck with ServInt in the managed VPS space. For unmanaged I always go BuyVM, crazy cheap, fast, near 100% uptime.
-
Great, updated with Multilingual support and the tweaks you mentioned Ryan.
-
Thanks Soma, I'll take a look at that and see what I can come up with.
-
Awesome. Will do when I get home. Thanks Ryan. Is there a simple hook I can use to add content to the top of the modules page?
-
Sorry bout that Ryan. All fixed.
-
The Modules page can get a little unruly, and though Soma's ModulesSectionCollapse helps to mitigate this I felt the need for more.... So I put together "Modules Quick Filter". Which has two main components. A "search as you type" field that filters by module name and a "refine by category" select box, which narrows the display of Modules by category. (The functionality is accomplished with javascript, as is the layout itself, if there are some hooks I could've used to do this, someone let me know ) UPDATE 1.1 - Added Multilingual Support and some minor bug fixes/improvmtents UPDATE 1.2 - Added configuration setting to choose whether or not field is collapsed by default. DOWNLOAD
-
Added, and thanks for the Tweet Ryan!
-
As I posted in the thread Arjen link to, the height and width being output is a non-issue. No need to remove attributes, this is (from what I've read) the best way to handle this. Height will go back to being relative to the image proportions and the width will max out at 1oo% of its parent. Since the "width" attribute is equivalent to the "width" css property we know then that the "max-width" property has the power to override this.
-
Stunning design Philipp. Very clean and open, very inviting!
-
Introducing MetroWire, a little theme I've been working on and using in personal projects for which was once inspired by "metro" styling and to which now I can't think of a better name for. DOWNLOAD http://modules.processwire.com/modules/metro-wire/'>Modules Directory Listing SCREENS!! Login Page Tree Templates Page Customise the colors! (for those of you familiar with less. Change the "@adminAccent" colour variable in "templates-admin/styles/less/vars.less" and compile to customise the main colour to whatever you like!) Hopefully at some point I can integrate the compiling and even give users the ability to choose their colour... fun! Hope you guys enjoy this, thanks for taking a look if you do! I also did a Tweak to the AdminBar to match my theme more closely (hopefully Apeisa doesn't mind), and did some naming changes to solve a conflict I had on a project that used Bootstrap AdminBar-TWEAK.zip
- 22 replies
-
- 14
-
Using previous PW installation as template for the next one
adamspruijt replied to recyclerobot's topic in General Support
I don't include them typically, but I believe I started building the module off of a snippet idea from somewhere else in the forums, so maybe it was included there. Anyway, much agreed!- 9 replies
-
- install
- processwire
-
(and 1 more)
Tagged with:
-
Using previous PW installation as template for the next one
adamspruijt replied to recyclerobot's topic in General Support
I gave this a try on an install I'm currently working on and instead of being told "the request appears to be forged" I just get a blank white page... weird. My server is running LiteSpeed if that makes a difference. I'd love some help on this as the site has been made live but no one is able to edit it... grrr. UPDATE: I quickly enable debug and grabbed the output, its as follows... Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/niagara/public_html/wire/core/Session.php on line 265 UPDATE 2: Call off the Calvary! I had trailing whitespace in a module I made... I'll admit defeat and leave this here for anyone else who might make this mistake.- 9 replies
-
- 1
-
- install
- processwire
-
(and 1 more)
Tagged with:
-
I feel like for the first two lines this is at least a little more logical/readable $ancestor = $page->children->first(); $find = $ancestor->find("template=subcategory"); From there I'm a bit confused as to the exact goal so I would just be guessing.
-
Ok good to hear Apeisa, I was going to mention it but started wondering if I was misunderstanding what the desired result was.
-
Am I missing something here? I've never had a problem with this working img { max-width: 100%; height: auto; } I've never needed to remove either the height or width attributes, or are you trying to accomplish something different than what I am thinking?
-
Module: Testrun selectors + find() from admin (ProcessSelectorTest)
adamspruijt replied to nik's topic in Modules/Plugins
Wow, recent update is fantastic, the first version was great for double checking if your selector logic was sound, but this version... essential install. This is going in my default site profile. Thanks! -
Big improvement, glad to see it I know the original design contributed to me initially overlooking PW. The one thing that is driving me nuts right now is the "motor" mono-space font in the documentation, something about it I just find really hard to read, in fact I've gone as far as to use stylish to force it back to courier. Anyway, just my opinion, not really a great idea to get fancy on pre-formatted text used for docs.
-
Conveniently CKeditor 4 just came out on the 27th (and with many huge improvements). I started playing around with creating a Module the very next night, I've so far setup some basic config options and got the basics working but a quick look at the custom PW Image and Link plugins for TinyMCE had my head spinning. Maybe if Ryan could shed some light on how these operate or the requirements involved I could make some more progress. I'd really love to see CKeditor replace TinyMCE, even if only for the improved interface.
-
Great Ryan, that works perfectly, I think maybe I'm going to add some configuration to this so its easy to implement on other sites... thanks so much!
-
WOW, ok so I was wrong, and that... is awesome.
-
Ok... I think I understand WHY this doesn't work. In order for the language to be used by the PageRender module, the language need to be set before that runs, my selector is doing it after... correct? So is there a way to make a language selector that "hooks in" before this?