-
Posts
2,769 -
Joined
-
Last visited
-
Days Won
31
Everything posted by Martijn Geerts
-
Users - pausing and user overview
Martijn Geerts replied to Peter Knight's topic in Wishlist & Roadmap
With the API you could unpublish a user. Unpublished users can't login. -
Hi, if you only need 1 image you can use https://processwire.com/talk/topic/6540-markup-rss-enhanced/.
-
Challenge - How long would a ProcessWire Checklist be?
Martijn Geerts replied to mr-fan's topic in Pub
I think it has to do with people like Jeffrey Zeldman, he likes wordpress and founded Alistapart. We all know Alistapart has done very good for the web developing world. -
anybody could show an example of how to use $config->ajax ?
Martijn Geerts replied to adrianmak's topic in Getting Started
When in template context you could return instead of exit. Somehow return gives me a better feeling then die the script. -
Hi Barry, you could install Admin Custom Files and use the 'ProcessPageEditTruncate.js' drop-in. That one is multi-language aware.
- 67 replies
-
- 1
-
- Inputfield
- UI
-
(and 2 more)
Tagged with:
-
Template Cache: Define cache forking variables
Martijn Geerts replied to tsdtsdtsd's topic in Wishlist & Roadmap
Works perfectly ! I sometimes use 'file based' url segments. Then I create for every URL segment a (nested) folder. // urlsegments folder in the templates folder, when the urlsegment is there, load it! if ($input->urlSegmentStr && $page->id !== $config->http404PageID) { $segment = './urlsegments' . $page->url . $input->urlSegmentStr . '/segment.php'; if (!is_file($segment)) { throw new Wire404Exception(); } return include($segment); } -
How to display newly added field value in page.
Martijn Geerts replied to Citytech Tester's topic in Getting Started
Looking great ! Thanks coming back on this! -
Thats great Tom!
-
Thanks @Nico, I did the same suggestion earlier some where.
-
How to display newly added field value in page.
Martijn Geerts replied to Citytech Tester's topic in Getting Started
Hi Citytech Tester, Please don't get me wrong, but I'm curious what went wrong. And probably others can learn from it to. And yes, you're free to ask more questions, preferable as you said in a new topic. You're welcome ! -
How to display newly added field value in page.
Martijn Geerts replied to Citytech Tester's topic in Getting Started
To catch up with a new question, without telling us and what went wrong doesn't feel right to me... probably it's just me.... -
Is ACF WP's way to make it more like PW?
Martijn Geerts replied to baymarketingco's topic in Getting Started
Dude, That's Rude! -
Is ACF WP's way to make it more like PW?
Martijn Geerts replied to baymarketingco's topic in Getting Started
Yep, thats possible. ps, I like the beard ! -
Damn, that loads quick ! Pages are switched before the links are clicked.
-
Think you can use // authenticate returns true or false // ps: User is a user object if ($session->authenticate($user, $pass)) { echo 'yep password is the same'; }
-
How to override 404 for unpublished pages
Martijn Geerts replied to alexcapes's topic in API & Templates
I'm trying here, but so far no luck. (Returns empty page) Sorry... Only LostKobrakai's redirect seems to work. -
How to override 404 for unpublished pages
Martijn Geerts replied to alexcapes's topic in API & Templates
Adrian has a starting point for you Alex -
How to override 404 for unpublished pages
Martijn Geerts replied to alexcapes's topic in API & Templates
A return return $aPage->render(); would do I guess unless you want a redirect of cause. More info: https://github.com/ryancramerdesign/ProcessWire/blob/dev/wire/modules/Process/ProcessPageView.module#L582 -
How to override 404 for unpublished pages
Martijn Geerts replied to alexcapes's topic in API & Templates
Think you can hook before ProcessPageView::pageNotFound and render some other if wished. -
I don't think it's a bug in this module, have seen it in regular InputfieldImage as well. Can you open the console and look if you see something unexpected ?
-
I have tried Ionic and Onsen.io but handeling multiple pages was a pain in the ass. (writing routers for Angular with PW API ) That's because I want to use ProcessWire as a base to build from. So probably it's more of a workflow problem then a problem of the framework.
-
Don't get me wrong but what you state here is plain wrong. ProcessWire is more 'content management system' then most website/blog manage systems. Processwire as Restfull or content deliver API is a great! Handeling 100.000 users is just a breeze. So I would power up my app with ProcessWire just because it's the easiest and best choice ( marketing mode ) On the other-hand, when developing on this scale, you need time to develop. Customers who give you these jobs should know or will learn that building something 'big' will cost big money, regardless of system.
-
Exactly, I don't know PhoneGap, but going when the 'app' route I would consider PhoneGap for wrapping it up.
-
I have not much experience with mobile apps. But the route I think I would take is the route of HTML CSS and JS with a 'simple' framework. Currently i'm building a Kilometer registration app for my self using Ratchet and I must say I love it. The simplicity of using ajax loading pages (push.js) fits nicely the way I work with ProcessWire. The 'app' doesn't have to be wrapped up in an app layer, but should be possible when I later wish to do that.