Jump to content

szabesz

Members
  • Posts

    2,920
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by szabesz

  1. Erase? Though, "delete" is the best. Using "delete" instead of "trash" in the context of working with a Trash is a bad habit in IT lingo...
  2. Hi @titanium, You might want to consider doing it in a different way, by creating field+pages for such settings, for example like this: http://processwire-recipes.com/recipes/create-custom-admin-settings-page-link-in-admin-menu/ Quite a different approach for sure but it might work for you.
  3. Hello @Konrad, welcome to the Forums, If I understand you correctly, you have a Bitnami Xampp setup problem, right? Which is at this stage, not yet related to ProcessWire as such. Such an issue fits well our "Dev Talk" section, not this one, but anyway you are probably better off posting such issues here (or maybe a XAMPP community forum?): https://community.bitnami.com/ Do not get me wrong, I do not want to turn you down, you might find someone here with experience in Bitnami/Xampp. I myself have not used it for ages. If you cannot make it work, I recommend MAMP which is relatively easy to get working.
  4. You migth want to give a try to a CSS only off-canvas menus: https://www.google.hu/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=css+only+off-canvas+menu "..big mistake?" It depends but if you do not want to confuse your visitors, you need to find better solutions.
  5. What do you mean by "elsewhere"? Why don't you store the intermediate values in variable so that you can check them? E.g.: $whitelist=whitelist; bd($whitelist); $search_keywords=$whitelist->search_keywords; bd($search_keywords); $page_body .= wireRenderFile("includes/comic-search-form", array( 'search_keywords' => $search_keywords )); Also, @adrian's Tracy has a panel called "Template Resources" showing all available variables loaded for the page. If it is null in the template partial, then it should be null when it was passed to it...
  6. You might find something here: http://navnav.co/ It looks like the classic "Off-Canvas Navigation Menu" is the one you might like to build upon. As for the memory problem, isn't it an image resize problem by any chance? E.g.:
  7. Hi, $hp = $this->wire('pages')->get(1); The reason:
  8. @Robin S I have just find the time to try out your approch and since I like the Hanna Code module I will use it for sure. I recommend updating your post at least with: if(!$this->wire('modules')->isInstalled("TextformatterHannaCode")) return; Just to make sure we never run into a fatal error. Also for the sake of completeness, an example might be good to add in the Hanna Code itself: return $p->url; // an example to return the URL to the page without scheme and hostname Or something similar It would also be nice to add this to http://processwire-recipes.com/ but contribution to the PW Recipes sounds convoluted to me, so probably that is why it is not so popular among forum contributors. It's a pity though...
  9. Thanks a lot Teppo, I do appreciate the effort! I'm gonna start using it and report my findings as soon as I have enough experience.
  10. Welcome to the Forums! If it is 60% done, you are probably better off finishing it. However, if you have the time, you can start it from scratch and learn ProcessWire at the same time. Learning ProcessWire is a nice experience with a good, linear learning curve, but it is still something new to learn. For example the above mentioned "page/field/template strategy" depends on your needs and experience too, so this is something you need to examine in detail before you make the plunge. You can find a lot of topics on it in the forums and in the docs. If you want to save time on coding, look up the Modules Directory. I recommend modules with v2.7 and/or v3 compatibility. Always check out the module's forum topic to learn more about its current status and get more info on them. As for Yii2 or Laravel suggested by @Sephiroth, I do not think it is something everyone should follow, at least ProcessWire is perfectly suitable for "anything" and development can be quite rapid with it, one just needs the experience to build something quickly in any framework one uses.
  11. Thanks a lot @Robin S! Last night I went to bed and had a great sleep, and this morning when I wake up, reading your post I realize that my dreams came true I will have time to try it out in the evening, but looks rather straighforward. I agree with @adrian, it is really smart to use Hanna Code. I hope that this thingy here is not an issue anymore and just left open for some reason and even if it is still an issue, your way of using Hanna Code is not affected by this.
  12. Indeed! My favorite: “...just wait for it, we are going to do assembly in the web in a year or two." I just can't wait
  13. Welcome to the ProcessWire Frorum @leegold a Step by step tutorial: http://blog.mauriziobonani.com/tags/#processwire Basic ProcessWire website workflow - Part Four Basic ProcessWire website workflow - Part Three Basic ProcessWire website workflow - Part Two Basic ProcessWire website workflow - Part One
  14. Thanks Adrian! It was just an idea I wanted to share but not really a feature request or so. And also thanks for reminding me of the RuntimeMarkup module!
  15. I'm sorry Anyway, do not spend too much time on it...
  16. Thanks for sharing Adrian! Is it possible to display values from an other language than the default? I would like to inject [page.url] and its counterparts from the other languages into the Title description of a blog page (just what we see in red on the Settings tab, but) it could be a good overview to see something like: /blog/my-nice-article/ /es/blog/mi-buen-articulo/ I'm willing to hardcode the language IDs into it... Another question: what about "custom" php? Or is it out of the scope of the module, because if it is "custom", why not implement it from scratch in the first place?
  17. ...or, you might want to use min-height or min-width, depending on your needs, e.g.: http://www.stucox.com/blog/dont-squash-me-using-min-width-on-fluid-images/ The background image version has the drawback that it is considered to be a design element, and not an image with an alt attribute: http://buildawesomewebsites.com/blog/html-img-tags-vs-css-background-images
  18. How about using bits? You have 24 × 4 = 96 slots, the state of these can be stored in an 2^96 integer in theory. Since PHP does not support such a large integer you might want to break it up into two: 2^48 + 2^48 (a.m. + p.m.) You can get an idea of how to check bits and/or turn them on/off by googling a bit: https://www.google.hu/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=php+bit+flag+check The drawback of this simple storage method is that if you need to adjust the timeframes in the future (say your client wants every 10 minutes instead), you will need to implement a conversion algorithm to change all the already stored values. But if things does not change at all, or highly unlikely to change in the future, then it is simple and efficient way of storing data.
  19. I have enabled the compiler just to test it and it works as expected for me.
  20. It should work that way. At least it used to work. I have disabled the compiler completely in all my sites so cannot test it quickly, but I was the first one to raise this issue an Adrian had solved it. If the issue is back, it was not intentional, I think.
  21. Yes I have had, but gave up at least for the time being. Also, I did not figure out how to "register" MySQLComparisonBundle.exe to utilize the advertized "free for non-commercial version".
×
×
  • Create New...