Jump to content

adrian

PW-Moderators
  • Content Count

    9,291
  • Joined

  • Last visited

  • Days Won

    309

adrian last won the day on February 25

adrian had the most liked content!

Community Reputation

11,366 Excellent

About adrian

  • Rank
    Hero Member

Profile Information

  • Gender
    Not Telling
  • Location
    Canada

Recent Profile Visitors

30,483 profile views
  1. Remember that version you are using not only has this fix, but lots of other changes for other bugs as well. Maybe it's time to post that version in its entirety somewhere - obviously with no support or warranty, but perhaps a repo that others could issue PRs against? Then again, I honestly think the entire storage and retrieval side of this module needs to be rebuilt from scratch. the inputfield is really pretty nice, but the rest is unfortunately very cumbersome and buggy. Of course, this is not an easy thing to get right, so I am not meaning to be too critical 🙂
  2. @Zeka - sorry, I am not sure - that Performance panel is not my own work - it comes from https://github.com/Zarganwar/PerformancePanel although it hasn't seen any updates in a long time. It would be great if you could figure out where the problem is coming from though if you have the time. @bernhard - thanks for the idea - but sounds like it's a no go afterall.
  3. Hi everyone, Having some weird stuff going on with comments - I think it's a new bug but would love someone to check for me to see if it's also happening elsewhere before I file a bug report. If I click the Approve link in the email notifying me of a new comment that needs approval, it looks like it has worked, but then when I visit the comments admin interface, it us still listed as Pending. Also, recently it seems, comments are just vanishing - their entries are missing from the database completely. Problems seems to exist from 3.0151 to 3.0153, but maybe earlier as well. Thanks for taking a look!
  4. Don't forget that Tracy's Module Disabler panel can quickly disable all autoload modules and includes a restore feature if those changes break things.
  5. My best guess is that it's an htaccess issue - most likely an AllowOverride setting that isn't letting mod_rewrite kick in as needed. If you're not familiar with these settings in Plesk, it might be best to submit a support ticket. First thing I would try is to add some gibberish text to the top of the PW root .htaccess file to see if it's being loaded and go from there.
  6. Don't forget Tracy's Captain Hook panel 😉
  7. The way other is to simply change the name of the page to match the ID is a hook in your ready.php // rename page to match its page ID $this->wire()->addHookAfter('Pages::added', function($event) { $p = $event->arguments[0]; if($p->template != 'basic-page') return; $p->setAndSave('name', $p->id); }); One thing to note in your module - you are hooking on "save", so it will rename it every time it is saved. If you need the other functionality of your module, perhaps you can change to Pages::added ?
  8. Then try the Hanna code approach and set up attributes for the video ID, and max width / height and wrap the iframe in a container. Google embed video responsively and you'll get tutorials on how the wrapping works. You might end up with a shortcode format like this that lets you insert that into the RTE with the video ID and a max width and the Hanna code takes care of inserting these into the wrapper and iframe HTML. [[video_embed id="" width="500"]]
  9. Are you embedded into a body of text that is wider than what you want the video to be? If the video is on its own, I would recommend checking the responsive checkbox and outputting this field inside a div with the max width you want. If not, then it might actually be easier to use the Hanna code module - then you can specify the url and width you want for each video separately, without the mess of trying to embed an iframe into an RTE field. Let us know if you decide to go this route and need help.
  10. Did you read the configuration notes in the module's description 🙂 "You may want to update the max width and max height settings on the module configuration screen."
  11. For a video embed, use this module: http://modules.processwire.com/modules/textformatter-video-embed/ and select the responsive option. If you need to tweak more settings on the video, then also install this: http://modules.processwire.com/modules/textformatter-video-embed-options/
  12. @antpre - I've just committed a new version - field pairings will now work regardless of the "ignore first row" setting. Please try it out when you get a chance and let me know if you still have any problems.
  13. that's exactly what I don't want 😞 Just a quick comment - that is exactly what you are doing here anyway 🙂 $channel->name = $this->sanitizer->pageName($title);
×
×
  • Create New...