Jump to content

Tom.

Members
  • Posts

    461
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Tom.

  1. Hello, Me here. I work for a creative marketing agency and I have worked with so many CMS's I dare not count. But some of the leading ones include; Concrete5, Drupal, Joomla and WordPress. We almost always used WordPress over these other solutions. It meant for quicker development times, need a slider? Sure Revolution Slider has you covered. I went on to start building sites by just filling a header and footer in and building the rest in Visual Composer. Sure enough... I got lazy. Now we have over 30 websites running WordPress and they are all running out of date, the WordPress versions, the vast amount of plugins. Keeping WordPress up to date and secure is a job within itself. Then stuff like this starts happening: https://blog.sucuri.net/2014/09/slider-revolution-plugin-critical-vulnerability-being-exploited.html. I now when ever we have the budget for a custom build, use ProcessWire. If I found ProcessWire earlier, I may have never used WordPress for custom builds unless client requested. ProcessWire's API is one of the most powerful I have used and kicks WordPress's WP_Query ass and without a 3rd party plugin (ACF) WordPress is a pain in the backside. ProcessWire is now my one true love and I'm sure destiny brought us together, but I believe we are made for each other.
  2. Great minds think alike don't they Tom. I mean, Reno.
  3. While ProcessWire is one of the most secure CMS's I know of. Attackers are smart and mostly, smarter than me.
  4. Diogo, you are amazing! Thank you very much. ProcessWire is so beautiful. Remove doesn't seem to be on the Cheatsheet. There has been quite a few times people have suggested using things, that aren't on the Cheatsheet. I would love to see the Cheatsheet updated eventually.
  5. I was wondering what you use the $permissions API for? I was trying to do if($permissions->get("page-edit")) { // content here } however it was $user->hasPermission("page-edit") I soon figured out.
  6. Hello, I'm created a site where it will have related case studies depending on the tags. I've got it working and it works perfectly, but I was just wondering if there was a more elegant approach using more of ProcessWires powerful API. So I have a page called Tags that are hidden, with the children being the tags themselves. On each Case Study I have a Tag field that is selectable from the Tags page. Then in my code I have: foreach($page->tags as $tag) { $a[] = $tag->title; } $a = implode("|", $q); $results = $pages->find("tags~=$a")->shuffle(); foreach($results as $result) { if($page->id != $result->id) { echo "<a href='$result->url'><h1>$result->title</h1></a>"; } } Let me know if there is a more elegant way of doing this. I'm obsessed with clean code Thanks, Tom
  7. That's funny Reno, ours look identical. That LightWire theme looks beautiful though! I would love to see a Reno-style skin for that.
  8. Hello, After racking my brains on how add an edit page button. I found that editUrl is missing from the CheatSheet. I added "/processwire/page/edit/?id=". $page->id, however I felt that wasn't right. After going on github and checking the default template I noticed that there was a editUrl function available. Would be nice to see it added to the CheatSheet or in the API Documentation. "http://processwire.com/api/variables/page/" Thanks,
  9. That is so much cleaner than I expected it to be! I guess I misunderstood shift() and pop() and it works so much better than I thought it did originally! Ah ProcessWire just keeps getting better and better! Thank you very much!
  10. So I'm outputting an image field array, I believe this is known as WireArray (bare with me, I only started developing for ProcessWire Yesterday). The cheatsheet has to be one of the best things ever! Not only does it show how simple ProcessWire is and how well crafted the API is, kudos to whoever came up with the cheatsheet. One thing I would like to see is example usages when you click more because at the moment, more doesn't really tell you anything more. I can tell it's inspired by jQuery's API documentation so I have no doubt this will be coming. So, moving on to the problem I'm having, looking at the cheatsheet $a->shift() will remove the first item for the array and then return it. So I have $gallery = $page->gallery; // A multi-upload image field $featured = $gallery->first()->size(800,550)->url; // Works fine $slider = $gallery->shift() // Doesn't work $slider = $gallery->pop() // Doesn't work $footer = $gallery->last()->size(800,1100)->url; // Works fine So my page layout goes like this: ___________ |__________ | <-- $featured // First Image | | | $slider // Image Gallery --> | | | <-- $page->content // Body Content Field |_____|____ | |__________| <-- $footer // Footer Image I have no idea if that example helps, but for usability that's how I want the gallery to work, so the user can just drag all their images in at once, move the featured to the front and the footer to the back. However $gallery->shift() returns nothing and $gallery->pop() returns nothing. $gallery->slice(1) get's rid of the first one in that array but I want to get rid of the first and last. Thanks, Tom
  11. Tom.

    Relaunch walder.ch

    This looks beautiful I've been using WordPress for quite a while, but I can't escape the fact that it's a blogging system over a CMS. I work at an agency and we publish WordPress sites all the time. We now have a network of about 40 of them and trying to keep them up to date is a daunting task. I've used other systems to try and move them away from WordPress such as Concrete5 and while that was better and easier for development, it was trickier for the clients with the drag and drop interface. Where I work we all fell in love with Craft CMS but found it far to expensive for our clients. ProcessWire seems like the perfect solution and I'm currently in the process of getting my head around everything, I love the API. It's always really encouraging to see websites as beautiful and as crafted as this, it really gives me encouragement and a goal to what I want to achieve. The best thing I've found about ProcessWire is things like Guess CMS have no idea what CMS you are running, and I imagine bots too. That seems super secure to me!
  12. Here is a push I've done for the CKEditor Theme (https://github.com/Renobird/AdminThemeReno/pull/11). Would be cool to have some feedback
  13. Hello, newbie here. I work at a creative marketing agency as a designer/front-end developer. I've used many CMS in my time WordPress, Craft CMS, Concrete5 and so on. Process Wire is just an extra CMS that I'm way too excited to add to my list. Technically it looks amazing. I tried the demo and through the back-end looked stylized and modern which I loved (being a designer, I get a little finicky about cluttered back-ends), however when I installed it for myself I was disappointed to see that this wasn't the default theme and required some tweaking to get it to work. Is there any plan to make this the default theme? I really feel like this is the first CMS system I can really get involved with, personally I would love to see this replace default.
×
×
  • Create New...