Jump to content

mr-fan

Members
  • Posts

    848
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by mr-fan

  1. And your approach is very good. everything is a page like bob is a page (maybe with template "person") Bill is a page and so on. you could extend the person template if needed... you could add as many person pages as you need... this is the right direction to go. the scalabity is one of the greates things with processwire!!
  2. This is exact what this module is for.... https://processwire.com/talk/topic/7459-module-pagetableextended/ You could setup everything that lists something with a few fields and images and have it if you wish rendered in backend like in the frontend... The Core PageTable module can provide editing of childpages, too. https://processwire.com/talk/topic/6546-pagetable-documentation/ Or if you have to edit many pages of the same type you could look at ListerPro there you can set with filters different views for editors/users to edit special pages... https://processwire.com/talk/topic/5835-lister/ Have fun mr-fan
  3. @thistimj one problems stays with double images - since we talk about using this to handle "many" images ->check for double images (image exists in as page) ->and skip them but save the other images now with my little check it breaks and delete the uploaded images - but i'll try to solve this one. and with this imagefield it would be fun to fill some custom fields or get both short pagetitle and some extra description or additional text fields that needed right after the upload. https://processwire.com/talk/topic/7910-module-fieldtype-image-extra-multi-language/ regards mr-fan
  4. don't know if my post was clear...my problem is now... step by step ->add two images to album (one of them exists in this album!) ->script stopps bevore saving the images ->show error (double entry...) ->delete the two images on the album page ->don't save the one that was new (thats the problem) this is just a great use of the corefunctionality of massupload images and save them as nice pages. adrian you're a really brilliant developper!
  5. very much interested..... script works for adding new pages i added a little check if the filename exists like foreach($page->images as $image){ //check if a image with the same filename exists if($this->pages->get("name={$image->name}")) { //send error message for double entries $this->error("double entry - image with the same filename exists!"); } else { if($this->pages->get("parent={$page->name}, name={$image->basename}")->id) continue; but this is not the right place and contruction since the script should only notice image xxx is double ->save the others ->delete all images .....interesting module!! could really easy and fast create galleries with "oneimagepages"! (i like to have a page per image since i could easy add extra fields and other stuff...but handling many images is not the big deal since today....) best regards mr-fan
  6. One really great if found today to collect: Soma - Using Imagetags like a Boss.... https://gist.github.com/somatonic/5808897 saved the evening for me - searching this forum is better than to talk with 100 experts while every second forumentry is a hidden treasure sometimes!! Best regards have a nice weekend - mr-fan
  7. just tested this with a stable 2.5.3 and this seems to didn't work with the renotheme? (the build in solution from the core) regards mr-fan
  8. ...and there is great migrator tool for up and running site to get some templates, fields and so on from one to another. https://processwire.com/talk/topic/8660-migrator/ have fun
  9. Would be great to build easy gallery fields with different thumbs or a imagefield for blogposts....really thumbs up. will test asap!
  10. you could create redirect to the first child to avoid 404 errors and problems with the breadcrumb thing! look here: https://processwire.com/talk/topic/15-how-do-i-create-a-page-that-redirects-to-its-first-child/ and here: https://processwire.com/talk/topic/7027-making-a-child-page-the-main-page/ so the pagetree is logical - the links are working and the /about-us/ page makes no errors or deadends.... regards mr-fan
  11. mr-fan

    Merry Christmas!

    Same same....wish a few quite and great days with family and friends!
  12. Ok next round up.... Horst forgot to link his module https://processwire.com/talk/topic/4758-release-pagetree-add-new-child-reverse-on-top/ And like Horst wrote - sorting pages for templates in pagetree is not needed if you setup your content and cathegories right. Maybe you've missed the field dependencies for tagging or combining content that is under different parent-pages but stays together: https://processwire.com/talk/topic/4323-field-dependencies/ => give us a concrete example of your problem please. if you have a basic-page template under cathegories - why this is needed??? cathegories only cathegories....that used on the normal (basic-what-ever-template) pages....with the field dependencies. if your wanna really different content "blocks" on one page so pagetable module would be interresting. https://processwire.com/talk/topic/7459-module-pagetableextended/ "dummypages" make no sense - don't waste energy to achieve something that could be done in an easy way. Make your problem as clear as you can instead running into a one way - i think here is always a helping hand that try to explain the things until you say aha...... regards mr-fan
  13. Ok you looking for how to structure your pages/templates/content....here we go: easy prequel https://processwire.com/talk/topic/5913-new-to-pw-how-to-structure-your-site/ the main story https://processwire.com/talk/topic/3579-tutorial-approaches-to-categorising-site-content/ a little sequel https://processwire.com/talk/topic/4116-best-way-to-structure-a-classifieds-site/ so maybe you have a good reading and finding all about how to structure your pages/templates... for setup a special view in the backend (for editors) you can use Lister or Lister Pro: https://processwire.com/talk/topic/5835-lister/ https://processwire.com/talk/topic/7911-lister-pro/ regards mr-fan
  14. 1. an easy start for login/profile/reset-pass https://processwire.com/talk/topic/1716-integrating-a-member-visitor-login-form/?p=15919 2. Users == Pages so you can add fields to every user (for using this field in a frontend profile...) 3. there is a module but i didn't test this one https://processwire.com/talk/topic/8001-frontenduserlogin/ best regards mr-fan small addition for point 2. to get the user template to edit you've to edit setting under templates to show "system templates"... -> 500-1000 should be no real problem - have a good reading about the settings for userroles/roles for a proper setup.....and ask further if you run into problems...
  15. great! What i really would like (and i know that owzim and you think about that topics!!) is voting/starring a recipe... may be this module from conclurer (Marvin and Phillip) https://processwire.com/talk/topic/7871-page-ratings/ or fieldtyp starrating: https://processwire.com/talk/topic/4561-fieldtyperate-star-rating/ regards mr-fan
  16. Great in lack of time i post here some links with description: 1. adrian - copy page via api https://processwire.com/talk/topic/7101-easy-way-to-clone-a-page-from-api/#entry68465 2. harmster - using csrf in own forms https://processwire.com/talk/topic/3779-use-csrf-in-your-own-forms/ 3.horst - implement a global ultility function lib/file https://processwire.com/talk/topic/7573-best-way-to-implement-a-global-utility-function/#entry73157 4. nico - reset password via api https://processwire.com/talk/topic/7167-server-error-with-latest-dev-build/#entry69041 5. yellowled - list/filter items https://processwire.com/talk/topic/7673-list-items-or-contacts/#entry74444 for the moment - i will catch the repo until i've the time....it's christmas you know for most germans this not really a quiet time....
  17. New article on AlistApart.....describes ProcessWire perferct....despite the other metioned cms in the comments http://alistapart.com/article/training-the-cms maybe for our native speakers an idea for a good comment? since my english is bad i don't dare comments on such professional blogs/sites ....
  18. In a former CMS i used there was a kind of presets/filters for such things (extend js/css of the backend/frontend). So like Admin custom files you can assign files to processes - you could additional provide some kind of preset configuration to load js/css and pack it together. Lika a HannaCode System with import/export so solutions could easy shared? regards mr-fan
  19. Here we go added some more things... - first owzim is right for the Magnific part this should load all needed scripts - second added some CSS for the Links that the work like in the templatefield section. Many usecase if you have a cathegorie with a pagefield for the articles of that cat so you could really easy change this pages in popup modal! Or for my usecase i've companies with clients and different companies could have the same clients from a stock so i use a pagefield with autocomplete to get the clients binded to the right companies....for a fast look or changes i've now direct acces to the clients. This is very fast since the clientpool could raise to x000 clients, but companies should stay less than 100....it's a complicated usecase. But thanks again to Macrura - i always learn a lot from your examples!!
  20. You are great!! Thank you for your example...added a new version of your module in the other threat! Thank you very much - This is really really handy!
  21. i've searched this topic via google but didn't found anything... question is simple in a pagefield i get some entries (autocomplete, or multipageselect...) - is it possible to get a edit link on these pages link in the admin edit templatefield lists? i know there is the id given and with that i could code some js to get a link from that....but first ask if there was a proper methode or solution ready to use? a little screen for example: regards mr-fan
  22. and that this one is not going to hide somewhere.... https://github.com/ryancramerdesign/ProcessDatabaseBackups (should work great for normal sites) since it works from the API you could setup a cron or lazycron to get it automatic (maybe send the backupfile via mail to get the db to a second place away from the webspace?) regards mr-fan
  23. https://processwire.com/talk/topic/2187-module-fieldtypepoll/#entry20484
  24. guilty
×
×
  • Create New...