-
Posts
1,835 -
Joined
-
Last visited
-
Days Won
21
Everything posted by Nico Knoll
-
-
But another thing I recognised: If you're multiplying the percentage you always get ca. 2.10mb. post_max_size and upload_max_filesize are both 30M
-
Adding those lines to .htaccess doesn't help. Is it possible to add those files into the right folder via ftp and somehow let PW import them?
-
It works perfectly with files up to 1.5mb. Maxfile size is by 40mb at the moment. I'll try your code. Thanks so far! (I'm going to install ProcessDiagnostics to check that ) Edit: Can't find it in ProcessDiagnostics. Would be a good thing to add I think.
-
Hey, it would be awesome if the module configuration of "WireUpload" would offer fields to insert your FTP data and if possible use it for uploading files. Shouldn't be that complicated to integrate I think. Maybe a point for the 2.6 Roadmap...? Thanks! Nico
-
Hey, I'm trying to upload a couple of files between 5 and 30mb and I always ending up getting this errors in the console and the loading bars just stop moving: I tried it on two different sites on different servers running PW (2.3.1 and 2.4.0). I even tried Firefox and Chrome with both sites. Not sure if it fixed in PW 2.5 already... Edit: Same problem with 2.5
-
Hey, this is a website I finished some months ago. The website is for a christian "St. Johannis" church close to where I live and is managed by my mother (that's where my "my mother should be able to use this" comparisons are from ). I really clean and minimalistic but a lot better than the old design. Trust me
- 2 replies
-
- 10
-
Hey, I really spend a lot of time to figure out how to add additional options to a config page (which are generated with the function "getConfigInputfields"). I use an autoload module for this, At first we need to create the module: <?php class ExampleModule extends WireData implements Module { public static function getModuleInfo() { return array( 'title' => 'ExampleModule', 'summary' => 'Bla bla', 'version' => 1, 'autoload' => true ); } // the rest of the code should be here } ?> Then we add the init function to it which includes a hook into the config page page we want to extend. In my case it is the option page of the InputfieldDatetime: public function init() { $this->addHook('InputfieldDatetime::getConfigInputfields', $this, 'addConfig'); } The last step is of course the "addConfig" function: public function addConfig(HookEvent $event) { // get the field instance used by the config form $field = $event->object; // TRICKY PART: use it's name to get it's saved values $data = $this->fields->get($field->name)->data; // add a new field with the saved value to the form $fields = $event->return; $field = $this->modules->get("InputfieldCheckbox"); $field->name = "useSimpleDate"; $field->label = "Use \"Simple Date\"?"; $field->checked = ((@$data['useSimpleDate']) ?: 0); $fields->add($field); // return the new config form $event->return = $fields; } The only really tricky part is to get the value. In this case it works like this. In other cases you may have to get the modules config.
-
It's nice even if it is kind of the same I build. I think your solution is nice for guiding around clients and mine is better for new developers who are using pw for the first time (I explain more about how it works and helpful links, etc.). If you need help or want to reduce overlapping just contact me
-
I'm kind of always using .inc files in my projects. head.inc, foot.inc and functions.inc. I like this file ending, too
- 206 replies
-
- standarisation
- templates
-
(and 1 more)
Tagged with:
-
@adrian: both of your ideas are included now: https://github.com/netcarver/PW-ProcessDiagnostics/blob/master/DiagnoseModules.module
-
Best working playlist on Spotify: Beats To Think To
-
You're right. There are no hooks. Only way would be some regex stuff.
-
Why don't you just make a regular module?
-
Thanks for the feedback! I think the title with the info icon should stick stay even after you click it. Compare to Templates -> Filters, which can be expanded in a similar way. It feels more consistent to have it work the same.It just looks better that way. But I'll think about it Maybe lose the punctation mark in each title, since PW adds "..." anywayWill do this in the next update. External and internal links looks the same. It's hard to know where you'll end up when you click them. Not a major issue but maybe we could differentiate external links (to processwire.com, youtube etc) with a small icon. Or the have the titles say "Learn more on Processwire.com" etc. not sure.In my first versions I had this external icon included but it doesn't looked good. But you're right with that point. I'll find a solution for the next update. The "uninstall" button in the bottom right of each box feels redundant and maybe a bit repetitive? perhaps the info on the first screen is enough? Experienced users (that doesn't need the help) will probably know how to uninstall it anyway.Probably you're right. I'll probably remove it.
-
Thanks
- 16 replies
-
- translation
- localization
-
(and 1 more)
Tagged with:
-
Hey could you adjust the titles on the module page, so they look like the other ones? http://modules.processwire.com/categories/language-pack/ Main title should be "Hungarian (hu-HU)" Class Name should be "Hungarian" but on hungarian (google translate says it's "magyar")
- 16 replies
-
- translation
- localization
-
(and 1 more)
Tagged with:
-
@diogo: Exactly how I want to. It works like this: They are always collapsed but when you see them for the first time or you have ?showInfo=1 in the url. The links have "?showInfo=1" in the url. Thinking about this was that I don't want the boxes to take that much space all of the time. But if you click on the link you probably want to learn more about it. So it should be completely visible.
-
The GetStarted module has it's own thread now: https://processwire.com/talk/topic/7666-getstarted-a-module-that-helps-first-time-users-to-understand-processwire-faster/#entry74360
- 206 replies
-
- 5
-
- standarisation
- templates
-
(and 1 more)
Tagged with:
-
Hey, after reading woop.s pdf over http://lightning.pw): Login: http://terbium-znu.lightningpw.com/processwire/ Name: demo Pass: demo123
- 12 replies
-
- 20
-
@totoff: Somehow the generator had a mistake earlier. The background should be blurred as well. I will rerender them and then it should be better
-
It's just the font: http://projects.nico.is/letmesay/
-
-
Well I didn't take the photos and didn't design the website. Only code this time
-
Hey, Ehsan and I recently finished redesign of the website phototriennale.de. It's one of multiple ProcessWire sites I'm currently working on and I'm really happy it finally went online:
- 7 replies
-
- 14