Jump to content

Martijn Geerts

PW-Moderators
  • Posts

    2,769
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Martijn Geerts

  1. With the API you could unpublish a user. Unpublished users can't login.
  2. Hi, if you only need 1 image you can use https://processwire.com/talk/topic/6540-markup-rss-enhanced/.
  3. 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.
  4. When in template context you could return instead of exit. Somehow return gives me a better feeling then die the script.
  5. Hi Barry, you could install Admin Custom Files and use the 'ProcessPageEditTruncate.js' drop-in. That one is multi-language aware.
  6. 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); }
  7. Thanks @Nico, I did the same suggestion earlier some where.
  8. 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 !
  9. 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....
  10. Damn, that loads quick ! Pages are switched before the links are clicked.
  11. 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'; }
  12. I'm trying here, but so far no luck. (Returns empty page) Sorry... Only LostKobrakai's redirect seems to work.
  13. 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
  14. Think you can hook before ProcessPageView::pageNotFound and render some other if wished.
  15. 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 ?
  16. 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.
  17. 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.
  18. Exactly, I don't know PhoneGap, but going when the 'app' route I would consider PhoneGap for wrapping it up.
  19. 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.
  20. But then you're not creating a new page. You're changing an existing. (Soma is quicker)
×
×
  • Create New...