Jump to content

bernhard

Members
  • Posts

    6,671
  • Joined

  • Last visited

  • Days Won

    366

Everything posted by bernhard

  1. No idea, but maybe these informations are helpful: I'm using SessionDbHandler, error reporting E_ALL, laragon, win10; no warnings, no errors; I think it would be great to have the PW logo besides the Adminer logo so that one can go back to the PW admin if one uses the adminer process module from Setup > Adminer (which I prefer). Edit: <a href="/admin/" style="float: left;"> <img src="/wire/modules/AdminTheme/AdminThemeUikit/uikit/custom/images/pw-mark.png" alt="Back to ProcessWire" style=" height: 22px; margin: 5px; margin-right: 5px; margin-left: 10px; "> </a> And on smaller screens: Does anybody know how to inject that into <div id="menu"> ? Maybe some hints @adrian then I can do a PR - just don't know where to inject it properly ?
  2. Valid points! Download statistics and opening the system we already have for the API docs to 3rd party modules would be awesome!
  3. I just installed the version from github and I don't see any errors on chrome/win10... Let me know if I can help with debugging.
  4. Thx @adrian didn't know this was possible! Of course that's totally sufficient ? I guess I tried it with wrong directory separators because I'm on Windows... This does work now, but it might be better (possible?) to stick with one version of the slash? site/modules\MyModule\src
  5. Hey @adrian , I'm just developing a new module and using your todo-panel all the time. Now I had the plan to place some files in /site/assets and some in /site/templates, both having the folder name MyModule. The "problem" is that I want the files in /site/templates indexed by the todo-panel, but not the files in /site/assets (that's an external library). Is there any chance to make the filter more specific? Maybe a regex option? No problem at all if that is not easily possible, but if it is, I'd be thankful for such a feature ?
  6. You can just copy over all the files (not a site profile) and make a DB dump and install everything 1:1 on your dev server. Or you can try to use https://modules.processwire.com/modules/duplicator/ No idea what is going on in your case ?
  7. That's exactly why I built it - thanks for improving it further @adrian ? Just a quick tip you might find helpful. It makes the code more readable if you use constants instead of integer variables. You'll get them from intellisense in your IDE so it's also easier to look them up like this than heading over to the docs: @tiefenbacher_bluetomato Greetings from Vienna to Schladming(?) ? Looking forward to the winter ?
  8. If "the rest" is not obvious you have two options: google ask a specific question here in the forum You are complaining that the examples suppose some kind of basic setup... But that's not a bad thing. That's just to have a common basis and to make sure all are talking about the same. If your setup is different, why don't you bring up a new installation and test things out the way several helpful and experienced people here in the forum where trying to explain? Maybe it has a reason why they do it how they do it?! Have you ever TRIED OUT one of the basic AJAX examples around the web? What are you talking about in your basic demo? Does it work? Does it not work? What author var are you talking about? Nobody here knows anything about your setup. You never told about it in detail. If you just started with one of the shipped site profiles everybody would know what you are talking about and what would be going on. Once that is working and you understand how and why you can move on forward to customized setups.
  9. Thx, I'm on Win10 + Chrome, just like @jmartsch ...and just had the error again using @ + arrow down + enter ?
  10. Z index for sure not. Sticky header I think also no. I have to try tomorrow to narrow it down...
  11. Thx for your feedback. It still bothers me every day...
  12. Yeah, actually I just wrote to my notes about why PW is great: Headless got innovative and trendy in 2018, PW works like this for several years now and is extremely mature.
  13. [offtopic] just wanted to mention that always when I log into a site with an older version of tracy I realize how much better the new not-so-colored theme is, thanks for that @adrian and @tpr ?
  14. @modifiedcontent here you go with a very simple example using jQuery (but it's different for all javascript frameworks or vanilla javascript... I'm using the default profile for the example: home.php <?php namespace ProcessWire; if($config->ajax) { $content = "content loaded via ajax @ " . date('d.m.Y H:i:s'); } else { $content = $page->body . renderNav($page->children); } $sidebar = '<button id="loadrandom">load random page</button>'; _main.php: add this before your </head> <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script> <script> $(document).ready(function() { // add an event listener for the click event on #loadrandom button $('#loadrandom').click(function() { // check your console if everything works console.log('button was clicked'); // use the load() method to replace the current content // of div#content by the content of div#content that is // returned from an ajax request to the current url ./ $('#content').load('./ #content'); }); }); </script>
  15. Would love to see such a tutorial! ?
  16. Sounds great! Any chance for a short walkthrough of how you are doing it in the tutorials board? ? PS: Welcome @thepurpleblob, hope you enjoy ProcessWire ? PPS: We have also some projects that help you setup new installations of pw fast and easy (mine being alpha)
  17. Copying repeater items is easier than you might think. Repeater items are just regular pages, just not visible in the tree as you would expect. But they are there. So you can just clone them as if they were regular pages. @adrian has built an adminaction in his module for that. I had a discussion with him about using my clone method instead of his getNew() approach. See https://github.com/adrianbj/ProcessAdminActions/pull/7 The problem is that my implementation does not work on his side. So I would be happy if you could try out my approach of just cloning the repeater item and setting a new parent and tell us if that worked for you. The key is to find the new parent for the cloned repeater item. You find it by it's name: https://github.com/adrianbj/ProcessAdminActions/pull/7/commits/a92227707e20b32ff2144edb999f8008ff450d1c#diff-2780518325127d1f954f0c4a906b8d6fR106
  18. Maybe because the topic was intended to share a github repo about cool projects around the uikit framework. It was never ment to be a discussion thread about different css frameworks. PW is open to everything, and therefore anybody can choose its favourite. So everybody please come back to topic or open a new one related to discussion about css frameworks. Thanks.
  19. Agree on all the above ? This video is really great - and even if it was rebuilt I think it should be linked nearby. 8 years later and the foundation and principles are still the same and more trendy than ever before. Just awesome!! Headless as a totally new concept?! Bore me more ?
  20. On the department page, simply this: // $page = department A or B $persons = $pages->find([ 'template' => 'person', 'has_parent' => $page, ]); And for an overall overview: $persons = $pages->find('template=person');
  21. DepId would be a variable of course. Listing all persons would be as easy as just "template=person" But maybe you have a different template setup. I thought departments have template dep and meet have template persons and persons have template person. Is it different?
  22. On mobile... Maybe I don't understand your problem. Why not just "has_parent=depId, template=person"?
  23. Didn't see that and haven't tried it yet. But I guess you're right... I'll test it the other days ?
  24. Maybe you got me wrong: I was just saying (or trying to say) that I guess that everybody knows it, because the admin uses it. It was in no way forcing anybody to use it. Always ? But it's a little offtopic imho. And the link shows just a graph like this one... Bulma looks also great though ?
  25. https://processwire.com/blog/posts/rebuilding-pw-website-part2/
×
×
  • Create New...