• Content count

  • Joined

  • Last visited

  • Days Won


mr-fan last won the day on June 16 2015

mr-fan had the most liked content!

Community Reputation

807 Excellent

About mr-fan

  • Rank
    Hero Member

Profile Information

  • Gender
  • Location
    Bavaria, Near Munich

Recent Profile Visitors

6,441 profile views
  1. 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...
  2. 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
  3. 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
  4. just tested with 3.0.65 and it seems that the pagelink field is not working? Best regards mr-fan
  5. 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
  6. 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...
  7. 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
  8. 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
  9. No problem - like almost all things in processwire this could be set totaly free to your needs!
  10. Take a look: best regards mr-fan
  11. if you dive deepinto URL segments you will feel some "ProcessWires", too It's just to build the urls/structur that you need independently from your content storage in page tree...this is very scalable since you can optimize your pagetree (for editors, contenttype, datastructure) and the frontend presentation seperately.
  12. Well it is more a example of finding the right model to store things....if you would have 30 departments you would possible choose methode 2 or 3 for storing this kind of things...but the first model describes the most simpel way to store 1:1 connections - one member : one department.... Another thing that is here important this models are all show the usage of the pagetree in ProcessWire so a editor with a "small" company with "normal" amounth of departments could easy and fast manage his content....and we could fast get the data on frontend. On the Template side of life there you could read again on this from kongondo: These are just the basic examples for beginners - if you manage complex data and complex editing you could or better will use of ListerPro or even a own admin dashboard, hinding content from the pagetree that confuse the editors and make other strange but always possible things for managing complex content and at the same time give your users a good ui for editing this content. regards mr-fan
  13. Many new things are hidden in $urls for example is not in the API Reference....or just i did not find it. no problem for me since i like finding treasures and loot on the way - but just wanna mention it. Is there a chance to get involved or people could help extracting important bits from blogposts to the docs?
  14. 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....