Jump to content

arjen

Members
  • Posts

    1,222
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by arjen

  1. +1! New descriptions and tutorials are always welcome!
  2. Thanks for pointing that out Joss. Skip it and move on to the next one without a folder based system from the nineties.
  3. If you want to use that one, you can also do something like this: myGallery = new mbBgndGallery({ containment:"body", // or "#myGalleryElement" images:[ "elements/1.jpg", "elements/2.jpg", "elements/3.jpg", "elements/4.jpg", "elements/5.jpg" ], }); That way you don't have to read a directory or folder.
  4. You can see August in other examples, but it might be more obvious.
  5. Please log-in so we can see the full page. If you want to share your details in a PM I'd be happy to take a look. From our POV it is only guessing to why the page stops loading.
  6. Hi Joer80, there are several threads regarding user management. No need for modules since PW handles this nicely out of the box on a template basis. If you want to edit on a page basis or even field basis there are already some modules you might want to use. Do a Google search like: "site:processwire.com/talk/ user management". Threads like this one are really wonderful and will point you in the right direction.
  7. I see that the html is not loaded fully since there are no </body> or </html> tags. The code seems to suddenly stop. Could it be that there is some error which is not visible on first sight, but it viewable in the source of the html? Also the minimum requirements are: PHP 5.3.8 and MySQL 5.0.15.
  8. Hi Nooiseladder, have you searched the forums? There are plenty of topics discussing your question.
  9. No problem, thanks for trying out ProcessWire - a lifesaver in itself. I almost forgot: welcome to the forums, Deyan!
  10. I updated my example so it might be more clear to you. Also for debugging you can try ... echo count($tenders); ... to show if there are any pages found.
  11. What value does $open have? I would do it like this: <?php $tenders = $pages->find("template=tender, sort=-created, tender_open=1"); echo "<h3>Tenders</h3>"; if(count($tenders) == 0) { echo '<p>There are no tenders available!</p>'; } else // Otherwise show the output { echo "Output list here"; }
  12. How about: $field->attr('autocheck', 1); or: $field->autocheck = 1; Or is this for single checkbox only?
  13. Could be. It is working fine for me with the latest dev - just checked. Try emptying the users from the db and see if the problems persists. What is your users/roles/permissions set-up?
  14. You can change the "max_nesting_level". Edit: adrian beat me
  15. I've seen this before and if I recall correctly in our case this was due to a PHP version below (<) 5.3.8. When we updated the problem was gone.
  16. I always use the config-dev.php option. This way you can set-up your config once and just import the tables.
  17. What about the logs in /site/assets/logs/errors.txt?
  18. Soma, thanks for the update. Would you consider this "beta" at the moment or still alpha?
  19. arjen

    World Cup 2014

    The Germans looked like they were about to play a training match.
  20. I would use page fields and a seperate pagebranch to count the votes. Polls setup | polls (template) |_ question (template) |__answer (template) Votes setup | results |_ result (template with page field: user and a page field: answer) In this setup you can: Get all the votes Get votes by question Get all the votes with a specific user Offcource it's possible to place the results under the answers directly, but I prefer to keep those things seperated if you want to extend it later with multiple questions or such. You won't hit performance issues with these kind of numbers.
  21. Sweet. The amount of space we can save in the UI while the overal overview gets better too.
  22. Thanks apeisa! For futher reference: you can enter it here: Way too simple
  23. Hi, I am currently converting some Repeater fields to PageTable fields because of better performance and the highly usable UI. All is working fine except that is see the Page ID in in the table while the fields is configured to view the Title. Here I can enter the data just fine: The PageTable field is built on the same fields as the repeater field above, but the table only shows the ID while the repeater show the title. How can I change the viewing of the ID to the title? Or is this currently not possible yet?
  24. You can find a detailed working example in the Skyscrapers Profile search form. It's a really detailed and well commented profile on how to work with several kinds of filtering.
×
×
  • Create New...