Jump to content

Martijn Geerts

PW-Moderators
  • Posts

    2,769
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Martijn Geerts

  1. @adrian, Tomorrow I'll finish, the admin theme based css and js includes.
  2. 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.
  3. It's ProcessWire that gives me continuity to. (Before PW OOP was mostly a mystery for me)
  4. He made it for fun & shared fun there's also no commercial interest for blad.
  5. @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.
  6. Fuckin awesome ! Whoeha 0:51 tha bomb
  7. 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.
  8. 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
  9. , actually I never put OutputFormating on a date time field.
  10. "d/m/Y" shouldn't be used, it's American notation. For european you should use a dot or a dash to separate.
  11. (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();
  12. That's true, because other levels are not yet in the DOM. You have to wait for the AJAX complete event to run your scripts. // maybe this is what you're searching $(document).ajaxComplete(function() { console.log("Now, you can do something") });
  13. 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');
  14. 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.
  15. 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.
  16. 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.
  17. bwaked, you're implementing it wrong, what horst says is right.
  18. 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');
×
×
  • Create New...