Jump to content

Martijn Geerts

PW-Moderators
  • Posts

    2,769
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Martijn Geerts

  1. Waarom opgeven ? Mocht ProcessWire niet werken, geef ik je weinig kans dat andere pakketten wel werken.
  2. I switched to Mac half year before the first iMac. And I've used almost all versions of windows till 7, win 2000 pro i liked the most. As wanze said, I use it only to check my sites ones in a while, then turning on and getting an overload of updates & stuff. Thereby running 2 operating sytems & and all other programs isn't a resource givin' thing.
  3. I hate it to start up Whendoes 7
  4. Agree with WillyC, looks like something wrong with the files. If there's the possibility, upload PW in a zip & unzip it on the server.
  5. Didn't know that was possible Soma... tnx
  6. Sorry to bug you with this. ( not a real answer to your question ) A new text formatter can be written quickly, so you could attache a custom formatter to it.
  7. Very nice one Teppo, There are several sites where I could use such a functionality.
  8. Lookin great so far, Now I want to see it live !
  9. This was the information I was looking for. Love to see some insights I never thought of before. Always great to see how you explane things & take your time to answer these questions! Thank You ryan. note: I did use your code 1 on 1. ( Hope to release MailChimpCampaign next weekend )
  10. The list is needed to create a campaign. So we need to select a list. The list is just an ID, so if you update the list (external), it's still working with this approach. You can change your list on update ( page save ). About the actual page, I just give MailChimp the URL where the chimp can pul the campaign from. Sending the campaign, managing list and all other stuff could be done with a process module or Soma's Approach. Soma, I did saw your post before, thats why I posted about this fieldtype so early. I think this field type is still lacking some functions right now ( select groups for example & some basic monitoring ) but it doesn't have to do loads of things. As stand-alone it could be great for giving a place to live for the newsletter. But if this one and yours work together it wil be a real nice package. I love the idea !
  11. That is what it does Antii. Only the sending is not part of it. When the fieldtype is finished, I will think of a process module to handle the send. This way we can get a better overview of all campaings & we're not bugging the editor with to many options.
  12. InputfieldMailChimpCampaign This is the very early state of a basic Inputfield & Fieldtype for creating & updating a MailChimp campaign. What it does: on create Creates a campaign on MailChimp Sends the url of the page (where the inputfield lives) to MailChimp and uses that page as campaign. Attache a mailing list to your campaign. Add several settings. Upon save ( check update on MailChimp checkbox ), let MailChimp pull a text-version of the campaign-page and store it on MailChimp. on update Update all previously set settings except the campaign ID Create a new text vesion of the campaign What you should know: Your page must be reachable from the internet. And your page must be in a published state. It's just pushing values from ProcessWire to MailChimp. Settings changed in MailChimp self will get overwritten upon page save. It's only handling campaign create & update. Send functions are not included. You can download it on github. --- note: It's in development state.
  13. Bad Soma, I'm building a mailchimp campaign fieldtype & inputfield here myself.
  14. Thanks Antii & no need for tears pwuser.
  15. You're right about the admin context. Building a Inputfield and a Fieldtype & I don't know if the $page variable is reachable at that spot inside the admin. (a normal way) The inputfield should react on the state of the page ( viewable ) etc.
  16. Hai, I'm trying to get the current "$page" in a Inputfield.module or a Fieldtype.module. So far I ended up with: $pageId = (int) wire('input')->get('id'); $page = wire('pages')->get($pageId); This solution works, but it's quite hacky. There must be a better way.
  17. OOps, you're right Soma, must be early....
  18. Please look in the source code of your browser. looks like the source code says: <option value='$count'> instead of <option value='your-awsome-value'> You need the curly brackets around count. echo "<option value='{$count}'>$count</option>";
  19. Sorry I don't understand what you want to accomplice.
  20. I don't understand much about the whole "Tests for ProcessWire core", but we all benefit from you effort on all things PW. ( not only this test ) a big THANK YOU to you nik.
  21. About the errors, thats normal. Google allows all kind of advertisement scripts and other bandwidth eating scripts to access the iframe.
  22. @Joss, so far I know that css code is injected inline in the output of the embed tag if you checked the responsive option in the TextformatterVideoEmbed settings.
  23. @Joss, I think we all use a little bit english grammar in the code we write. But in your example these & this doesn't say anything about the blocks. So if I want to be a bit vague, I would probably/maybe use: foreach( $allBlocks as $block )
  24. @Joss, having the same problems every project. Much time is spend on variable names.
  25. sprintf is just a php function to return a formatted string. sprintf on php.net
×
×
  • Create New...