Jump to content

Ivan Gretsky

Members
  • Posts

    1,427
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Ivan Gretsky

  1. I just played with uploading your files and it worked fine (maybe not so fine, but worked) for me without Adrians module on PW 2.4.14. Got the same results as Adrian. Maybe png.png is not the best option and should be changed, but it does function. I tried moving around those hieroglyphs so I get two 3-symbol files with untranslatable symbols in the filename and it still worked. I got "png.png" and "png-1.png" or something like that. Working on Windows 7 with XAMPP.
  2. I think you are making valid points here. Those files are often marketing information and are better saved with filenames as designed.
  3. I am quite new to caching and do not know, what do we have in PW right now, but what you are proposing makes a lot of sence. If you could explain the difference to the curerent state of affairs it would be great. How would pages with conditional output, url segments be treated? Maybe we could even make the cache expire when some API call with PW selectors returns changed value (against the stered one)?
  4. Silence is golden! Let's close the forums! I guess that we have all the human rights here to spit a little acid about all the other CMSs and the sites that let them win over us! Even if they are those that let us win over them in the past. Arghh? I am just kidding and want to make it explicit. CmsCritic is "cool" as it brought me to Processwire. And it is half full of banners. I sometimes use this site to demonstrate my clients what are sidebar banners and how they could look (and that is no kidding). So CmsCritic is "cool" anyway: as a way to opensource world and as a online banner ad demo . I think that we really should be more tolerant to untolerance because that is the greatest tolerance there is and the way to freedom of thought . Let's keep this as ironic as it gets and spill no blood here.
  5. Damn, I have not managed to move them to PW yet .
  6. I have to say Joomla is making really good effort not to loose its position in the big 3. They rebranded, moved to github, started to redesign code to be more modular. Maybe they deserve it this year. And yes, this the known flaw of democracy, as crazy commies from the place where I live not so long ago, and Plato a little earlier warned us about .
  7. 1) Here is the collection of APIs to insert different Google+ pieces into your site. Do not have time to dig into this, but should be easy. 2) This is the official tutorial how to place those social share buttons on your site. It can be done in any the template file. Anyway, there are tons of those social sharing pieces around the web.
  8. Great topic! And really nice to see that everything that has been outlined and planned got its way into reality. I am trying to update russian translation right now and find it difficult to find the file with the string I want to translate. Am I completely missing the search and find capability, or is it not in place? If it is really not there, I think it would be great enhancement to find translatable string by text in default language.
  9. I am using sass a bit, but never tried Susy though. I think I should give it a try. Wanted to link to some really nice interactive online presentation about building grids with sass, but did not find it. But this is probably the same, but on slideshare. I do not have an own opinion on the best breakpont widths. But I've read, that content should determine that. If so, sass ans susy (or less equivalents) are the tools to be used. But I have an opinion on twitter bootstrap breakpoints: it certainly misses Joss' #2 and #3 (or at least one of them).
  10. Please help me on this! I followed your links, Adrian, and it seems like in validateFilename function there is already a possibility to get the transliterated name for a file by passing "TRUE" instead of "Sanitizer::translate" to filename method. $value = $this->wire('sanitizer')->filename($value, Sanitizer::translate); I am so unexperienced in this, that I may be completely wrong. And if I am not, I still do not know how to hook and change that constant. But if there is a way to transliterate a name for a page there must be a way to transliterate a filename. We just need to find out how )))
  11. Just guessing: the module renames only those characters it is aware of. So "未命名-1.jpg" gets renames to something like "____-1.jpg" and if there is no other files whick got renamed to same kind of nonsense name there would be no filename conflict. So you can upload "未命名-2.jpg" to the same field, but not "名未命-1.jpg". Probably there is a way to include some transliteration table/array for simlified chinese to the module, but Adrian has to step in here (as I may be wrong about all this).
  12. This is made by design to avoid problems with handling files on wide range of server OCs. At least, this is how I inderstand it. You can solve the problem by renaming files on upload with this Adrian's module. Have not tried it myself, so please report back if you choose to go this way )) Actually I would like to read more about this myself, if someone could share some links.
  13. I think you should do it like this: echo "<td>" . $page->promoting_club->title . "</td>"; or echo "<td>{$page->promoting_club->title}</td>";
  14. Found this topic and wanted to ask a few questions to revive it: The module has not been updated since version 2.2. Is it still usable? If it is shoul the compatibility be updated? What about LinkMonitor? Has it ever been released? Is there a recomended solution for moving sites from subdirectory to root (excluding search and replace in db dump)? Thank you!
  15. If you also need some nice eased scrolling from section to section it could be done with jQuery like this. Probably it is possible to open the long article page and then scroll down smoothly to the desired post.
  16. I found the answer to my question in another topic. Linking it here for seekers to come )
  17. Your link does not work for me, Peter. Could you check it out.
  18. There was a few topics about this kind of options. Not sure there ever was a conversation about flat files, but this is one about SQLite: https://processwire.com/talk/topic/858-sqlite-has-ftt-could-it-be-a-viable-alternative-database-backend-for-pw/ The answer to your question is no, it is not possible now (at least as I know it).
  19. 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?
  20. 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.
  21. 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?
  22. 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.
  23. 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 ?
  24. Could you please explain how to embed form without the iframe (no. 3 in the list above)?
  25. 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?
×
×
  • Create New...