Jump to content

Greg Lumley

  • Content Count

  • Joined

  • Last visited

  • Days Won


Greg Lumley last won the day on May 6

Greg Lumley had the most liked content!

Community Reputation

35 Excellent

About Greg Lumley

  • Rank
    Jr. Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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. 😁
  2. 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.
  3. 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
  4. 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
  5. 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
  6. 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... 😁
  7. 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. 😁
  8. 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.
  9. 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.
  10. Thank you BitPoet! I hadn't thought of that. πŸ€ͺ
  11. 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.
  12. 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
  13. 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
  • Create New...