Jump to content

bernhard

Members
  • Posts

    6,221
  • Joined

  • Last visited

  • Days Won

    308

Everything posted by bernhard

  1. hi kathep, glad you found the page clone module it's not sufficient for me because it does not permanently archive referenced pages from pagefields. so if you have any pagefields be aware of that! you know what i'm talking about? ps: unfortunately i didn't find the time to do more work on this yet. i have to do other things first, but i'll definitely implement this feature then.
  2. you could put it into a pagetable. would that work for you?
  3. congratulations for your first real module - mine is still waiting one thing to this line: https://github.com/mr-fan/MarkupBrowserUpdate/blob/master/MarkupBrowserUpdate.module#L132 https://processwire.com/talk/topic/10106-api-problems-with-implementing-search/
  4. hi martijn, it's definitely related to the crop-field. at least in my setup! when i remove the field everything works as expected. when i put it back into the template, the bug appears again. note that it appears only when the field is already populated with images! on first upload it seems to work well. nothing in the console!
  5. hey apeisa, i found a bug when using your module with the new 2.6 version (left how it looks like with 2.5.3 which is ok) this makes it impossible to switch between grid/list view making it also impossible to delete images, so that's a serious thing you can use my test-installation from here: http://stuff.zwergo.net/cropbug.zip user admin pw admin! database is in /site/assets/backups/database/test-2.6.1.sql DB name is test page "test" has template "test" with the bug on it. your help would be greatly appreciated
  6. thanks tpr, but that doesn't help me a lot... why am i seeing this list of fields under the "basics" tab and not the standard interface for adding/deleting fields?
  7. hi, today i found this screen that was totally new for me after importing a template via import/export tool: is this because of this part in the export json: "childTemplates":["catalog"], ? never read about "fieldgroups" concept. any links for me to read? i don't know how i did that - i only did the import ^^ so how would i create such a template manually? thank you
  8. never tried, but looks interesting after a short research (win/mac/linux): https://prepros.io/
  9. me once again Notice: Undefined index: it in /var/www/html/site/modules/Multisite.module on line 68 https://github.com/somatonic/Multisite/blob/master/Multisite.module#L68 i got this error today when i switched debug mode "on". PW 2.6.2 what is the "it" get parameter or what does it stand for?
  10. if you are new i would suggest to keep everything as simple as possible: so start with a single image-field and a SINGLE image to get familiar with it. note that "images" and "image" in the code above assumes that your field's name is set to those values. what errors do you get?
  11. <a href="#"> <img src="<?php echo $col->images; ?>" /> </a> should be something like <a href="#"> <img src="<?php echo $col->image->url; ?>" /> </a> attention: you can set up image fields to have ONE ore MULTIPLE images in it. if you set the max number to ONE, then the example above will work. if you set it to multiple files, you would need something like this: foreach($col->images as $img) { echo '<a href="#"> <img src="' . $img->url . '" /> </a>'; } welcome to processwire and the forum happy processwiring!
  12. hi preto, nice to see you here seems that you have an error in your home.php file. maybe a missing semicolon or something like this... do the other templates like basic-page.php work?
  13. maybe you could use a prefix meanwhile? like german will only show files with prefix de_ and english version will only show files with prefix en_? no experience with multilang though
  14. hi soma, thank you - all the problems are not time critical for now shouldn't checking the strpos to be < 1 be enough for that? https://github.com/somatonic/Multisite/blob/master/Multisite.module#L62 if(strpos($httpHost, $subdomain) !== false AND strpos($httpHost, $subdomain) < 1) { at least it works for me here on my dev. that makes me curious?! one other thing: I'm wondering why the module does not take the valid multisite-domains from the processwire config? i always have to add new domains in both locations. ok, that's not a big deal, but i'm sure there is some more important thing behind it? any problem i don't see that could appear when "synching" multisite hosts with pw config hosts?
  15. i have the following problem: www.site1.dev -> works sub1.site1.dev -> works but site1.dev -> works sub1.site1.dev -> doesn't work any fix for this?
  16. ah, now i understand your intention! thanks for sharing the code. I'm wondering why you are hooking Page::render? Wouldn't it be possible to hook somewhere where all the urls are created, so that $page->url automatically returns the url with the filter-segment if it is an internal url? note i'm not an expert, so i'm sure there is a good reason for this.
  17. would be great if you shared the code with us - i'm curious
  18. thanks for the update apeisa, installaton worked smoothly now. one problem when having stacked edit-buttons: i have a widget with edit-button and all the blog-posts in a list inside this widget. so they display when hovering the widget and not only when hovering the list-item (i was hovering the first boxed blog-item in the screenshot) .frediparent:hover > .frediwrapper > .fredi {display: block;} that would solve it, but i don't know if that leads to problems anywhere else in your module?
  19. sorry then i think i don't get what you are trying to achieve - I'm sure others will jump in
  20. feel free to share/use it. created with free picture of http://pixabay.com/en/ and (partly) free editor https://www.canva.com/
  21. do you mean something like permalinks? maybe you could clone your page and save it as its own child on every pagesave? you would then have something like this: /your-article (= current version) /your-article/2015-05-01-01-01 /your-article/2015-05-25-16-44 just an idea... of course you would have some unnecessary extra data, but maybe that would be a good solution?
  22. yes that's definitely possible with what i said. setup 1-step adding of pages. set template to "action" and default title to eg date(...) or leave it as it is and all newly created children will have their title populated automatically. if you hide that field the client will not see anything of this "magic" but maybe your "for custom pages" is too much for this method... anyway: as sinnut said a simple module would do that easily! just wanted to make sure you know about the 1-step thing before you create a module that does the same
  23. this is already on the roadmap for PW3.0 Fall/Winter 2015: http://processwire.com/about/roadmap/ but of course i don't know details
  24. you can also use the 1-step adding of pages if all of the children have the same template: https://processwire.com/blog/posts/processwire-2.5-changelog/#adding-pages then you can set the title-field to hidden on the template-settings. or am i misunderstanding you?
×
×
  • Create New...