Jump to content

msavard

Members
  • Posts

    50
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by msavard

  1. This might be an obvious one but I can't find it. How can I limit, or expand, the number of results that are pulled back in the find portion of the admin interface (the lister?)? Right now it seems limited to 25 records at a time. I would like to increase this. Is there any way to do that? I'm not talking about the hierarchal list of pages but the list you can get if you go to the Pages>Find menu option. Thanks.
  2. I have created a small library site. Each book in the library is entered using a book template. I have the need to keep track of when these books were checked out. In the future I would need to be able to find out how often the various books have been checked out. Would the best way to do this be to create a separate document for each time the book is checked out? Or is there a field type that would store a list of dates that could later be queried? I haven't been able to come up with a good solution yet so any help would be appreciated.
  3. I never figured out the problem. I ended up just installing Processwire again then restoring everything back to where it was. Hopefully it doesn't happen again.
  4. Well, dang. I checked that this morning and, after enabling the ctype extension, a sample page I created in php that uses those functions work, but Processwire still doesn't work. In fact, nothing is getting written to the error log now either. I'm assuming there is no trouble running it with PHP 7.4. I tried upgrading the site by copying a new wire directory over but the same problem persists. Without any more entries into the error log I'm not sure what else to try. All I get is this: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. This site has been up since July with no problems and no changes and then bang, out like a light!
  5. My processwire site was working one day and down the next. In the logs, it's giving the error: 2021-04-01 20:21:21 ? http://achev.ipage.com/library/librarytour/ Fatal Error: Uncaught Error: Call to undefined function ProcessWire\ctype_digit() in /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php:2480 Stack trace: #0 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php(2735): ProcessWire\Modules->getModuleClass('AdminThemeDefau...') #1 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php(982): ProcessWire\Modules- >getModuleInfo('AdminThemeDefau...') #2 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php(853): ProcessWire\Modules->loadModule('/hermes/bosnacw...', '/hermes/bosnacw...', Array, Array) #3 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php(374): ProcessWire\Modules->load('/hermes/bosnacw...') #4 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/ProcessWire.php(509): ProcessWire\Modules->init() #5 /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/ProcessWire.php(302): ProcessWire\ProcessWire->load( (line 2480 of /hermes/bosnacweb01/bosnacweb01bc/b2628/ipg.achev/library/wire/core/Modules.php) The server also has a WordPress site on it and the user who manages that may have upgraded PHP right before my processwire site stopped working. Would that have caused this type of error? Any ideas?
  6. Good grief! I knew I shouldn't have been working on this at night! How did I miss that? Thanks for your help.
  7. I feel stupid asking this but when I am trying to output a 'rich text' field (like the body field or any other field with HTML) it is outputting the raw HTML, it isn't rendering it. So if I have a CKEdit field and just type in "This is a test", when it is output it will display "</p>This is a test</p>". Has anyone ever heard of this happening? It hasn't happened on any other sites I've built.
  8. @Robin S, your solution worked perfectly! Thank you.
  9. That is very helpful, thank you! I didn't even know about that function. I will try it out tomorrow.
  10. I have HannaCode that generates a message box. The user is allowed to make some words bold in the 'test' field of the message box: [[MessageBox type="warning" icon="yes" text="Claims filed between <strong>February 16 - December 10</strong> will receive a partial exemption for that year."]] The HannaCodeDialog won't recognize this as a valid HannaCode tag though. It just leaves it as is and doesn't convert it to a widget. The same happens if there is a link definition (<a href.....). Is there any remedy to this?
  11. Wow, that works great, thank you! I didn't realize I could just check for the reference field=current page. That does make it really easy though.
  12. I have a bunch of FAQ pages that each have a page reference field on them. When I go to a page on the site I would like to pull back a list of all the FAQs that include the current page in it's page reference field. Is that possible? matt
  13. Thanks all. I cleared and refreshed browser cache and it didn't make a difference. But, it did make me check my browser version and realized it needed an update (I was using Vivaldi). Once I did that everything is great. Thanks!
  14. Is the UIKit admin theme supposed to look like this when editing fields and templates? It seems like I did something wrong.
  15. I think it is the same problem (I read the rest of the thread). Updating made progress but then I was getting the same error as @theo. I'm a beginner with processwire so I will let you two hash things out and try to update again in a few days.
  16. I am running ProcessWire 3.0.77, PHP v5.6.30 There is no duplicator log in the logs folder. I didn't see any errors on the server or PHP logs. I am running XAMP on my local machine for this test site. I do not have any CRON or timings settings defined but have selected none. I assumed this mean I could run the process manually.
  17. I am trying to use the duplicator module and I can't get it to create a 'package'. I can click on the button to create one but it just shows "processing..." briefly and then goes back to the create package button. Does anyone have experience with this module? Matt
  18. Thanks for all the helpful information. I am making the site for a local government agency so I will probably use a couple of these suggestions in tandem. Also, all potential editors will have a fixed IP address so the .htaccess solution might be the simplest.
  19. How do you handle hiding the admin logon page in a live site? Currently, all I need to do is append the root url with /admin and I will be presented with the opportunity to log in. I don't want internet users to have that ability. Of course, I want to be able to log in and make changes but allowing other users to see the admin login screen seems to just beg people to try and guess the name/password. Thanks...
  20. Nevermind... I just realized I had the page reference already stored in the FAQ item so I can just list them that way. Yes, I feel stupid...
  21. Is there a way to find all the pages that refer to the page being displayed. An example may help here... I have a list of FAQs. Each FAQ can be linked to from any number of pages. The FAQs are showing up in searches which is ok. When the visitor clicks on the FAQ I want it to display the FAQ question and answer and have a list of links at the bottom to all the pages that contain this FAQ in it's page reference field. I searched all over the forum and couldn't find anything. Hopefully there isn't a $pagereference function in plain sight to make me feel dump...
  22. A couple of good suggestions. Thanks! I think one of those will do the trick nicely.
  23. I have a situation where I have links to a bunch of forms on my site. Every year the links to the forms change slightly, adding the current year to the end. So it is something like http://www/somewhere.com/form1/2017. Next year it will be the same thing but with 2018 in the URL. I was hoping HannaCode could help me out here by letting me create a snippet that would read the year from a settings page and insert that at the end of any links I specify. So in the CKEditor I create a link, add [[cyr]] (my HannaCode snippet that pulls back the year from the settings page and I verified that it is indeed working properly) to the end and instead of pulling in the year it is just encoding the [[cyr]] into the URL. I was expecting http://www.somewhere.com/form1/2017 and I'm getting http://www.somewhere.com/form1/%5b%5bcyr%5d%5d . Is HannaCode not able to work with raw HTML this way? Is there some other way to do what I'm trying to accomplish? I really don't want to go around the site updating 100 links when a new year comes around. All the links are to forms on an external site in case that helps... Thanks.
  24. Thank you. That was helpful.
  25. I'm a newbie with process wire and am still trying to think the way it thinks. One thing I am having trouble with is naming pages. How does one go about naming pages for say a list of quotes? You can't make the name of the page the whole quote as that would lead to REALLY long page names. You can't just use a random number because you would have to manually create one for each page. This is possible of course but a pain. Is there any way to give a page a random title? Or am I approaching this all wrong (most likely). The same problem could occur for a list of FAQs though FAQ questions are usually shorter than quotes would be but not always. Thanks for any help.
×
×
  • Create New...