Jump to content

Martijn Geerts

PW-Moderators
  • Posts

    2,769
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Martijn Geerts

  1. BBEdit Sublime and my default now is Atom.
  2. If you get pages with an ID, and those pages are deleted your script won't function anymore. But you know what pages you linked to, you know the behaviour of those pages. That behaviour is giving to the page with the template. So if your selectors contains parents and templates and you delete those pages and add new ones, the script stays happy
  3. Have you set your discuss_image image field to Maximum Files Allowed = 1 ?
  4. That's right Horst, ASCII characters makes it so much more imaginable. ___, __)____)__ -)- ))) , \=_/ \__ __/). )_/=\ /6) \ __((_\_/\ / __/ \ /_/-\o____) / ,_/| \ \/ ))__|_ \_)o_' _.-' ,/:_/_ ___ '---`' \>__/ /o /---.,/_ \ ( / / /o / \) \ | (' \,/ ( / _____/ )___> / /\ ( / _______/,_____| |,( / ) ) / (_ \ | _/ o) \ /_ |/ \_ / ( '| (___,_/-` `.__ / ' \ | / ,---' / _/ \( \_/ / / )\ ( < b'ger ,./_(,, , \_/,,._
  5. With your question I found a bug in my module ( I didn't include itemAuthorField ) Thank you...
  6. welcome MadHatter, item property <dc:creator> is not supported by the module right now...
  7. Hartelijk welkom Jurgen ! You will experience that working with PHP & the API is a relieve. After a while you'll just notice that you can code, all learned while having fun.
  8. have you tried __("tralala") in language.inc as it looks like it's not in 'modules' scope.
  9. If you want to push an image to you better use the enhanced as that one support enclosures. (images, files)
  10. I'm sorry to tell you. In /wire/core/functions.php there you have the wireRelativeTimeStr function. echo wireRelativeTimeStr(1400586357); // 1400586357 = unix timestamp (Soma wins.....)
  11. Raymond has a good point. <qoute>How do you know which user is posting these values?</quote> 1. I log in (martijn) 2. I go to the form 3. change the the values from the form to: <input name='profiel' value='bwaked'> <input name='contactnaam' value='Malle Balle'> 4. Press submit. The risk is that you are 'Malle Babbe' now. Look at the example of wanze $member_page = $pages->get("template=member,name={$user->name}"); He's using $user->name, this part can't be changed by the current user.
  12. Thanks uiii, and welcome... Impressive first post !
  13. www.nerdporn.de (Already exists :-( )
  14. @Ingled: Where's is the free & opensource shop & payment Module you wrote for the ProcessWire community?
  15. @Ray, tomorrow i'm at the company. I'll ask if they do an order to.
  16. @cstevensjr, now
  17. Order made ! Thanks making this possible Ryan.
  18. The users must have the right template rights for that. The modules it self just restricts access the given access if it's not on his brance... // more hooks for this module $this->addHookAfter('Page::addable', $this, 'hookPageAddable'); $this->addHookAfter('Page::editable', $this, 'hookPageEditable'); $this->addHookAfter('Page::viewable', $this, 'hookPageViewable'); $this->addHookAfter('Page::sortable', $this, 'hookPageSortable'); $this->addHookAfter('Page::deleteable', $this, 'hookPageDeleteable'); $this->addHookAfter('Page::moveable', $this, 'hookPageMoveable');
  19. good point @kongondo !
  20. Yep thanks for the follow up in the PM's Speaking native language is so much more comfortable in some cases...
  21. Congrats !!! Goood step bwaked !
  22. And that's so much easier for my eyes
  23. Done, tnx Adrian !
×
×
  • Create New...