Jump to content

rick

Members
  • Posts

    646
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by rick

  1. This is great stuff! Got a question. Who is maintaining the PW Demo site? It would be nice to have these new features incorporated into the skyscrapers. Also, the demo is still on version *.101 and not using ssl.
  2. Hello @Greg Lumley, From what I understand (and I am not an expert as are the others here) there are two ways to process an ajax request: 1, create a page with corresponding template and php file (preferred/common method), or 2, create a php file outside of the site folder. Which method you choose has different requirements. The common method is to create a php file (in templates folder) named ajax_contact.php to handle the ajax request, assign that file to a template named ajax_contact, and create a page for that template named ajax_contact. Your ajax url them becomes the name of that page, ie, /ajax_contact/. Note that the page should be published or PW will ignore it during your request. Method two I think requires that you initially load PW (index.php) in your ajax_contact.php file since you are outside the document root referenced during the processwire installation. In this case, your ajax url would be the actual php file name; ajax_contact.php. I don't know which method is preferred, but I use the first method simply because that is the way processwire handles normal page request. I think you have both methods implemented in your script at the same time when it should be one or the other. I hope this helps. I'm sure someone more knowledgeable will provide you with a better answer, and hopefully correct me as well.
  3. Thanks @adrian, that was indeed the issue.
  4. Howdy @adrian, I created two custom image fields, both type integer. This image field has two images while the other field is empty. I do not get this error when running stand alone adminer. I have deleted and recreated this field with the same results. Any ideas why this error only shows for this custom field and not the other? Thanks for your help!
  5. Did you try giving the LazyCronLock.cache file 664 permissions?
  6. I draw the line at what is necessary for the module to begin functioning and what is produced during the normal functioning of the module. I put the former in the config while the latter is generated during runtime.
  7. Hello @eri, Apologies for the delay in replying. I am recovering from a surgery last week. All is well. I will send you a PM with my contact details if you wish to discuss this further.
  8. Hello @eri and welcome to the forum. What you are describing is definitely doable with ProcessWire. In the simplest terms, you create a page for each product. Then you present those products on a main page where the user can select one or more products. Each selected product can be stored in a session or cookie. When the user is finished (Clicks the RFQ button) your page sends an email to you and the user (confirmation) listing all selected products. Also, there are many design options available to "fancy-up" your interface. It all depends on how much time you want to spend on it. Hope this helps
  9. I like the site. Nice job. Just a few things that caught my attention: 1. The header mouse-over shadow causes it's position to jump vertically, which feels odd. 2. Two languages present at the same time is strange since I can barely read in one language. ? 3. The login/register oscillation makes it awkward to read -- You have to wait for it to re-display before selecting an option. 4. The volunteer page has no header or menu option. It looks out of place with the rest of the site. (Also mixed languages) 5. On the resources page, I would add a description for each of the textbook links so the visitor understands what they are selecting. Nice artwork on the site.
  10. Doesn't that pro dev tool thing have a feature to show user activity. Couldn't that be intercepted to accomplish your goal? I'm just thinkin' out loud.
  11. This is the only part where I wasn't scratchin' my head ? No. You may have multiple fields of the same TYPE, but you must have unique names, similar to files and file names within a folder. You can create a common field that is used within different templates, but you cannot use the same fieldname multiple times within the same template.
  12. I'm not sure I understand your goal here. When you are coding your template files, Processwire sets $page to the current page. Therefore, the $page->id represents that page. I don't know why you would want to change the id. Or are you referring to a custom URL?
  13. Hello @Pip, 1. Go to Setup > Templates and click the template you want to edit. Processwire displays a list of fields. 2. Click the Title field and enter the new title text you want displayed. 3. Click save. You can change any Label of any field in any of your templates to better suit your requirements.
  14. The naming convention is actually the page ID, so 1234 in your example is the page whose id is 1234.
  15. In your /site/config.php file do you have an entry that looks like this: $config->appendTemplateFile = "someFileName.php"; If so, then you can edit that file (in /site/templates) to replace the gtag entry. You may also want to check the /site/templates/home.php toward the bottom of the file. If not, then PM me and we'll go from there.
  16. Okay, it appears that the gtag information is hard coded into the footer. You can copy the valid gtag data from google and replace the wrong data. Once that is done, you can re-verify through google. If that doesn't work, then let me know and we'll go the PM route.
  17. Click the Templates item on the breadcrumb, then see what is in the basic_page template. Edit: If you would like for me to take a look, PM me and we can go from there.
  18. So when you go to Setup > Templates and click on Home, what fields are listed? You may also want to set debug = true in your /site/config.php to display additional information while you get things sorted. You can set it back to false once it is working.
  19. What template does the Home page use? ( Home > Edit > Settings) Check that template for the google fields, if any.
  20. There does not appear to be a site settings type of page based on the pdf image you supplied. However, the gtag is in the footer of your site. Have you looked in the /site/templates folder for a footer.php file to see if it is hard-coded? edit: The <body> tag is in the wrong position also. edit 2: Welcome to the forum, @nwashburn!
  21. It is a security risk by exposing the url to login to the admin side of Processwire to people that don't require access. Ah-ha! ? Everyone here has been at the starting gate, but I have trouble getting out of the gate. LOL. The first thing you should know is that Processwire is not like *any* other CMS/CMF. Specifically, the terminology may be confusing at first, eg, "Page". I would recommend that you read up on the getting started topics of this forum, and read the articles they may link to. I know, it's the boring part. Believe me, you will sleep better when you understand how PW works.
  22. Hi @DaveC, Is there any reason you have the admin login link in the footer? If you are the only person logging in to the admin, then I would suggest you remove it. If there are others who must log in, then I would suggest you create your own login and redirect a valid user to the admin page.
×
×
  • Create New...