Jump to content

blad

Members
  • Posts

    189
  • Joined

  • Days Won

    5

Everything posted by blad

  1. I don´t know what to tell you. I would use a foreach or an array with just several lines. Good luck
  2. I just downloaded your module, it's awesome teppo I want to make a list of my favorite modules, it will be listed. Thank you!
  3. I still do not know too much about Processwire but is logical that a password have a InputfieldPassword
  4. My solution does not work if you can not run js. Also it is only visual. The correct solution is yours.
  5. Edited: @adrian is right. Read this update here https://processwire.com/blog/posts/processwire modules-2.5-changelog/
  6. I just created a module that does that just for you you can modify it to get what you want. Create the folder ChangeLabels with 2 files: ChangeLabels.module <?php /** * ChangeLabels * @author Luis Santiago "blad" * * ProcessWire 2.x * Copyright (C) 2010 by Ryan Cramer * Licensed under GNU/GPL v2, see LICENSE.TXT * * http://www.processwire.com * http://www.ryancramer.com * */ class ChangeLabels extends WireData implements Module { public static function getModuleInfo() { return array( 'title' => 'ChangeLabels', 'version' => 1, 'summary' => "ChangeLabels - Tested", 'author' => 'Blad', 'autoload' => true ); } public function init() { $this->addHookBefore('InputfieldPassword::render', $this, 'HookChangeLabel'); } public function HookChangeLabel(HookEvent $event) { $this->config->scripts->add($this->config->urls->ChangeLabels . 'ChangeLabels.js'); } } ChangeLabels.js $(document).ready(function() { $("li#wrap_Inputfield_pass label").empty(); $("li#wrap_Inputfield_pass label").append("Your label"); }); It works.
  7. Thanks everyone! I´ll try to do this module a configurable site tour creator for our clients. I think a textarea with array and explode is the best solution. For example "PageProcess, #idor.class of element, Introtext" Can anyone help me with the "first steps"? I tried to get the lines in a textarea with explode (\n & ,) and not working. I'm doing wrong something.
  8. I didn´t know this module. I'm doing something similar, but for dummies and with less information. First Steps I'll leave it and do another thing your module is great.
  9. I didn´t know that module :S I'll upload a video of 10 seconds. Thanks! edited: or 40 seconds...
  10. He is a creator!! He is god! Welcome to the community https://www.youtube.com/watch?v=rDQb_EMNRx8?t=48s]https://www.youtube.com/watch?v=rDQb_EMNRx8
  11. This module displays tutorials according to the page where you are (based on intro.js). It also displays useful links. It is in process. Suggestions and reviews are welcome. To test the module go to modules or pagelist after install. Done: - PageList - Modules To Do: - Access -User, Roles, Permissions - Setup -Templates -Fields -Languages -PageEdit -Search Github
  12. This tutorial by Phillipp Reiner may help you to begin with PW.
  13. I don't know what I'm thinking! My head doesn't feel too strong today. Thanks @horst. The next post will be "10 Most stupid questions by blad"
  14. My client is saturating the server capacity with tons of images, the images are resized but the original still on the server. How can I use the resized images and delete the original? I use the following module created by @soma: The post here <?php class ImageCreateThumbs extends WireData implements Module { public static function getModuleInfo() { return array( 'title' => 'ImageCreateThumbs', 'version' => 100, 'summary' => '', 'href' => '', 'singular' => true, 'autoload' => true ); } public function init() { $this->addHookAfter('InputfieldFile::fileAdded', $this, 'sizeImage'); } public function sizeImage($event) { $inputfield = $event->object; if($inputfield->name != 'prop_imagen') return; // we assume images field $image = $event->argumentsByName("pagefile"); $image->size(120,120); $image->size(1000,0); } } Thank you in advance.
  15. I will remove that option or if you put your own image the processwire logo will appear too. Thank you.
  16. Thanks again adrian. Update coming soon.
  17. Honestly I'm a little lost with the part of export / import. Should I do it with CSV? Is there a module with this option? Thanks
  18. blad

    ProcessWire on the web

    Processwire is mentioned here https://www.youtube.com/watch?v=rDQb_EMNRx8
  19. I've created as a tool to test colors for lazy people like me, with some good changes may be helpful. Thanks adrian always motivating I've fixed it and deleted the image to avoid confusion, the code is fine.
  20. This module allows you to change the admin default style. For lazy people. It's just a sketch. More information soon. Done: - You can change the main colors of processwire To do: - Add ability to change fonts (fonts google) and read your opinions - Fix the Logo url field (default value). - Export/Import config. - Add more color options. - REWRITE
×
×
  • Create New...