• Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by mr-fan

  1. ...couldn't resist to fork it and clean the code of this framework a little bit if i get the time...
  2. at this time the repeatermatrix wasn't there and i've time to go as far as i could take it for the UI. And yes edit is within modal mode. It works even on an actual 3.x installation so far. To go to the point where bard is better i would go a different route today and take a deeper look into frontend editing of this all the heavy lifting like preview and how the repeater looks a all obsolet. Since i edit the content how every visitor get it. Just some frontend links to add the predefined blocks of a repeater field and we would be much more flexible on that topic like bard is now...;)
  3. i build a full block using prerendering system for some the ui could be managed to work closely like the example above. It is much work and not so trivial, but at the end it is a great interface...(i build this this is running on some 2.7er installations)
  4. nothing fancy i just drop the extrem use of shadows and converted it fits a little bit normal in the PW: calendar.css custom_1.css but notice it is just a proof of concept - not browsertested - just some fast playing. Best regard mr-fan
  5. Thank you Robin - will try asap! [ot]At the moment i'm a little but lethal snuffy...and could not think clearly (i think it is deadly man-flu). So don't think i'm to lazy to search a solution...i'm not...i've read your code and it was clear for me that my question was silly...i'm just standing a little beside me but i think that the peak of my desease is done. [/ot] Best regards mr-fan
  6. Has anyone a script to get all specific pages that uses a special hanna code... give me me all pages with [[my-hanna-code]] in use? regards mr-fan
  7. Bernhard i wrote it and i repeat it you are really my hero - the admin/backend was always a ? to me since i was flashed about all the options on the frontendside with the API, creating some little modules or changing some or using small hooks to get some results are the level i was before i read your tutorials and examples...:) Wanna share a really cool example im playing with this responsive calendar plugin: in an easy process module i get some results like this (with some CSS tweaks): This is with the example data from but it works like a charm and is seemless responsive within the PW admin. Code i used on the PW side is really easy: now i'm getting hands dirty on trigger some booking data and some actionbuttons... Thank you for sharing your knowlegde! I wish you a healthy and successfull year - best regards mr-fan
  8. triggered Wish all a good time the next two weeks!
  9. First could build a tree branch like: -questions_options --yes --no --don't care --could be changed...later and use a reapeaterfield for your you can "use" this kind of quiz on every page/template you need it... in the repeaterfield you setup your questions in the simplest mode with a textfield and a pagefield (using the question_options childpages...) to set the right answer - rendering on frontend is obvious with a simple foreach i think. tricky would be to save the entries from users....this would be more complex...;)
  10. Hi, yes you can work with simple repeaters for all questions of a form. For yes/no answers you can use a pagefield or fieldtypeoptions (pagefield would be more flexible if you need more features)... So you could render the form inputfields from the repeater field on frontend. You are on the right track. Best regards mr-fan
  11. the only userfriendly take that i know is going with the repeater matrix or pagetable route, in one project i drilled it with PageTableExtended with rendered Output on Admin Side and different "blocks" of content that a editor could add such as galleries, maps, text with image right or left....and full control over markup on frontend. WYSIWYG with full power is always a mess...on every system. If i've time to play i would try out a combination of repeater matrix for the storage in admin and some kind of "add block" layer on frontend with frontend edit for the single user works complete in frontend....this would be one step more userfriendly since everyone see instant like it is rendered in frontend...but that is just in my mind for now
  12. PW does alter/check every URL that is requested, you need to map it with url segment/url vars and make check if the urls that the script need are blocked. For using external scripts right you have to bootstrap processwire in your script so you can save and find the data via the API. For me i would go and setup the fields and templates in processwire and just simple use the calendar generation and you could use the HTML, JS and CSS and replace the PHP magic with PW API magic....this yould be much more flexible on the long run. regards mr-fan
  13. Just to clarify... a) you wanna integrate this tool into processwire? or b) you wanna use this script beside a processwire website?
  14. Thank you very much...very easy entry on this topic....the last years i used AdminCustomPages but this is a little bit outdated since 3.x so this will be the only way to go. Best regards from the neighborhood
  15. you can simple use things like $posts = $pages->find("template=blog-entry, categorySelect=$category, limit=10"); or your example with count() to be more efficient on big datasets...
  16. Like title says i've some domains with umlauts öäüß and i'd like to redirect them to the non umlaut version example: http://my-domä to i've somethings like this in my htacess: ##redirect umlautdomain (not my domain) RewriteCond %{HTTP_HOST} ^xn--mhldorf-nsb.d$ [NC] RewriteRule ^(.*)$$1 [R=301,L] in my config.php i only have in my hosts list... is there something that i've misunderstood? so far it doesn't work....but may the htaccess rules take some time to exicute...i tried since about an hour some different rules. regards mr-fan
  17. Just working on some smaller projects and take the step into the actual master/dev version and all the new methods and api chunks that are coming with the 3.x series... since i'm not always build websites i'm not always go with the brand new things and put them in my workflow....there is a 24 per day timelimit i think...;) BUT actual i dive deep in markup regions....and holy shit this feature ROCKS! It should put in place better than in some blogposts: or can some admins make a headline in the official docs and link to the blogentries?? This feature is to important to get missed for beginners and other users of PW! I'm just kick my whole workflow and change it for the markup regions....i'm feeling like xmas in summer Thank you @ryan Best regards and happy "new" year....
  18. Thank you for this great module and for fixing so fast...often when it come to the javascript debuging i'm a little lost...;) best regards mr-fan
  19. just tested with 3.0.65 and it seems that the pagelink field is not working? Best regards mr-fan
  20. Ok great that it works for you....a more complex solution with a hook on saveReady if SEO fields are empty put some own magic in there....if tey not empty do nothing... functions that i use: the hook itself works in admin.php under site/templates/: As always it is not the best PHP code since im no professional....but it works for me....if i somedays get some time i could add something like that with optionfields to the module itself. Best regards mr-fan
  21. Just fast from mobile.... You have to use a hook on pagesave and check the SEO fields there....I ve some functions for creating keywords and description from some given fields... May tomorow I can post an example...
  22. No PW plugin there...but some frontendstuff that could may be usefull: I doubt that there we be an opensource solution for such a complex ajax thingi that is mostly used in $hops there will be money to pay... Best regards mr-fan
  23. A addtitonal approach would be combination with AdminCustomFiles module. i use this to change the href of the view button where i've events that their single template creates an .ics file output and the editor only should visit/see the is my example. like in the module described a file called ProcessPageEdit.js under /templates/AdminCustomFiles/ folder: //used in a PW 2.7.x installation! //change the /events/ links in backend page edit for preview the events page not the .ics file! $(document).ready(function() { $("a#_ProcessPageEditView[href*=events]").addClass('found').attr("href", "/events/"); }); but the hook methode direct via PHP is the better way on more complex url creating....just mentioned my workaround
  24. No problem - like almost all things in processwire this could be set totaly free to your needs!
  25. Take a look: best regards mr-fan