Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by johnnydoe

  1. Hi @Jan Romero, you are so right, I missed that... that is a very good and simple to sort the results, thank you! ... and @zoeck: that is a great way to sort the results by default, the code works like a charm. Thanks again! ❤️
  2. Thank you very much! This works very well for the first result page! But if I click on "View > All pages", which takes me to the detailed search results page, the results are not in alphabetical order... can I hook this too? Off-topic question: how can I find which hook can I use where, or do I just need common sense and and maybe guessing to find the right hook? 🙂
  3. Hi folks, is it possible to sort the results of the admin search in PW - in my case just by title of the page? I think by default it is sorted by it's position in the page tree? I tried to inidicate a sorting for the children of the page "Admin" > "Pages" > "Search", but without success. Also the "Page Search" module, found in the core modules doesn't seem to have a sort option for the results. Can anyone help me? Thank you very much in advance! Jonas
  4. Hi! Had this problem today too. In my case this was a problem with file permissions. After setting permissions to 777 for the folder site/modules/ it worked.
  5. Hi @Zeka, great, that did the trick! Thank you very much ?
  6. Hi there! I have the following problem: I have an ProcessWire installation on a regular domain like www.example.com and antoher complete separated installation of ProcessWire in a subfolder, like www.example.com/subfolder/ Now if I login on both, I always get logged out from the first PW installation I logged in. Is it possible to prevent this logout? Or would I have a complete different setup, like one installation for both and splitting the both kind of pages (the one on the regular domain and the other one in the subfolder) somehow else? Thanks in advance! Jonas
  7. Ok, I got it to work now. The subselectors (https://processwire.com/docs/selectors/#sub-selectors) were exactly what I needed. I got some edge-cases where I need to do some special queries (based on some if statements), but the subselectors are quite powerful and helping me also with this. So, thank you very much! ?
  8. Hey thank you so much for your answers. First at all I'm happy that it doesn't seem impossible what I'm trying to do. I will check out, if I can solve my problem with your advices and will write back here with more details when I have solved it. Have a nice weekend!
  9. Dear ProcessWire-community, I have the following "page search" problem: In my processwire website I use some "pages" as "data-containers" (that are not actual pages on the frontend). Let's say I got a data-container that contains many subpages with the template-type "product" thath has the fields "headline", "image", "text" and "price". The products have no detail pages, but many products are added to category-pages by "page reference" in processwire. For each category I chose several "products" from the subpages of the products-data-container, and then I display them on the categories page. Now i want to search for all products that have the word "pencil" in their headline or description. For each result I want to link to all categories that contain this product. But what I get when I do $pages->find("text|headline%=pencil") are not the real pages, but the data-containers. But I want to get the pages that are referencing these products. Does anyone know, how to do this? Thanks in advance! Jonas
  10. Hey, thank you very much for checking and confirming! Yes I'm referring to the paid FormBuilder, but I purchased it already a quite long time ago, so I think my VIP-status there is not valid anymore. I guess I will try to find an alternative solution for now. Thanks for your support!
  11. Hey there! I want to place a simple paragraph (where I can put in content with a rich text editor) between some of my fields in a form that I bulit with the Form Builder - just as an admin in the processwire backend. The final website-user should only see the text with no option to enter something at this place. Is that possible? Sorry if I've overseen a simple solution, but couldn't find one for some time already... :/ Thanks in advance! Jonas
  12. Vue.js 2 book is now available! Become a full stack developer now #angularjs #php #book #code https://t.co/fmlIL4Bfz6 via @vuejsbook

  13. 5 Awesome Laracasts that make you a better Developer https://t.co/4D13hDTDOX via @metricloop

  14. Dieses coole Gadget macht Zeiterfassung fast zum Kinderspiel uns arbeitet mit anderen Apps zusammen!: https://t.co/C9lzSggMtC

  15. To record the S-tool (new band from former Poisonblack frontman and Sentenced vocalist Ville Laihiala) debut album https://t.co/N8KLQ8MYNv

  16. RT @caschy: Google Kalender ist down, es liegt nicht an euren Apps https://t.co/BnuyMfN2Du https://t.co/amWRQVjcSu

  17. Hi teppo, thanks for your reply! I now took the javascript road. With jQuery I search for all links which have 'assets/files' in their href and attach target="_blank" to them.
  18. Hi there! With the module "Page Edit Link" I can make settings so that links to external websites open in a new tab automatically, which is very handy. Now I want to do the same with links that point to files, so that the files (jpgs and pdfs) are opened in a new tab too. It seems not to be possible with "Page Edit Link". Is there another way? I know, the page editors could set the "_blank" value each time manually, but this doesn't seem to be very efficient to me. Any ideas? Thanks in advance! Jonas
  19. @LostKobrakai: Thank you, works like a charm! @kongondo: I want include hidden but published pages. With find, hidden pages are also excluded.
  20. These are great snippets! But I got one more question: how to exclude sites that are unpublished?
  21. #TTIP-Handelsabkommen ebnet den Weg für #Gentechnik #Fracking #ACTA. Fordere den Verhandlungsstopp: https://t.co/1YEjvzNtoK via @campact

  22. Thank you, I overlooked this one ^^ My other question (search several fields) is also finished... I turned out that I didn't have a field "body" at all. If it exists, there is no error.
  23. Don't let the #PanamaPapers get swept under the rug. Join the call to shut down the tax havens then RT: https://t.co/viC4UFJcve

  24. Thank you very much for your help! For now I took the search from the default site profile. But I still have 2 problems, for which I couldn't find a solution so far: As selector for the results I have now: "title~=$q" ($q stands for the term I entered). This gives me all the pages that have exactly this word in their title. If I enter "kanzler" I won't get a page with "bundeskanzler" -> this seems to be more important for german - where words are often put together - than for english. but it's a german page. So far I couldn't find a selector that just checks if a title contains a string (I looked at http://cheatsheet.processwire.com). Is there a possibility to achieve this? I would like to search fields like body and some others too for the search term. But if I write "title|body~=$q" as e selector, it returns an error ("Error: Exception: Field does not exist: body"), because not all my templates have a body element, I guess? Is there a possiblity to search fields that are not in all templates? Have a nice week! Jonas
  • Create New...