Jump to content

cb2004

Members
  • Posts

    452
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by cb2004

  1. @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?
  2. 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.
  3. 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.
  4. Oh yes, forgot about helper modules. Good shout @Ivan Gretsky
  5. @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.
  6. 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.
  7. 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.
  8. 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.
  9. ProCache strips out all comments as well. Do you have that installed?
  10. @pwired for me it helps me with both. How about you?
  11. Huge update to save us all time. I would buy you a beer (if you drink alcohol) every Friday if I could.
  12. 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 ?
  13. What a great module, only just found it after all these years. One for my default toolbox.
  14. Yes I am having issues as well. When the superuser is checked it is not shown for superusers but it is for other roles.
  15. 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.
  16. Loving the tab feature, great addition. Can this be used within a combo field to group the subfields together?
  17. I have worked with a few multilanguage sites in ProcessWire and always found it so easy. We recently took on a WordPress site with multilanguage and wow, what a difference. I appreciate its all about the plugins that were chosen, but the plugin used is in the top 2 and it is so clunky. An entry for every language, so you have to upload the same images for every language just to change the text (I know there will be better ways to do this when you dig deep, but I am talking out of the box). Well done @ryan, when the next multilanguage site comes up I will always be confident in what we use.
  18. @bernhard I had nothing groundbreaking going like a module or anything, but I had users being created using the API by following: https://gist.github.com/woganmay/4c15a0f7c16e41ab3a3ea1a73c595bf9 So when a user was logging in to the members area I had created in ProcessWire, it was creating a user on the forum with the same email address and password as what they had just logged in with. I never got round to getting them logged in to Flarum unfortunately so gave up, but I was obviously looking to remove some options from Flarum like logging out, and registration and stuff. It seems this could be a good thing to look at: https://discuss.flarum.org/d/21666-php-and-wordpress-single-sign-on-sso-with-optional-jwt-addon
  19. Anything like this would be beneficial, whether you make any money from it, who knows, that's the risk you take with anything monetary. But being 65% of the way there is better than 35% right? I tried integrating with Flarum once, I got 50% of the way there, registering users on first login to ProcessWire, or however I wanted it to work, but couldn't get users logging into Flarum when they logged into ProcessWire. They had some weird setup as far as I remember and dodged the issue. If its that far along would love to see it ?
  20. Sounds great. I haven't been part of the test squad but I am looking forward to seeing this hit production. Good work ?
  21. Same as @teppo, upgraded a lot of sites to the latest dev midweek and switched them to PHP 8.1. So far all good.
  22. I would love to test as I am sure many others would, but I don't have time to add value at the moment. I will be purchasing as soon as it is released however. Happy bug hunting people.
  23. I know that I have done this before, I just cant find the project, and cant remember if I used PHP or the API. Basically if a file is an SVG I want to display the code inline and not in an image tag.
×
×
  • Create New...