Jump to content

cb2004

Members
  • Posts

    578
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by cb2004

  1. There seems to be an error for me on the latest ProcessWire: Fatal Error: Uncaught Error: Class "TextformatterHannaCode" not found in site/modules/HannaCodeDialogTiny/HannaCodeDialogTiny.module:84 There was an upgrade to TinyMCE in this version so I am not sure if that has anything to do with it. I have selected 'hannadialog' and 'hannadropdown' in the 'External plugins to enable' section of the field.
  2. @ryan looks like this was added in 4.22.0 and can be disabled: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-versionCheck
  3. Could we see a version 3.1 in the dev branch this week? I am always wondering what it would take to get that digit rising.
  4. I have never used the access for fields before. I am sure you could do this with a hook, but sounds like it should be part of the core as well.
  5. Within the field there will be a tab for 'Access'. You should be able to do what you need to do in there.
  6. So so good. Can't wait to put this on a photographers site tomorrow.
  7. I think this really depends on the agreement you have with your clients. If my clients are not on a monthly retainer, ProcessWire doesn't get upgraded until they want some work carried out on the site. If there were a slew of security issues with ProcessWire then an auto upgrade might be a good idea, but until any get found, I don't think its needed.
  8. You have done it again. I need a feature for a site and there you go and add it. Have a good weekend Sir.
  9. I just told my clients that they have started charging to use the api and luckily they are none the wiser. Still you can only retrieve a small amount of tweets on the free tier of the api.
  10. This module no longer works as it uses v1.1 of the API which is deprecated.
  11. @nbcommunication false alarm, I was just seeing the Testers section and adding them to that and not the Instagram Testers section which is at the bottom. So I am nearly there now I do believe.
  12. @nbcommunication I think this now has different steps to setup, I will let you know when I get to the bottom of it. Essentially when it comes to adding Instagram testers it is not finding the Instagram username and it is asking for the Facebook username. As they now share logins I am guessing that has something to do with it, I will let you know when I know more, just waiting on the client.
  13. I have only ever moved 1 site away from Drupal into ProcessWire, the client was very relieved that we did the move.
  14. Hi @cwsoft, sorry you are right, is was a very vague Sunday post whilst trying to spend time with the family. So basically there could be /lp/offer1/ but if I went to /offer1/ I would like it to redirect to the correct page, as this is a shorter URL for printed material. This is what we have currently in _init.php <?php namespace ProcessWire; $wire->addHookBefore('ProcessPageView::pageNotFound', function($e) { $name = str_replace('/', '', $_SERVER['REQUEST_URI']); $count = wire('pages')->count("name=$name, include=hidden"); if($count) { $id = wire('pages')->find("name=$name, include=hidden"); $url = wire('pages')->get("$id")->url; wire('session')->redirect($url); } }); Cheers
  15. I have a site that has its landing pages underneath the URL /lp/ to keep things tidy in the admin. I have had to change things along the way with different ProcessWire versions and a bug has just been discovered with Facebook links as they add a variable to the URL. What is the best approach for the latest version? I am pretty sure you can make the names of certain templates unique so that would be my first step, and then I am thinking of plugging into ProcessPageView::pageNotFound Cheers all.
  16. I am getting a lot of modules saying they still need upgrading after this update, anybody else?
  17. @Markus Thomas I am not sure this is the case as ready.php doesn't need to exist and it could be coincidence maybe? I think it is down to rate limiting for the Github API so sites that are on shared hosting may not display the results at one point, but they do the next, that was always my findings.
  18. @ryan awesome, I cant wait to give it a try
  19. @Robin S this still makes an appearance on every install I have. Is there any way to extend the module so that it adds options for pages at top?
  20. I have a site that needs to show a slideshow of results. I have managed to create the array of pages and sort them accordingly, but I need to merge or collect the data in a particular $pages->find. Here is the current code: <?php $template = 'template=61'; $sort = 'sort=-int_01'; $results1 = $pages->find("$template, comboResult.name=Lottery1|Lottery3, limit=2, $sort"); $results2 = $pages->find("$template, comboResult.name=Lottery2, limit=2, $sort"); $results = PageArray([ $results1, $results2 ]); $results->sort("-int_01"); foreach($results as $r): $content = $r->comboResult; ?> <div class="results swiper-slide"> <div> <h2><?= $content->name ?> - <?= $r->date_01 ?></h2> <?php $number = str_split($content->number); echo '<p class="numbers">'; foreach($number as $digit) echo "<span>$digit</span>"; echo "</p>"; ?> </div> </div> <?php endforeach; ?> So, what I need to do is merge the results from $results2 and place them in a single slide. As the $content->name and $r->date_01 should be the same (there are 2 draws on the same day), a check on those would be ideal as well. Then the results numbers would be displayed and there would be 2 sets of numbers. Any help would be massively appreciated, my brain is tired. It basically needs to show 3 slides, 1 with the results from Lottery1, 1 with the 2 results from Lottery2, and 1 with the results from Lottery3.
  21. I agree with you 100%, but when I am migrating them from said CMS to ProcessWire and they are used to doing things a certain way, sometimes I don't have the time or energy to argue with them to do it another. At least I can say OK you can post media, but here are the pros and cons. I am going to give the module a whirl this week and put it in our base install. I am looking forward to it. Edit: but saying that our base install uses Combo so I need to wait for support in that.
  22. Oh yes, forgot about helper modules. Good shout @Ivan Gretsky
  23. @ryan I haven't tested this out yet but from what you are saying (you sound very passionate about the change), I am as excited as you have been to jump in. We start a new build next week and I am going to take the leap as it is going to be merged in the core. The site won't be live for a few months so it will be a good opportunity for us. Just as an early question, one thing my clients always ask for is the ability to embed social media posts or similar, it's the only thing they miss from another CMS which I think you can guess what it is. Is TinyMCE geared up for this as I always found CKE a complete nightmare to manage this? Finally, I am guessing with old sites everything will have to be reconfigured with regards to toolbars/settings? Thats fine, but the core code will obviously have to contain some instructions that CKE is EOL, and some documentation will have to be created. I am sure you have already considered this, but we obviously have A LOT of old sites that will need reconfiguring, and lots that use Combo now as well.
×
×
  • Create New...