Jump to content

diogo

Moderators
  • Posts

    4,320
  • Joined

  • Last visited

  • Days Won

    80

Everything posted by diogo

  1. This is funny. This question is completely related with the previous thread http://processwire.com/talk/topic/1560-searching-multiple-fieldtypes/
  2. You are aware that "get" will only give you the first referenced page? In the search wouldn't work an array anyway, but because the variable is in plural, i get the feeling that you want something different. edit: I was sleeping when I wrote that... you can use a page array on the selector, and you are using a "find" right after the "get" No more reading PW forum on the mobile! Still you don't really need to do it in two steps, because this would be enough: $my_referenced_pages = $pages->find("title%=$query, parent=/referenced-pages/"); As for your question: I don't know how to combine them with one query, but with slkwrm's solution you wouldn't have the pages sorted exactly as you want.
  3. Try this, at least you will be able to login immediately <?php $users->get("admin")->setOutputFormatting(false)->set('pass', 'yo123')->save(); taken from here http://processwire.com/talk/topic/490-how-to-reset-your-password-how-to-enable-the-forgot-password-function/
  4. Adam, you don't need to like yourself i can give you a like
  5. Looks like a nice idea for a module. I agree that in some sites it can make the tree more readable to some clients. Not the same thing, but there is a module from Soma that you might like http://modules.proce...st-image-label/ The backend doesn't work exactly the same way as the frontend, particularly the processes, but can still use the API functions.This is possible for sure. edit: Soma, sorry for the double answer I still don't understand why sometimes the system doesn't alert that there is a new answer...
  6. Welcome to PW and the forums! You came to the right place to learn PHP 1. This is possible, and not difficult at all. Have a look at this module http://modules.proce...es/ajax-search/ 2. Yes, see here how you can build a tags system http://processwire.c.../page__hl__tags 3. It's possible without any "core hacking", But it will imply some "module hacking" we are here to help though. 4. There are ways to convert csv files into php arrays. From there, everything is possible. You will have to configure your server to pipe the emails to PHP https://www.google.c...iw=1364&bih=679 5. The skyscrapers profile was not updated to the last version of PW. But I'm sure Ryan can send it to you if you want a lot 6. I did a very basic newsletter system that is explained here http://processwire.c..._hl__newsletter. For something more complex, you should try Mailchimp or something similar. This forum is integrated in PW, but i think sharing logins could be tricky.
  7. http://irclog.whitequark.org/ruby-lang/2011-11-29 this helps?
  8. This looks like a wordpress forum with all those the_variables
  9. never saw that thread! Or at least I don't remember... Of course it would be great to have all that functionality coming from a ready file, instead of having to make a server call
  10. I love this module Soma!! Everything seems to be working perfectly Maybe you should refer on the instructions that the module needs libcurl to work. I tested this on my localhost, and got an error because it wasn't installed. it does say it... sorry, should read things carefully before posting stupid things...
  11. Soma's module manager wasn't able to get the file from the forum thread of my module http://processwire.com/talk/topic/1182-module-image-tags/. Meanwhile, I created a github page and all works now. I noticed that when I opened the link in the browser from the module manager, I was asked to login to get to the file. So, that's where the problem lives. The files from the forum are not opened to everyone, so they shouldn't be used on the modules pages as the download link. My mistake, but maybe there should be a reference to this on the "download url" field description.
  12. Had this idea, but can't start working on it since I will go on vacations in some days. So, I just decided to throw it on the air and see if anyone will catch it Ok, the idea is to create a dynamic js file (or files) that would hold all usefull but not sensible data from a pw install. The files could hold, not only, some config info like: url, images folder, styles folder, etc, but also some pages variables. Here is the plan: (very embrionary) Config variables: This one is easy. All no sensible info from the config file could go there. Page data: Each page object could hold the url of the page. This would make it easy for a method to find the right object for each page. This page data could hold some chosen fields, the template, the children, the parent, etc... Page data could be added to the file on page save. Control: There has to be a way of filtering the data that goes on the file. This could be done on a page by page basis, on a template basis, and on a field basis. I guess a checkbox on each of those should do the job. Methods: And why not mimic some PW methods also? Maybe even creating a jquery plugin. Would be nice for sure What do you think? Any major downside of doing something like this?
  13. I updated my modules and modules page according to those rules. Hope it helps.
  14. I came late to this, but it's a great idea! Thanks Soma, Will try it right away! EDIT: on linux i will have to change all the combinations, Same problem as in windows of course...
  15. Just submitted the pt-PT language pack and the Image Tags module. Everything worked well, they are just waiting for Ryan's approval.
  16. Adam, is there anything new on this? Just referenced this thread on the other module page (no URL because it still has to be approved by Ryan) http://modules.processwire.com/modules/textformatter-image-tags/
  17. +1 for Sublime I thought the name might be a bit too daring... but after using it for some time, i know it's not
  18. I think there will be a vim storm coming from Ryan
  19. Yep, that's what I did. Of course it works, there's no reason not to. And it took one minute to create, also true But I'm looking at it from the newcomer view... If I work with PW for some time already, and got pretty used to it's way of doing things. I can imagine that this should feel very strange to someone that has the need for something like this on the first project.
  20. I stumbled on this only now. Never had to create radios or dropdowns in PW before I want to create a simple m/f choice with a radio button. How should I do it? Create two pages, one "masculine" and one "feminine" under a parent "sex"? It feels so overkill to me, even after being used to the PW way. I wonder if it wouldn't make more sense to have those two simple fields in the core.
  21. diogo

    DRY URLs

    This can be made automatic in the cache options.
  22. Can't you allow the search for three letter words excluding "and"?
  23. Downside to this is that, when there is a paid package (support, or some kind of pro version) people tend to think that the free version is somehow incomplete.
  24. This is nice What happens if you create a new page with the same name of the one that was changed? It stops redirecting, I hope...
×
×
  • Create New...