Jump to content

bernhard

Members
  • Posts

    6,648
  • Joined

  • Last visited

  • Days Won

    365

Everything posted by bernhard

  1. ok thank you. what do you think of also adding the preview links also to parent items in the breadcrumb nav?
  2. maybe i'm the only one but to me it is not exactly clear what your module will/should be doing. maybe you can elaborate on this?
  3. i really like uikit framework and it has a nice looking pagination component: http://getuikit.com/docs/pagination.html creating the pager markup is a little bit tricky and i've only managed it with a little jquery hack. the problem is that the "active" item needs a <span> without an <a> and that's not possible with the built in renderPager() to save anybody needing uikit pager some time, here are the options: <?php echo $items->renderPager(array( 'numPageLinks' => 5, 'listMarkup' => "<ul class='uk-pagination'>{out}</ul>", 'itemMarkup' => "<li class='{class}'>{out}</li>", 'linkMarkup' => "<a href='{url}'>{out}</a>", 'nextItemLabel' => '<i class="uk-icon-angle-double-right"></i>', 'previousItemLabel' => '<i class="uk-icon-angle-double-left"></i>', 'separatorItemLabel' => '<span>...</span>', 'currentItemClass' => 'uk-active', )); and then you need this line of jquery to remove the <a> from the active item: $('li.uk-active > a > span').unwrap(); or do you guys have any better solutions for this? happy paginating
  4. hi @tpr (ok now the @ is working...) did you implement my filesort? it does show up on the checkbox but does not seem to have any effect? edit: also the textarea autosize does not work on ckeditor fields. is that intended? neither on default nor on reno theme. edit2: it's impossible to click on links in field descriptions! edit 3: i have this weird bug on hover buttons
  5. sorry if this is a dumb question, but what does this module do? i don't understand it from the docs here and on github...
  6. Can anybody of you give a short quickstart how to use caddy with processwire? I read the thread and am curious but don't know where to start an which file to use... Thanks in advance
  7. hm... unfortunately i had no luck with import.io
  8. Thanks for that hint Sergio, I have to try that out!!
  9. hi, i've a request for a iamge-website of a company that rents real estate for businesses. the properties are listed on this site: http://netmakler.at/netmakler.at/index.jsp?menuId=2&internalId=search > gewerbe > Niederösterreich > Wien-Umgebung > suchen the problem is, that this website uses jsp and the overview-site does NOT have its own url. the overview site looks like this: i would like to keep those items in sync with my client's website. is this possible somehow? maybe using phantom.js or the like? the single properties have their own url - although that's also just visible when clicking on "share via email" and copying the link on the top: http://netmakler.at/netmakler.at/index.jsp?objektId=1634410 any hints would be welcome thank you!
  10. great! no need (and time) for testing, but i will definitifely do that asap
  11. adrian, what do you think about adding a regex field so that everybody can decide on its own what to exclude? i would leave the textarea (or textfield) for easy exclusion as they are but before adding lots of custom options (also scan site modules, also scan this, also scan that...) a simple regex would be more versatile. and every module developer should be familiar with regex i'm using vagrant together with mailcatcher so i thought i have no need for this. but sometimes i make little changes on live sites and there such a feature could come in handy... sometimes clients want me to do little changes to some of their forms. right now i do such changes live and just do a test submit. that submit triggers a regular mail to the client. it would definitively be better to save the client from receiving some "testbooking xyz" mails so on a second glance i would support thinking about such a feature. this would be similar to the concept of switching templates, if i understand it right, @tpr? edit: how can i mention someone in my post like @tpr?
  12. Hi Marty, Sorry I don't know and am quite busy at the moment. Please try it out and report if it works or you have any issues.
  13. hi adrian, i'm not using sessionhandlerdb... anyway... it's not really important. i can surely live with switching it on/off don't know what causes this issue though, but i have not enough time to investigate atm, sorry
  14. hi adrian, i'm running pw 3.0.24 on vagrant. it doesn't make a difference which panels are active. but overall its a difference of 5.27sec WITH tracy and 1.4sec WITOUT it maybe my loadings help?
  15. hey adrian, what do you think of adding a tracy ON/OFF switch that is displayed as a little badge on every page. tracy makes pageloads a lot slower on my system and that can be really annoying when developing a site (like setting up some fields/templates). i know there's horsts ALIF module, but i don't really want to install another module just for that purpose and i think it would be better if tracy handled this on its own. also ALIF is only available in frontend, right? this button would make sense both in front- and backend.
  16. thank you adrian, the update solves this. in my case it was a webfont. see attachment. the folder ignore list is great! also the extensions. i'm not sure if it was even better to have a 3rd option "ignore filename". for example i have jquery.min.js inside my folder and that throws a huge todo-entry (like mentioned above). my solution was to move it to a folder "lib" and add this to ignore list fonts.zip
  17. i've just created a pull request that makes it possible to modify less variables. it also adds a check if the js/css file exists and throws a note either in console if tracy is installed or in the processwire log. that's how you can modify your less variables: <?php $config->styles->append('less/theme.less'); $lessVars = array( 'tm-primary-bg' => '#568AEA', 'background-image' => 'url("' . $page->backgroundimage->url . '")', ); ?> <link rel="stylesheet" href="<?php echo AIOM::CSS($config->styles->unique(), $lessVars); ?>"> https://github.com/FlipZoomMedia/ProcessWire-AIOM-All-In-One-Minify/pull/57
  18. hi! i try to add a custom method to FilenameArray class to check if a file exists and remove it from array if not... public function init() { $this->addHook('FilenameArray::cleanup', $this, 'cleanupFileArray'); } /** * remove non existant files from file array */ public function cleanupFileArray($event) { // do some stuff } but i always get the error Fatal Error Call to undefined method ProcessWire\FilenameArray::cleanup() it works when i use Page::cleanup and Pages::cleanup and also when i add the method directly into the core file... but thats no option. what am i doing wrong?
  19. hi adrian, new website, first module installed: tracy it's really a great tool, thanks again! today i had the problem of several errors when using the todo-panel, because there where some invalid characters in some of my template sources. it is a folder of my designer using uikit and some other resources... i fixed it by adding the template folder on this line: https://github.com/adrianbj/TracyDebugger/blob/master/TodoPanel.inc#L148 i think it would be a good option to have a textarea to EXCLUDE (or maybe also include?) some folders from being processed. i have lots of todos/hacks/bugs in my template that are not my concern - so this option would be great in two ways: prevent errors like the one i had today and prevent showing todos that do not belong to my work.
  20. This might be of interest:
  21. hmmmm... update: on a fresh install WITHOUT https it works for a 614MB file. i switched off HTTPS on the other install, but still it does NOT work. debugging is really painful, as every upload needs >10mins any ideas what the problem could be or how i can speed up debugging? edit: got this now in the apache error log when trying to upload a file without https on the client site (only this time!) [Tue Jul 05 21:45:55 2016] [warn] [client xx.xx.xx.xx] (70008)Partial results are valid but processing is incomplete: mod_fcgid: can't get data from http client, referer: http://.../admin/page/edit/?id=6114
  22. ok i got another step further: the processwire error logs say the following: /admin/page/edit/ Error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 444071936 bytes) (line 144 of /var/www/vhosts/.../httpdocs/wire/core/WireUpload.php) https://github.com/ryancramerdesign/ProcessWire/blob/master/wire/core/WireUpload.php#L144 what does that mean?? allowed = 1GB, exhausted = 444MB does anybody have an idea on this? i'm really getting frustrated...
  23. How cool is that?!!!! ? One little suggestion is to add an orange status bar somewhere when the code differs from the original template file. Otherwise it could happen that you inspect/view other code than all live site users and don't know it
  24. https://github.com/ryancramerdesign/ProcessWire/issues/1881#issuecomment-229027877 maxcolheightspacer fixed by ryan!
  25. hi, i also think that this would be a great addition but should NOT be the only option. playing around with the jquery demo (http://jonom.github.io/jquery-focuspoint/demos/helper/index.html) i see that it would lead to problems when you only want to show a small part of the image that is located near the border of the image. i think a more advanced concept like the imagefoucsarea plugin would be better. the best would be to have the good old cropping plugin with predefined ratios and/or dimensions, have a simple focus point option and even more have a more advanced focus-area option like in the plugin linked above
×
×
  • Create New...