Jump to content

marcus

Members
  • Posts

    289
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by marcus

  1. A very ProBirthday to you, Ryan!
  2. Possibly $severad has sub-pages. If so, try: ...if ($serverad->id) $pages->delete($serverad, true);... See: http://cheatsheet.processwire.com/pages/built-in-methods-reference/pages-delete-page-true/
  3. RT @sidlipsey: My favorite press release ever: "Malala will make her first statement on winning the Nobel Peace Prize after school."

  4. Ah, I see - thanks! Yes, InputfieldSelectMultiple was just a starting point in order to get a grip on programmatically creating fields with multiple values supplied - eventually going for a more usable solution. Thank you as well for pointing me towards the "double underscore translation"
  5. That's what I did, setting the PageArray as value, $tagSelectField->attr("value", $pages->find("template=tag, include=all")) - still it doesn't work.
  6. For the ProcessWire Recipe contribution form I want to offer a possibility to reference existing tags. The following code doesn't work and I'm not sure why, since $pages->find("template=tag, include=all") should return an array. $tagSelectField = $modules->get("InputfieldSelectMultiple"); $tagSelectField->label = _("Tags:"); $tagSelectField->attr("value", $pages->find("template=tag, include=all")); $tagSelectField->attr('id+name', 'recipeTags'); $form->append($tagSelectField); The multiselect renders empty (and yes, there are non-hidden, published pages with "tag" template). Can somebody give me a pointer?
  7. A whole module for a single check box tick would be overkill. But just thinking out loud: A thing like generic "Default Field Values" module would be very useful. It could scan all of the current installation's fields and could offer to put default values in them via API layer But is this even programmatically possible in the first place?
  8. RT @charlie_whiting: So the FIA can’t move the race start. It can only delay the start due to safety considerations. If only there was some…

  9. What the hell happened in #F1 last night? #vettel #redbull

  10. Just found my most favorite Simpsons couch gag: http://t.co/RzQIxDPoAt

  11. RT @rachelandrew: why would you - as a company with servers - think having customers tied to an end-of-lifed PHP be a good idea? Bonkers. G…

  12. How many times have I written "nom install" instead of "npm install", and what's that supposed to mean? And when does someone invent "nom"?

  13. Not only for mentioning @processwire towards the end is #135 of @ShopTalkShow w/ @bastianallgeier one of their best episodes lately.

  14. ProcessWire and ryan's famous Post 144 is mentioned towards the end (~58:10) of #135 of Chris Coyier's ShopTalkShow Podcast: http://shoptalkshow.com/episodes/135-bastian-allgeier/. Allgeier, who runs Kirby CMS, totally agrees with Ryan when it comes to a system's ability "teach people how to fish" vs out-of-the-box.
  15. Nicknaming versions after after great architects would be fitting, e.g. "ProcessWire 2.5 'Gehry'"
  16. Yesterday, I wrote down some thougths on @WordPress and #webdev in general: http://http://t.co/yqyg0Zm5IP

  17. RT @boti_net: (And did you notice my new short URL? :)

  18. The article is a) once again a shameless plug and b) only subtly mentions ProcessWire at all BUT since it is based on an article of (in this forum) known wptavern.com and deals with the perception of CMS with a strong ease of use, I thought I just leave link here: Link
  19. Ooookay, Mr. Jeffrey Zeldman just favorited one of my tweets.

  20. Generally speaking and in addition to pwireds post, three more "philosphical" points to start: Look at the HTML you want to achieve (its semantics, its structure) without having any particular CMS in mind. Keep in mind that you possibly replace everything with field output (as in: for the template file, you could as many fields as you want to make all the desired parts of the site/page "moving parts", editable parts). Check for repetitive things (in your example for example blog posts, books, tv appearances, videos) Seek potential data relationships (in your example not that important) and have to keep in mind, that ProcessWire way of organizing content is basically one big tree, with all advantages of this approach (for example pools of blogposts, of books, of videos...)
  21. Amazing how news sites start reporting on #simpsonsdeath and, first and foremost, suddenly caring about marking spoilers.

  22. But I got one follow-up question: how/where can I configure the instance of CKeditor I created programmatically? Thanks!
  23. I guess two kinds of sortings for recipes could be useful: Tags/Keywords (like Bolt snippets: e.g. https://snippets.bolt.cm/s/gsudt) A greater narrative, recipes grouped together into e.g. dealing with core modules, building a multilanguage site, wrangling media and so on. Inspired by the table of contents of http://laravel-recipes.com/contents
×
×
  • Create New...