Jump to content

johnnydoe

Members
  • Posts

    25
  • Joined

  • Last visited

Posts posted by johnnydoe

  1. 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? 🙂

  2. 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

  3. 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

  4. 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!

    • Like 2
  5. 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

  6. 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

  7. 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

  8. 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:

    1. 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?
    2. 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

  9. Hi there!
    I want to implement a "simple" full text search (no ajax needed) into a webpage that's built with processwire. I couldn't find any threads, tutorials or modules helping with this. Can anyone help me with this or point me to a place where I find information how to implement this? 

    Thanks in advance!

     Jonas

×
×
  • Create New...