Jump to content

Soma

Moderators
  • Posts

    6,808
  • Joined

  • Last visited

  • Days Won

    159

Everything posted by Soma

  1. The extended cheatsheet I setup quite a while ago would be perfect for those small examples for the API. Unfortunately the team refused to work on it since 1.5 year. Kinda sad as I spent many hours setting all up with workflow and such and each contributor has assigned a section. Instead they prefer to respond in the forums 100 times the same. /rant over
  2. RT @processwire: New blog post: Target templates w/field editor, better field clone & tons of session updates… https://t.co/LEjo8EHiyc (Pro…

  3. It looks very active to me. I don't share the same thinking. Ryan did close all issues once that weren't active but I hate it when he does that. Then you look at http://processwire.com/blog/ and you're in awe.
  4. Just tried and this while I was trying to get around ajax request and cover that too I discovered that there seems to be a bug when setting config from the session. (always those sessions ) https://github.com/ryancramerdesign/ProcessWire/issues/915
  5. Me too. Forgot that there's no configuration on fieldtype or inputfield. Not sure why. Hooking doesn't work cause it all work with ajax. Render() is only used once to render base markup.
  6. BTW if you search for "processwire flexible content" in google you'll get lots of lengthy discussion already there.
  7. You mean a Cook Book? ;P Don't think official yet, but If you search for ProcessWire PageTable you'll get tons of. https://processwire.com/talk/topic/6417-processwire-profields-table/?p=63119
  8. You're looking for Field "PageTable" not "Table". Edit: Or "Repeater".
  9. allowSystemTemplates=0
  10. Just quickly. You should use $questionCat->find("template=faq-detail, include=hidden") Or same as only searching children $questionCat->children("template=faq-detail, include=hidden") since a children is already like a find it will ignore hidden and then you do a find on the results... doesn't work as you may expected.
  11. There's many different options, so there's also a option to overwrite it in the render options. $p->render("template", array("prependFile" => ""));
  12. There's no method cause a page->render() usually needs the init. Depends what you have in your init, but there shouldn't be anything big going on there.
  13. Ok "page” doesn't work but "page.id" selector: parent=page.id Gives you children of edited page.
  14. I'm not even sure I understand the what where and how. But I'm sure if a user has no access to user template or roles you can't filter with subfields. I recognized this in ListerPro too. Edit: Also, "I tried" doesn't say anything to me.
  15. You can use "page" "parent=page"
  16. Don't know really. But guest or normal users usually don't have access to "user" pages/template. Either give them view access to "user" or try add a "check_access=0".
  17. RT @MickvJ: Quite amazed by the simple, flexible and capable @processwire #CMS framework! https://t.co/apvQg4E8kG

  18. You can do anything but need to return a Page array.
  19. jQuery attr seems good to me. Another option may be str_replace on the output something like $out = $nav->render(); $out = str_replace('class="has_children"', 'class="has_children" data-uk-dropdown', $out);
  20. RT @processwire: New blog post: a new Fieldtype for supporting selectable option fields (w/o pages) in ProcessWire (2.5.17) – https://t.co/…

  21. Sure $slug = $sanitizer->pageName($str, Sanitizer::translate);
  22. Not sure it was mentioned somewhere, but I can't find a "cancel" button when on the Editor. I know you can just close the tab/window, but hey I had to think about.
  23. Sure, specify a template file in the render method $out .= $child->render("yoursubtemplate.php", array('included'=>true)); Or just your template but handle the "when directly viewed" and throw a 4040 In your subpage-template if(!count($options['pageStack'])) { // not rendered from other page, pageStack will be empty throw new Wire404Exception(); } ... render output Or if(!isset($options['included'])) { // not rendered from other page,"included" won't exist throw new Wire404Exception(); } ... render output
  24. I think I stoped reading on when it said it's using Bootstrap 3. Nonetheless, I tried the tryout and it's not something I would use for building anything other than your typical Bootstrap layout page without knowing anything. Don't like the UI at all and it crashed after 2 min.
×
×
  • Create New...