Jump to content

mr-fan

Members
  • Posts

    848
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by mr-fan

  1. Here we are with the first "real" version. First post edited. Name was changed in the right manner i think since it changes Markup it is a MarkupModule so no name confrontation with the HelloWorld modules on this front. @MOD/ADMIN please change the name of this topic to Module: MarkupBrowserUpdate ..cleared thank you Please test if you like the module. I'll try to get a backlink from browser-update.org for PW. regards mr-fan
  2. Since i was always on the road this week......this i just glued fast together....refactor the whole thing this weekend! Thanks for your notice!
  3. So first question from a module newbee... 1. on installation a message is shown "session module unknown" so where is the issue here - naming?
  4. So here i'm starting. This is more a little snippet than a whole module. On frontend before the </body> tag the script from http://browser-update.org/ is working - nothing fancy here. Download Github: https://github.com/mr-fan/MarkupBrowserUpdate my todo for this is: make it a clean module make use of the settings from browser-update.org so you could define these in PW backend get the backling for PW best regards mr-fan
  5. Just a Problem with the string....i finish this this weekend....until i'm back home! Edit: so this get in a own module topic...to not hijack this thread. So further reading on the HelloBrowser module goes here....we are back in this topic if we got the backlink from there
  6. easy as easy - but could you please test it - i'm on the run and some days away this week...just cut the helloworld module down to get this work...attention it is just fast scripted in the browser via github...so if you take the time test it on a site? https://github.com/mr-fan/HelloBrowser and at the end of the week we could contribute to the browser-update.org linklist! best regards mr-fan
  7. i see it works now...glad you get it! PW is great - the API is easy and flexible - if you dig deeper as easier is will be also recommend the google forum search (the forum search isn't that good) : https://processwire.com/talk/topic/6196-easy-search-on-pw-forums-with-google/?p=60632
  8. ok found the missing thing...deeper look in your html shows: <a href="#"> <img src="unfallservice.png"> </a> so the imagename is there....not the path/url...so it was wrong example from me...since i load the image always in a var like: //get the first image from the array of the repeater field $myimage = $col->images->first(); and then use it like: //use the $myimage var to call all needed things like url, name, description... <a href="#"> <img src="<?php echo $myimage->url; ?>" alt="<?php echo $myimage->description; ?>" /> </a> you can set the size, too with this API calls have a good read here: https://processwire.com/api/fieldtypes/images/ there is my example, too for a fast look you could quick change: <a href="#"> <img src="<?php echo $col->images->first(); ?>" /> </a> //to <a href="#"> <img src="<?php echo $col->images->first()->url; ?>" /> </a> best regards mr-fan
  9. can you post a image with the field settings, name, of the images field - may one of the backend entries of the repeater, too?
  10. if no errors shown please check for debug mode in config.php under /site/config.php $config->debug = true;
  11. Welcome to processwire! No problem you should read about the difference that your title field is a "field" and your image field is a "array" of images/files... so try with: div class="container-fluid"> <div class="row"> <? foreach ($page->columns as $col):?> <div class="col-sm-3 img-responsive"> // get the very first image from images list since image field is accepting multiple images (unless you change the value of `Maximum files allowed` under Fields > images > Details tab > Maximum files allowed). <a href="#"> <img src="<?php echo $col->images->first(); ?>" /> </a> <div class="test"><a href="#"><?=$col->title; ?> </a></div> </div> <? endforeach; ?> </div> </div> edit: BernhardB beat me....
  12. There should be no Problem: Quote from soma page 16: Yes you can. 'parent_class' => 'active', // string (default 'parent') overwrite class name for current parent levels
  13. PageTable would fit better here since you can use different templates and fields for output... there is even a exented module for this to get the output rendered nice in the backend... https://processwire.com/talk/topic/7459-module-pagetableextended/ good example how to use it: https://processwire.com/talk/topic/7459-module-pagetableextended/#entry71972 regards mr-fan
  14. cool link there is a former used addon linked from a php develloper i tested addon some years ago. Have used this one on a local township site for years now: https://github.com/phpManufaktur/kitEvent It has a lot of thirdparty requirements but repeating events, creates ical links, creates QR-codes on events, reusing "events" for new ones...like presets...but it just a element of a real big CRM application of my former used cms "kit" is called "Keep In Touch"...so events was a part of that app.....just funny to find such a old connection to the past....
  15. This is getting really really great tool for editing, import and now export, too....tell me when you "run slower" forward...that i could translate the missing things to german as well. Best regards mr-fan
  16. Like on many other things the "future" is a little bit hidden in the "past"....with processwire, too some search on this topic gave me a really interesting reading of this kind of block/modules/contentpart topic...in this forum are some really cool treasures to dig... threat: (the whole threat is worth reading linked to the interesting stuff) https://processwire.com/talk/topic/4189-flexibility-in-page-design/page-3 module: https://github.com/somatonic/BlocksContent BUT the best post of this whole discussion comes from OWZIM: https://processwire.com/talk/topic/4189-flexibility-in-page-design/page-4#entry63924 PageTable is the missing link and Extended is for better backendediting experience, too like diogo wrote. Just pleased of the founded threat to read myself...so best regards mr-fan
  17. A trick on such a use case could be using pages for single images...so a pagefield for tagging is no problem...but it is a other imagemangment like: https://processwire.com/talk/topic/3219-images-manager-beta/ or simpler with a little module for creating albums/single imagepages from uploaded files... https://processwire.com/talk/topic/8698-creating-page-for-every-image-uploaded/page-2#entry84891 (a page could be everything - the image = page has some cons and some pros like counting, cleaner urls...and so on) but the handling is a little bit difficult - it's always more or less work - for eg. to change the selection to the image-root page on the WYSIWYG PW-Image modal: https://processwire.com/talk/topic/7439-processpageeditimageselect-hook-and-change-default-page/#entry71673 Otherwise you could fast change the tags with the api i think? May a little admin form for editors would do the job for chaning regular image tags? regards mr-fan
  18. http://www.vogue.co.uk/news/2015/05/22/nicholas-hoult-laura-bailey-interview-june-issue-2015-british-vogue without JS the sidemenu doesn't work you could go nowhere...the newsticker shows some loading...but nothing else you've got me for my i've to link to the great bildblog.de that take some serious facts on german yellow press... (great video but just in german is there for all others how watch - the counter on the top is for every lie of this couple - last headline is like "Every lie needs one brave to tell"....) @horst: i break my own good practice rules if time is running out very often, too...
  19. the whole site breaks if js is off...for my personal minds it is always not right if js is off that the whole site is not usable...there should always be a fallback...especially on a big player's site.. e.g. without js works: http://www.nytimes.com/ http://www.bild.de/ but it seems on the "fashion side of life" there is nothing to see without js: http://www.cosmopolitan.com/ (menu works no pictures) http://www.elle.com/ (the same not usable) only http://www.vogue.de/ seems to look good without JS on... just my 2 cents...JS is nice for fancy things, applications, tracking, shops and ajax stuff....but a website should always tell a story even JS is off. regards mr-fan
  20. 1. https://processwire.com/talk/topic/8635-simple-example-for-widget-management/ 2. https://processwire.com/talk/topic/8635-simple-example-for-widget-management/#entry83444 regards mr-fan
  21. from the weird link from beluga.... what the |=uc|< - have stomach ache from laughter....but since this kind of text is branded in the web it's a little bit sad, too....
  22. Maybe a PHP Version Problem? PHP < 5.5 "file": "site\/templates\/blog-side-bar.inc" PHP >= 5.5 "file": "site\\templates\\blog-side-bar.inc" Just short via mobile....regards mr-fan
  23. Maybe i've it wrote up wrong.....with the module all is OK Only the pull request add some strings. The extra points on the whole translation topic are optional for other users, since some English names have to stay while the are auto generated via the installation....but this should be no real problem. Regards mr-fan
  24. should work with a little API snippet...to save all pages and create the thumbs on save...didn't mentioned this before since i've this module in my setup from the start building a site... //not tested!! $mypages = $pages->find(template=mytemplatewithimages); foreach($mypages as $p) { $p->save(); }
  25. Crosslink for the translation of the BatchChildEditor module. It's a swissarmyknife for CSV Imports and batch child page editing... https://processwire.com/talk/topic/6102-batch-child-editor/page-2#entry94729 best regards mr-fan
×
×
  • Create New...