Jump to content

cb2004

Members
  • Posts

    542
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by cb2004

  1. @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.
  2. @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.
  3. I have only ever moved 1 site away from Drupal into ProcessWire, the client was very relieved that we did the move.
  4. 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
  5. 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.
  6. I am getting a lot of modules saying they still need upgrading after this update, anybody else?
  7. @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.
  8. @ryan awesome, I cant wait to give it a try
  9. @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?
  10. 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.
  11. 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.
  12. Oh yes, forgot about helper modules. Good shout @Ivan Gretsky
  13. @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.
  14. Agreed, I have requested this: https://github.com/processwire/processwire-requests/issues/455 I don't want to add a text formatter or a hook to achieve this as it is such a big optimisation for every site.
  15. If you want something official, then you could use this: https://processwire.com/talk/store/category/9-listerpro/ This has an export to CSV action which you would download from the relevant forum once you have purchased it. I am not sure as I haven't had the need for it yet, but Excel can then save to XML.
  16. I work every day with ProcessWire as 90% of our websites are built with it. We have a base install that we use for every new project, if anything from the weekly updates is an improvement on what we use in there, then we update our base install which will have the improvement on our next project. We also have a lot of retained clients who pay monthly to keep things running smoothly, again if there are any improvements in the weekly updates, we can slowly apply these to the retained projects going forward. The last major improvement in our workflow was the combo field which we use on all our latest projects, we wouldn't know about that if the weekly updates didn't exist. You mention being productive which I think is the best thing about ProcessWire. We have installs from years ago that are still running, and we don't have to worry about them, or care how they were built even if the client is not on a retainer, we just leave them. However, the client may come back and request some updates, we can start with running all the upgrades knowing that we have had very few issues in the past with just running upgrades, and we already know that behind the scenes there will be improvements in doing this, and improvements if we wish to use them with our coding. I guess what I am trying to say is you don't need to worry about the weekly updates if they don't have an impact on you, but the next time you check the documents you may see something that you can use as an improvement. I am sure nobody remembers all the improvements, I don't, nobody uses all of them, I don't, but they are there to use if you want and know about them. Everything still works with a site that you have already built if you just run an upgrade. There may be 51 weekly posts in a year I have no interest in, but 1 weekly post which is golden, I will take that for something I don't pay for (other than through the Pro modules). How does it make me learn coding, every day is a school day and seeing how things are done in ProcessWire makes me think in different ways when I am using other tools, I suppose that is what will happen when 90% of our websites are built with ProcessWire.
  17. ProCache strips out all comments as well. Do you have that installed?
  18. @pwired for me it helps me with both. How about you?
  19. Huge update to save us all time. I would buy you a beer (if you drink alcohol) every Friday if I could.
  20. I am very much looking forward to the FormBuilder updates as well, but lets not rush these things, Ryan can thoroughly test it on his client without upsetting us all if there are any bugs ?
  21. What a great module, only just found it after all these years. One for my default toolbox.
  22. Yes I am having issues as well. When the superuser is checked it is not shown for superusers but it is for other roles.
  23. Even though I have been using ProcessWire for 7 years, starting a fresh install with the blank profile showed me a few new things. Good work, part 2 would be great.
  24. Loving the tab feature, great addition. Can this be used within a combo field to group the subfields together?
×
×
  • Create New...