Jump to content

Greg Lumley

  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Greg Lumley

  1. Thank you for replying Robin! I thought that was the case. Thank you also for supplying the topics too. Greg
  2. Happy 2022 everyone, I hope you have a fantastic year! A little help, please. I want to make the "Posts" page on my website the default home page. This is the site: www.greglumley.com What is the most efficient way to do this? Thank you so much. G
  3. I figured it out; it was my .htaccess file. I hadn't copied it across properly, so the mod-rewrite wasn't active. I'd also made modifications to the on-site-file which didn't work in the dev-url.
  4. Hi, I'm stumped. I have a site I've moved from the live server to a dev-server for further development. Only the home page loads, it shows up perfectly, menus and all. Clicking on any menu links give an error. I can't even get into the admin section. I'm sure this is a simple fix, but I'm unable (after hours) to figure out the issue. Any assistance would be greatly appreciated.
  5. As it turns out, the error was mine! I wasn't using the same field as I thought. page_body was correctly setup with the 'Hanna Code Text Formatter' The actual field I was using is blog_body (the disadvantage of not starting from scratch while learning) blog_body was not set up to use the 'Hanna Code Text Formatter' Thank you all for trying to help me. 😁
  6. Hi, this has me stumped, please help. 😳 I'm using a field 'page_body' in a page-template as well as a blog-template. HannaCodeDialogue is enabled for the field page_body. HannaCode works perfectly in Pages but not in Posts. The dropdown is visible in the pages edit template but not in the posts edit template. If I manually put the code into the Posts Template i.e. : [[YouTubeVideo videoName="my_vid"]] it simply displays the tag. I'm quite sure this is a config error of some sort but for the life of me, I can't find it. Thank you. Greg.
  7. Thank you so much for for your help. I will stick with the template method since it sticks to working within the ProcessWire framework. πŸ™‚ G
  8. Hi, I've read up quite a bit about connecting to Ajax but it's going over my head as to how to implement it properly. I can get it to work when I put the processing script in the root but that's obviously not the correct way to do it. The page in question is a simple contact form that calls a php script using axios framework to process and send the email. This is the basic js code I have where ajax_contact.php is the processor... (linked to a form within a template.) I have read about $config->ajax etc... but still don't get how I should be implementing the "processor php script" correctly. Not that it's needed but this is the form I'm working on: https://www.lumleystudios.com/#contact axios.post('ajax_contact.php', params) .then(function (response) { console.log(response); //document.getElementById('output').innerHTML = response.data; }) Pardon me if this sounds like a dim question, I have an odd way of not seeing it the way everyone else does at time.s Thank you! Greg
  9. I'm having a little bit of a frustrating experience. Is there a way to stop CK Editor stripping certain code. I've just re-written a blog post with an unordered list. Even though CK editor includes this in the interface it doesn't like it and strips it. But not always. It seems that as the list grows it 'kills' it... How can I avoid this. πŸ™‚ Thanks. G
  10. I was going through the Hanna Code "Readme" in Bitpoet's editorial blog based off kongondo's Blog module and this particular line caught my attention: $f = $modules->InputfieldCheckboxes; $f->name = 'vegetables'; // Set name to match attribute $f->id = 'vegetables'; // Set id to match attribute $f->label = 'Vegetables'; $f->description = 'Please select some vegetables.'; $f->notes = "If you don't eat your vegetables you can't have any pudding.";//<<<<<<<<<<<< $f->addOptions(['Carrot', 'Cabbage', 'Celery'], false); $form->add($f); Very funny... 😁
  11. Hi Rick, I'd like it to be a front-end as in "user admin", so essentially a custom front end admin. If that makes sense. 😁
  12. Please pardon me if this is a silly question. I was wondering if anyone has designed a subscriber based system or any system where a user would create content and have rights to edit only that content. Something such as a listing site, craigslist etc? In my case I'd like to build some CRM management into my existing website. I'm asking roughly what your approach would or might have been πŸ™‚ I need a push. Thank you.
  13. Hi, I'm getting apostrophe's being rendered as HTML in the Maestro Output. What is the best recommended way to fix this? <meta name="description" content="Greg&apos;s wedding photography is fun, creative and natural. Capturing moments when know he&apos;s there. He makes you feel comfortable and his enthusiasm is infectious."> Thank you.
  14. Thank you BitPoet! I hadn't thought of that. πŸ€ͺ
  15. Okay, I'm still stuck on this... if the main.css is empty, where does the styling stored? In other words if I wanted to modify any styling where would I do it? Thank you. Greg.
  16. Aha! That makes total sense. Heck if I'd used my brain for a moment I probably could have realised that. Thank you Eydun. G
  17. Hi! In busy learning to know PW better I'm looking at existing code. I have Bitpoets Editorial Responsive Blog as example. While looking through the code I've just found this line in the blog-head.php <link rel="stylesheet" href="<?= $config->urls->templates ?>assets/css/main.css?ts=<?= time() ?>" /> I hope it's not a stupid question but I've never seen this before... main.css?ts=<?= time() ?> I notice the main template is empty but of course renders on the front end. Using a timestamp really has me totally confused. Can someone explain it to me please. Thank you! Greg
  18. Okay then I'm booting the module 🀣😁 no really, I am. And for the exact reason of learning ProcessWire. Thanks for the welcome! G
  19. Aha! I hadn't thought of the Roles part of it. That makes total sense. Thank you for replying.
  20. I realise this is actually a bit of a stupid post. I'm busy re-inventing the wheel here when Kongondo has created the ProcessBlog module with docs and pretty much all the questions answered. I guess I'm so used to being fed rubbish in the WordPress environment. 😁 I'd delete this if I could.
  21. Hi! I'm busy building a blog into my first test/learning/free/clients/project 😁 I've had a look at all the blog examples and there seem to be different ways of doing it. (the point of Processwire, I know) It seems this is generally how it's done: Master Blog Page - Blog Post Child Page - Blog Post Child Page - Blog Post Child Page What I'm particularly interested in is the Categories. What would you advise? Repeater Field? Tags? I think I've even seen Categories set up as Children of a master Category page too. The pages were hidden containing no What would you recommend? Thank you! Greg. Bare with me, I'm bashing my way through while I learn.
  22. It's like I walked into a hardware store and they said I can have every tool I'd ever need 😁
  23. Thank you Robin for your incredible answer. You've virtually given me a tutorial. This thread is gold!
  • Create New...