-
Posts
461 -
Joined
-
Last visited
-
Days Won
7
Everything posted by Tom.
-
Thank you very much, much appreciated
-
Thank you, it was a very thought through decision. We almost always avoid scrolljacking (I'm personally like yourself, not a fan). However we really wanted to give a full screen almost TV like experience for this. We felt this was the best way at the time. Maybe it's something we could revisit in the future if we find a better alternative.
-
Thank you Lost, I really wish I could give you some useful information on how we convinced EIZO to use ProcessWire. However the truth is the choice of CMS was never a requirement and was left completely up to us. Since last year when I first discovered ProcessWire, I've actually never had trouble selling it in. Mentioning it's much simpler to use and securer than competitors, that more is possible with the flexibility of ProcessWire than what is with other CMS, always helps. I've actually had one site which I converted from CraftCMS to ProcessWire due to the speed in which ProcessWire runs with ProCache. Really, ProcessWire sells itself.
- 11 replies
-
- 10
-
-
Thanks man, good old leaflet + mapbox. You can do some amazing stuff! I'm now using that over Google Maps as it's much easier and also popups are simple to create.
-
Recently we have had the absolute pleasure of working the professional grade monitor providers, EIZO. EIZO provide colour accurate monitors, so we took heavy influence from colour in our design process. For the website, as always ProcessWire has been a perfect fit. The modules I have used are as follows: ProCache ProFields Hanna Code MarkupSEO ColorPicker MapMarker MobileDetect Any feedback would be much appreciated — http://eizocolour.com/
- 11 replies
-
- 14
-
-
The Page object being accessed is the exact reason for me wanting to move over to render. Currently I'm using wireRenderFile and passing the page object as a variable.
-
Ah, I saw it here: I thought maybe it was support since this example was given by @Soma EDIT: Added a github request: https://github.com/ryancramerdesign/ProcessWire/issues/1970
-
I've always used wireRenderFile() and this has been fine for me. However I find it much cleaner to use $page->render() or $page->renderValue(). I'm just trying to get my head around it. Usually I would do: <?=wireRenderFile("ui/file", array("value" => $page->field, "closing" => "..."))?> However how do I achieve the same with render() ? I've tried: <?=$page->render("file", "ui", array("closing" => "..."))?> but accessing $options['closing'] returns blank. For a better example of my code, this is what I'm trying to achieve: <div class="uk-grid uk-grid-small"> <?php $new = $pages->findOne("template=activity, sort=-created, limit=1"); $event = $pages->findOne("template=event, sort=-created, limit=1"); ?> <div class="uk-width-large-1-3"> <?=$page->renderValue($new, "large/activity", array("title" => "New"))?> </div> <div class="uk-width-large-1-3"> <?=$page->render("activity", "large", array("title" => "Staff Pick"))?> </div> <div class="uk-width-large-1-3"> <?=$page->renderValue($event, "large/activity")?> </div> </div> Also it makes sense to me for renderValue to be? <?=$page->renderValue($new, "activity", "large", array("title" => "New"))?> In large/activity.php I've tried <?=$options['title']?> but nothing is output.
-
I'm getting the following error after updating to 3.0.29 when trying to save a page Error: Call to a member function add() on a non-object (line 629 of /home/peterand/public_html/vpdd/wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module) Anyone got any ideas? EDIT: Sorry, didn't check GitHub: https://github.com/ryancramerdesign/ProcessWire/issues/1965
- 1 reply
-
- 1
-
-
Try: $field = $page->fields->find("section_repeat.section_title='Section 1'");
-
Shameless bump
-
Sorry when I say render out a foreach, I quite literally mean $page->render("repeater_block"); inside /fields/repeater_block.php using $page will return the page the repeater is on. So doing $page->get(1023)->render("repeater_block"); means I can't access the current page inside the repeater. Even when using $page. Thanks for your input, I've explained more above - @Macrura @LostKobrakai @tpr
-
I'm rendering out a foreach based on a Repeater field, however I'm using it for link blocks and I don't want it to display if the block links to the current page. Using $item->link != $page doesn't work because $page returns the page the repeater is on, not the page we are currently viewing. EDIT: Explained 'betterer' Sorry when I say render out a foreach, I quite literally mean $page->render("repeater_block"); inside /fields/repeater_block.php using $page will return the page the repeater is on. So doing $page->get(1023)->render("repeater_block"); means I can't access the current page inside the repeater. Even when using $page.
-
I'm very interested in looking more into this. Possibly you could share me the infected download? I'm really interested into how this could have happened. The form you presented doesn't really suggest an attack could have been delivered that way. You suggested that the uploaded files attack WordPress so it could possibly be a bot as it is only making guesses on what CMS you are running. However some how it knows the file structure of ProcessWire. Also it doesn't say how files have been added to root or modified in root.
-
Hello, I would also like to donate my services to help get you back on track. I've seen my fair share of WordPress sites hacked. We don't want that to CMSCritic. Front-end developer, so I do a lot of front-end facing functionality and UI/UX. If someone would like to create a private bitbucket team for this, maybe it can be open to the community.
-
PW 3.0.25 & 2.8.25 – Enhanced page finding selectors
Tom. replied to ryan's topic in News & Announcements
Excellent update! Thanks Ryan! -
Interesting, I agree with teppo. This could cause caution for something bigger going off here. 777 file permissions isn't great by any means, however for them to understand the ProcessWire file directories could mean that this was a more targeted attack.
-
AsmSelector doesn't seem to be loading if it's in a repeater or matrix repeater 3.0.24. However putting an Asm field outside of the matrix will load the javascript needed to make it work inside the matrix.
-
- 1
-
-
I was just about to buy ProCache, however with the recent situation in the UK the pound has absolutely crashed. It would cost most roughly 40$ more from before the crash.
-
Can't you just do a selector for the field? $pages->find("repeater.count>0")
-
Internal server error when trying to edit a page
Tom. replied to Christoph's topic in General Support
I had a 404 when trying to save a page, it turns out it was Mod_Security being hit. Not sure if this is relevant? -
This still returns the same results. S10 and so on. EDIT - Got it ~='S1 ' Thank you for your input, however is there anyway to do this with a selector?
-
Hello, I'm currently using Google Geocode to get a postcode from the input. Based on that it searches for matching postcodes. As this will only use area code for example S10 from the full postcode S10 3AQ for example. So I'm using the selector ^=S10 which works great, until I need to search ^=S1 then it will return everything even S17 3AS. Is it possible to search whole words? In the documentation it says it does, however S1 is the start of the word not the whole word when it comes to S17 3AS. Thanks, Tom
-
Exactly my thoughts, as I mentioned, I fully understand it's not a bug. It was strange for me because I updated to 3.0.21 just about the time they rolled this out. I tried to crop images and it would corrupt the image. Naturally as I wasn't informed of this caching I thought it was a bug. This post is purely for people who may experience this in future. However, I think this maybe a rare case as you mentioned. I would full expect a host to inform me when changes are done like that.
-
I've recently started having strange problems with ProcessWire on my host. Things not saving, not updating. Various other problems. The problems seemed to be due to caching, as if I saved the page, did a hard refresh, then visited the page I edited, did a hard refresh. It would work. Otherwise data would get corrupted. After questioning my hosting about Caching. They informed me that they have recently installed UNIXy Varnish to help with page load times. Great idea in concept, however it was quite confusing for me. Luckily there is a way to disable this in cPanel, however I would like to bring it to peoples attention as it's appearance does come across as a ProcessWire bug.