-
Posts
2,769 -
Joined
-
Last visited
-
Days Won
31
Everything posted by Martijn Geerts
-
-
What are those black Zorro masks on the avatars?
Martijn Geerts replied to Ivan Gretsky's topic in Pub
Whooeeeaaa -
What are those black Zorro masks on the avatars?
Martijn Geerts replied to Ivan Gretsky's topic in Pub
It's about Michael ... Uhhh Peter Night. -
What are those black Zorro masks on the avatars?
Martijn Geerts replied to Ivan Gretsky's topic in Pub
Don't Zorro Ivan. -
I thought about that, but have forgotten to add it. I will add it to the JSON config.AdminCustomFiles. For me that's sufficient. I'm a bad reader adrian, just seeing that you're inserting CSS. Gonna see what I can do for you.
-
Captain Hook - ProcessWire Hooks Cheatsheet
Martijn Geerts replied to Soma's topic in API & Templates
It's ProcessWire that gives me continuity to. (Before PW OOP was mostly a mystery for me) -
Captain Hook - ProcessWire Hooks Cheatsheet
Martijn Geerts replied to Soma's topic in API & Templates
Nope, __toString is a magic method. -
He made it for fun & shared fun there's also no commercial interest for blad.
-
@Blad, could you please add good descriptions under the video and update it on YouTube ? So a good description, link to ProcessWire, maybe a link to ryan's intro. This could give us some good attention ! ps, i've shared this on facebook.
-
I really love it !
-
Fuckin awesome ! Whoeha 0:51 tha bomb
-
Only use this module if you know what you're doing. You can get wicked results . When you discover 'bugs' in the ProcessWire admin be sure to turn off this Module, this module can be the root of that evil (More likely the results of the inserted scripts). When you used only process based includes, disabling the processes in the module config will prevent the inclusion of the scripts. When you don't need global files, it's better to bind your scripts to the actual process that is running.
-
Admin Custom Files Admin Custom Files is a simple module that can add custom javascript plug-ins, scripts and styles to the Processwire admin area. Instructions are on github. Download module at GitHub Download at the modules directory
-
Manipulate output date from datetime-field
Martijn Geerts replied to thmsnhl's topic in API & Templates
, actually I never put OutputFormating on a date time field. -
Manipulate output date from datetime-field
Martijn Geerts replied to thmsnhl's topic in API & Templates
"d/m/Y" shouldn't be used, it's American notation. For european you should use a dot or a dash to separate. -
Add code before ProcessPageList::execute
Martijn Geerts replied to Nico Knoll's topic in General Support
(Have you checked your JSON response, is it notice free ? ) I don't know what you want to accomplice, but mabe you can handle certain parts with Javascript. Your can handle Javascript, after $.ajaxComplete(); -
Like this: (Thanks Sugur Lee Hooper)
-
You could make your own: // a filename array for scripts in the head (make the name you wish) $config->headScripts = new FilenameArray(); // a filename array for scripts in the bottom (make the name you wish) $config->bottomScripts = new FilenameArray(); // add scripts to the head FilenameArray $config->headScripts->append('/your/wished/path/head.js'); // add scripts to the bottom FilenameArray $config->bottomScripts->append('/your/wished/path/bottom.js');
-
Thanks OrganizedFellow, Learning new things is core to human nature. When you stop learning, you'll become depressive. ps, That OrganizedFellow is really organised. (I saw his bookmarks:-)) We know he invested in learning, he succeeded. It's a pleasure to have him here.
- 206 replies
-
- 3
-
-
- standarisation
- templates
-
(and 1 more)
Tagged with:
-
How to render a simpelt inputfield markup??
Martijn Geerts replied to Biorn's topic in API & Templates
I think you now that the form builder fields are accessible. You could loop them and create your own markup out of that loop. The only reason I didn't build a module for that is that it'll take a lot of effort to do it right. One way to do this is with little templates for each field. -
Configurable module default values on install
Martijn Geerts replied to gRegor's topic in Module/Plugin Development
On the point that you know there's no data in the module configuration (db) you could save it your self. $this->modules->saveModuleConfigData($this->className(), array('my_key' => 'my_value')); On this module (not listed in the modules dir) I have 'factory defaults'. When values are not in DB, it'll store the factory defaults.- 5 replies
-
- 1
-
-
- development
- module
-
(and 1 more)
Tagged with:
-
-
bwaked, you're implementing it wrong, what horst says is right.
-
Want to throw one more in. Because the other selector will match if there's an image with a wrapped link to an other format. Say PDF $("[href^='/site/assets/files/']").filter(function() { return this.href.match(/.*[jpg|png|gif]$/i); }).addClass('to-fancy');