Jump to content

bernhard

Members
  • Posts

    6,670
  • Joined

  • Last visited

  • Days Won

    366

Everything posted by bernhard

  1. see also this post and my javascript solution: https://processwire.com/talk/topic/11538-pagefield-–-limit-number-of-choices/?p=107504 (and also tpr's modification) should not be too hard to adapt the code. putting everything into a modules would also be nice... it was beyond my head then and now i'm really busy, sorry
  2. On mobile, but isn't there a setting for that already built in at the field?
  3. That is great! Thank you Adrian, very good idea!
  4. sounds cool, but i don't have time to wait maybe i can try to work with it on my current project and help testing?
  5. thank you lostkobrakai and tpr for your insights to nette forms! i will try that
  6. oops, forgot the link thank you
  7. thank you jürgen, http://formvalidation.io/ looks awesome! would have needed this some weeks before for some quite complex forms...
  8. for reference: adrian's template setup batcher can save you time
  9. hi am*, welcome to the forum. one thing to add may be that you REALLY have to invest time in planning your site structure. that's one of the most important parts when building sites with processwire. as everything is a page and every page has it's very own place to live! if you did your homework here, seemingly complex tasks can get surprisingly easy. like in this example (https://processwire.com/talk/topic/13183-adopt-field-values-as-defaults-from-parents/): blynx built a module to inherit field values from parent pages, whereas in your template file you could just do this: $foo = $page->closest("foo!=''")->foo so you have to organise everything in a strict hierarchical structure - the pw page tree. i would recommend you to do some test projects (https://processwire.com/docs/tutorials/hello-worlds/) and then share your planned site structure with the community. you will always find a helping hand here
  10. but how is this code generated? and how the images? i find some scrollmagic words in the code of my linked website, but on the scrollmagic site the demos do not look like one can make such websites with it?! thanks for your answers so far
  11. also very nice! i wonder how that is done? i mean... i understand normal css animations, but i have no clue how the glasses get devided into separate parts when scrolling?? does anyone have some sources to read for me?
  12. i've shared a nice website once and there where some opinions that it was too heavily animated... though i want to share another one, as i have never seen such a great experience for a one-pager / scrolling / animation site: https://www.imaginecurve.com/ what do you think about it? ps: neither tested on mobile nor inspected loading or cross browser compatibility... on my chrome desktop it was just impressive
  13. thank you adrian, that's great! i didn't think about dev-sites. that's surely a good thing to be able to check the markup before going online
  14. hi wanze, would it be possible to change the markup a little bit? i got a message that my sorting module ( https://processwire.com/talk/topic/13064-inputfieldfile-image-sorting-autosorting/ ) does not work with your securefile fieldtype. the problem is, that my module sorts the files based on the selector: tinysort(field.find('li.InputfieldFileItem'), {selector:'a.InputfieldFileName', attr:'title', order:direction}); and you are modifying this markup here: https://github.com/wanze/FieldtypeSecureFile/blob/master/FieldtypeSecureFile.module#L98 one solution would be to create a different selector for your fieldtype... i failed when trying to find a solution. would it be possible to modify your markup to an anchor: <a class="InputfieldFileName" title="thefilename.ext">...</a> thanks
  15. added the module to the modules directory and changed version number to 1.0.0 please let me know if anyone experiences problems
  16. I'm doing it almost like szabesz explained, but using $config->opt = $pages->get(xyz); so i have it also available in included template files via wireRenderFile(xyz) then you can do $config->opt->yourfield everywhere
  17. Ryan solved this in pagetable as that pages created but not published are deleted automatically each day by a kind of lazycron. On mobile and no details for that... Just throwing in an idea
  18. I don't think this would be easy unless using the menu builder module. I also don't think that it is a good idea to build your site structure like this. Have you thought of deviding your tree in one branch "menu" and one branch "helpers" or "options" or "data"? Maybe this would make things easier. You can than rewrite the URLs from example.com/menu/page1 to example.com/page1 I'm on mobile... Use Google and you will find how to do that
  19. don't know what this RCDMap.js is, but i created a simple fiddle for you. does this help? http://jsfiddle.net/T78Hd/13/
  20. You can append a variable to the CSS to prevent caching: your.CSS?v=160422
  21. just bougth a new PI3, setup apache + pw default profile and got the following performance on the homepage on my local network via WIFI (don't know if a wired setup would be faster?! the pi3 has wifi onboard) 60 requests over 60 seconds (1 per second) 300 requests over 60 seconds (5 per second) 600 requests over 60 seconds (10 per second) PW 3.0.15 everything is really smooth only thing that takes a little time is resizing big images of some MB via GD really nice
  22. If you are using Google analytics you could easily use it to track your downloads and have nice statistics and setup conversion goals and so on. You would only have to change your template code. No extra fields... easier than it may sound from the docs: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide#setting-up-event-tracking
  23. thank you kongondo, now it makes sense! there's very much pw und php wisdom in this one method. very nice
  24. https://github.com/LostKobrakai/Migrations/blob/master/Migration.php#L11-L30 could you please provide a link or more information on that
×
×
  • Create New...