Jump to content

Ivan Gretsky

Members
  • Posts

    1,548
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by Ivan Gretsky

  1. This is a module that shall bring thou great honor, Mr. Knoll!!! How does it work? Does it create fields for those tags? I guess, you still have to insert the markup into the template files yourself? Or is it "more userfrendly" already and does everything for you?
  2. Did you do it with the new module or the old way? I guess the places that we are may seem weird to others. PW is updated from thousands of weird places all over this crazy little spinning piece of rock.
  3. http://tjmahaffey.com/blog/cron-legacy-scheduling-a-mysql-query/ is, probably, a different template, than a blog. Are URL segments on for that template too?
  4. Yes, now you have to handle the URL segments data in the template file to change what gets output. You can learn how to here.
  5. Need some more data to help you. How do you know URL segments are not working? What is you code for managing URL segments in the template file? Is there any ?
  6. Could you please explain how to embed form without the iframe (no. 3 in the list above)?
  7. Performing replacement in database dump is a working solution. But still, Is there a way to configure RTE to insert relative links instead so the replacement won't be even necessary? And make them relative to site root? I used to do it this way in Joomla, but it does not work in PW. If I manually correct the link to not start with "/" it becomes relative, but relative to the current URL, not the root. Can the desired be accomplished?
  8. This is really great. Functions like it should. If you have time for it, I could suggest a few enhancements for UI: "Cosmetic" - it is not clear how to use it, as the module does not create any menu items; maybe a menu item would be preferable - it is not clear you have to check both boxes to even get a list of images; maybe 1 checkbox (checked by default) will be enough? - i can imagine the list getting really long, so it would not be usable to see it in the message area at the top (maybe make a list below the submit button) - it could be more clear to call the "submit" button something like "clear image cashe" or "clear image variations" "Core" - in joomla and some of its plugins you could see the list of pages and/or images which would be removed while clearing the cashe and check/unckeck them - could be beneficial for this module and make use of something alike page lister - it would be great to have an opportunity to clear image variations from the page admin on per-page or (wild dreams) even per-image basis I am not expecting you to start on this right now, you already "made my day", horst. Thank you! People waited since 2011 for the solution like this, and I got it in just one night. Isn't it a miracle? P.S. I think this module should make its way to the directory.
  9. Cool! I just wanted the alike functionality for image field. In the grid view I have not found a way to trash an image. This grid should do it. Does it work with file field only or can it work with images (preferably displaying thumbnails as icons)?
  10. I am here for the same reason. I scaled my images to be 600px high, but did not know upscaling is always on. So I want to re-resize my images from the originals. Is there a wau to do it? Is there a module or some other way to clear the "image cashe"?
  11. There are really cool additions to processwire nowadays, which allow database backup and upgrades from admin. They can make upgrading even an easier process. I have to say that I had some issues with restoring the upgrades on a not so up to date MySQL server (so i decided to go with phpMyAdmin exporting for now). Have not tried the "core update" module, but the video looks really promising.
  12. That looks cool, but I have no idea, what it means. If you could expand a bit about what SNI means for us, sitebuilders, and why is it used in China and Iran, it would be educational. I am really sorry for not knowing a thing about it .
  13. I did not get into all this, but maybe: $myfile = $page->documents->get("name={$myfile}"); But why not limit "Maximum files allowed" and output it like this: <?php if($page->documents) { echo $page->documents->url; } ?> If you plan to have multiple files uploads, you should leave "Maximum files allowed" option as it is and do foreach.
  14. Ivan Gretsky

    durch

    Check out these: https://processwire.com/talk/topic/407-processing-contact-forms/?hl=%252Bcreate+%252Bsimple+%252Bcontact+%252Bform#entry3208 https://processwire.com/talk/topic/2089-create-simple-forms-using-api/ http://modules.processwire.com/modules/form-builder/ And try to search the forum before you ask .
  15. +1 for making it configurable. I personally feel better if not "1" but "-1", "-001" or even "-{$page->id}" gets added. Same for the 1 step page adding functionality. I think it worth putting into roadmap.
  16. Ivan Gretsky

    durch

    Good day Frank! I think that there are not enough non-English resources about Processwire on the web. This forum is the best place to start and ask questions. And it is in English, as you see. But I think it is worth your time to learn more English and more Processwire, because it seems like modern web technologies just cannot be mastered without those two )) If you need a mentor or some other help in your native language and you are ready to pay for them, you could ask for it in this forum branch. But you always will get the best help in the whole wide Internet for free right here. Just ask substantial questions in the appropriate topics. Welcome! P.S. Try this online translation service.
  17. I am not an expert either, but you can try this solution from clever people at stackoverflow. In short, "try 127.0.0.1 as the server name instead of localhost".
  18. @pwired: Please share a link to your forum guide. I've found it once, when I was for doing something similar, but never again)) What's the use of forum guide if it can't be found itself )) Seems like everybody's going for some .pw sites now. Why don't you start something like pwforumguide.pw? It might be easier to contribute to than those snippets ones, as you only have to share a link in a carefully constructed tag or category structure. I personally would use it, because I seem to never find the right forum post when I need it. I just know that "the truth is out there".
  19. Maybe you could put this code in the Event template file: $page->children("sort=-created")->get()->render(); ...or something like that. Have not tested it )) Of course you should handle cases when there are no children.
  20. Quick answer - all of that can be done in PW. You should start thinking out your data structure: what templates do you need, how are they interconnected. There is a good forum post by kongondo here somewhere about it. Hope someone will help me out on that... Here it is.
  21. I visited you site and checked your issue. Could you please tell a bit more about your site. Does "Site Info" page use the same template as "About me", for example? If not, check if the code that generates the link is the same. If it is, plese post the code here, so we can see it and make further suggestions.
  22. I hope it supports transliteration )) Remember, you made a similiar little module just for me "on the fly" a couple of months ago. Glad it is now some bigger and more customizable one for a wider audience. I will try it out and report back.
  23. They are either included in template files with the php include statement or autoincluded in site config file. You can read this wonderful tutorial to get all the nuts and bolts quick. They also can be included in the admin in the FIles tab of the template edit page.
  24. Your select fields are most likely page fields. They hold reference to another page. Those numbers which you see are page ids. To output fields of the referenced pages you should do something like: <p> <?php echo $page->Battery_Manufacturer->title; ?></p> Here is a nice video tutorial about this type of fields. But you probably already know it if you're using it.
  25. You know that feeling , when you know it should work, but it doesn't, and you're tearing your hear off... But as soon as you post to the forum, you find those silly tiny echoes missing. But maybe you don't, because I have not seen none of those by one of you . Maybe there should be some "trashed" forum branch to bury those and keep our fountain of knowledge clean. Anyway, to make it at least finished if not helpful: I could not find those missing echo statements because I was inspecting the code through firebug and it autocompletes hrefs with the current page url (or is it the browser itself?) Looking at the source html output cleared the picture (but only after some debuging with outputting $page->url here and there). Thank you diogo for trying to make some additional benefit of this by showing some nice refactoring techniques.
×
×
  • Create New...