-
Posts
2,769 -
Joined
-
Last visited
-
Days Won
31
Everything posted by Martijn Geerts
-
ProcessWire on Windows7/2008 Server with IIS WebServer
Martijn Geerts replied to nikola's topic in General Support
Karl you're awesome. Impressive ! -
Module Page Image Manipulator | API for 1 & 2
Martijn Geerts replied to horst's topic in Modules/Plugins
is there an advantage of using $newsitem->images->count() instead of count($newsitem->images) ? -
Avatars are for ugly people.
-
Font Awesome Page Label (almost stable version) Yet another PageListLabel module, why? Font Awesome is really awesome, hundreds of high quality icons, ready to use. (Don't we all know how cool icon fonts are.) I wished to use icons in conjunction with the other PageList modules out there. (Page List Better Labels, Page List Image Label & Page List Show Page Id ) I wanted the possibility to style the icons individually with CSS. Showing icons triggered bij template name, but can be overruled bij Page ID. (Trash Page, 404 Page not found etc.) I wanted a better file or folder indication in the PageList tree. Download: github modules directory
-
impressive first post kkoala ! Welcome !
-
In MODX you've to setup a whole lotta stuff. With tons of different settings depending on the state of the other. You need an infinitly large brain to know what you're doing. Play around here, you'll be settled within no time. Welcome to ProcessWire.
-
The first one. Keep in mind that getting pages by ID if difficult to read. (needs comments most of the time) If it are your own pages & the page is deleted, your script won't work anymore.
-
Module Page Image Manipulator | API for 1 & 2
Martijn Geerts replied to horst's topic in Modules/Plugins
Tnx Horst, great ! Yep can only use gif. ( newsletter build system ) Left the office earlier today, was to tired to think. Gonna try it tomorrow ! -
Module Page Image Manipulator | API for 1 & 2
Martijn Geerts replied to horst's topic in Modules/Plugins
Hi Horst, TNX for your followup & bug fix. <horst>But I think the result from converting transparent png to gif isn't what you expect </horst> Is it possible to create a jpeg from the PNG 24 attach a background form a variable value [ rgb(100,100,100) ] then scale it and save it to gif ? ( want to use it in for newsletters ) -
Help how to remove the last tag in a loop...
Martijn Geerts replied to Zahari M.'s topic in Dev Talk
If you do this : .post { border-top: 1px solid #ccc; } .post:first-child { border-top: none; } then ie7 is supported. Somehow IE7 understands first-child, but not last-child -
Module Page Image Manipulator | API for 1 & 2
Martijn Geerts replied to horst's topic in Modules/Plugins
Hi Horst, Trying to create a gif from a PNG 24. echo $img->name; // image.png $info = $img->pimLoad("test", true)->getImageInfo(); var_dump($info); // array(11) { // ["type"]=> string(3) "png" // ["imageType"]=> int(3) // ["mimetype"]=> string(9) "image/png" // ["width"]=> int(114) // ["height"]=> int(48) // ["landscape"]=> bool(true) // ["ratio"]=> float(2,375) // ["bits"]=> int(8) // ["channels"]=> int(6) // ["colspace"]=> string(9) "DeviceRGB" // ["alpha"]=> bool(true) // } $pim = $img->pimLoad("test", true)->pimSave(); Warning: imagealphablending() expects parameter 1 to be resource, null given in /path/to/htdocs/site/modules/PageImageManipulator/ImageManipulator.class.php on line 684 $pim = $img->pimLoad("test", true)->setOutputFormat("gif")->pimSave(); Warning: imagegif() expects parameter 1 to be resource, null given in /path/to/htdocs/site/modules/PageImageManipulator/ImageManipulator.class.php on line 681 $pim = $img->pimLoad("test")->setOptions(array("outputFormat" => "gif"))->pimSave(); Warning: imagegif() expects parameter 1 to be resource, null given in /path/to/site/modules/PageImageManipulator/ImageManipulator.class.php on line 681 -
I looked at it a time ago, but I don't use that part of the Minify script. Maybe better to delete all those parts I don't use. (using 2 classes directly from within this module) (Already did the deletion of the rest of the files, think when developing that module )
-
I love it. I said before: "I like it that way, PLEASE stay talkin' on the forums" Now I think, stay away from the forums and go code for us
-
Does the other pages work? like the about page. If that's the case mod_rewrite would work as expected. Then maybe you've changed the URL of the admin in the installation process.
-
Did you renamed the htaccess.txt to .htaccess ?
-
The basics of programming I learned from Filemaker Pro. (That sounds weird) 13 years ago I started as freelance Scaffolder in in the stage building business. On that time, I really messed up my book keepings and I needed a simple but effective Invoice system. In that time I build occasionally websites with pure HTML, wished to use some PHP, but couldn't wrap my mind around it. Then I found Filemaker. I start building the system and came across a totally new terrain for me (programming). I came across database relations and I really needed to script it. The if statements and database relations pilled up, but at the end I had a simple and effective Invoice system. This is where I learned some basics of scripting, after that my mind was set, and I could start with PHP.
-
My eyes can't stand unregistered in the right top corner of ST 3. Thats why I still use version 2. I gonna buy ST3, the developer deserves it. Code from ST 2 works on 3 for now (will pay for update if needed)
-
Still can't find how to format css, json html and that kind of things. Searching for "zap Gremlins". Searching for custom auto complete functions... lots to discover !
-
First text editor I ever touched was BBEdit. It's packed with loads of functions. I really love how BBEdit handles regex searches & multifile search. Next to that I had a great support from the developers (when discovering a bug). Actually I'm still pretty happy with it. The biggest reason now for me to look at ST: - Rendering of the code in ST is better & cleaner. (less distraction) - Syntax highlighting is a little bit better. - And better multi cursor support.
-
@wishbone, live's a risk you should take ! $test0; // = Null $test1 = 16; // = Integer $test2 = 15.5; // = Float $test3 = true; // = Boolean $test4 = "bc"; // = String <- here you can use curly brackets, sometimes you must $test5 = "a{$test4}d"; // $test5 = "abcd"
-
I'm trying to convert to Sublime 2. I do however miss some things from BBEdit, but get other things back. ( it was the license policy that I bought ST more then a year ago ) @kongondo, gonna watch the video's. (tnx)
-
Tnx diogo!, excuses Pete
-
Actually the modules do the same, except mine is not creating the fieldsets.
-
interesting, Busy with "another" PageList Label module to. - it's using font-awesome - extra markup is created by jquery / js ( so should be compatible with other PageList Label modules ) - some, additions to the existing js ( correct open pages id's in the array after clicked folder page [ config.ProcessPageList.openPageIDs ] )
-
Hey Pete you mean this: http://processwire.com/talk/topic/4398-two-column-admin-theme-concept/?p=43209 this concept is even simpler