Jump to content

steveooo

Members
  • Posts

    70
  • Joined

  • Last visited

Everything posted by steveooo

  1. Hi. I got the same problem here. It was some caching it seems.. If I logout the backend account and enter via private browser mode, everything should work. If not: Strg/Cmd+R for browser reloading.
  2. Here is a screenshot. Before or after the 86 kB, there was "2 Variations" or something like it. Where is it? If I click on cat-5.jpg or the Edit-Icon, I only see the image-editing (cropping, ...) window.
  3. Hello, since the new Reno Theme for PW 2.7, where can I find the image variations (rendered sizes by API or other modules)? If so and it won't come back: How can I remove all variations of an image with a single click? Thanks!
  4. Hello, I am having an autoloaded module that should execute before another autoloaded module. Currently, my module is loaded after the other one -.- How can I achieve this? If that's not possible: How can I say that my autoloaded module should boot as first one in PW boot process? Thanks for your answers!
  5. Ok. I thank you both for your answers! Changing the page names is an idea I did not think of... I checked and the page names get written in database (pages field)... So there will probably some problems... I let this post open for anyone else to write his ideas on this.
  6. Well. I have three systems: 1. local env (vagrant via url of foo.local) 2. stage system for live testing (stage.foo.com) 3. live system (bar.com) With your solution, 1.) would possibly be solvable (if I get you right: ich would write something lke "192.168.33.10 bar.com" in my local /etc/hosts), but I would get the downside that if I access bar.com, the defined local IP will be used and not the real IP of the live server. Also this solution does not consider the stage system. It would be nice if someone has another solution. Well, my initial question was something like "if changing $config->httpHost, would it be ok?" and your response "where you don't know the consequences" does not help. Do you know the consequences? It would be nice if someone tells me how important this thing is and if I can damage something by changing it. Thanks!
  7. Hi. How have you done this? Could you make a screencast of nested windows (not just the first modal window?) Thanks!
  8. Well. I am too using Vagrant and /etc/hosts file on Mac. The thing is: my domain is test.local and even if I change it to test.com (the real-life url) in /etc/hosts, I also need to configure this on another stage environment like e.g. stage.test-phase.com... Does anyone have some other ideas? My plan was to modify $config->httpHost (or if in module: $this->wire->config->httpHost). I know want to know if this is a legitimate solution? How can I say that my module executes in PW booting order? I ask this for the simple reason that I want every other module that uses wire('config')->httpHost gets the updated httpHost that I manipulated. @Ryan? This would be also a great question for you
  9. Hello. Watch out: I am talking about $config->httpHost not $config->httpHosts. Last one is an array, first one give the current domain name that. Anyone an idea?
  10. Hi, well. I do not want modal windows. Technically, they can be "modals" but 100% width and 100% height so do not see a window in a window. How can I hook into that? Any working code?
  11. Hello guys, I am using some nested PageTables and with every PageTable field the user clicks on, a modal window appears. Because every modal window's width & height are not 100%, every nesting step shrinks the window. Does someone have any solution for this problem? Best wishes, steveooo
  12. Hello, I am using Antti Peisa's Multisite module. For those people who are not familiar with it. Here is the link: http://modules.processwire.com/modules/multisite/. It works like this: It gets the current URL that visits the page via $config->httpHost and then redirects to a page who has the same name (e.g. get it via: $pages->get('/www.multi-site.com/')). The problem: $config->httpHost is locally something like "multi-site.local" and the redirection does not work because the ".com" url is hardcoded as page name. So I thought: Why not solve this problem by replacing the value of $config->httpHost in a module via: $this->wire->config->httpHost = str_replace('.local', '.com', wire('config')->httpHost); Is this a good way of doing this? And if yes: How can I say that my module loads first in the booting process? Are there any dangers with this approach? If so: any better ideas? I am not a great programmer Thank you!
  13. Hello Soma! Thanks for your fast and good reply! It now works fine! I tested it your way but while testing, it think I missed the trailing slash for the /en/ part (everything then gave me an 404).. Do you use this plugin by yourself? Multi-site and multi-language are some pretty important features for a CMS. I would be screwed without this Multisite module. Any plans on working on this module again to optimize?
  14. Hello, I have following structure: / -- www.campaign.com -- www.campaign2.com I am using soma's Multisite module (fork of apeisa's Multisite module) and I installed the multi-language module of ProcessWire. My two languages are German (as default) and English. And on www.campaign.com, I changed the name for English to en.campaign.com. I thought that now everything should work, but didn't. Can anyone give me a working example of using this module with Soma's extendend multi-language-features? Maybe I missed some settings or didn't understand this module in the first place.. Thank you!
  15. Have you implemented this module in ProcessWire or did you just stumbled upon this ?
  16. Ok. I had time to test it and it works. The only downside I see is a usability one: The modal windows for this. Is there a better way to use this? New browser tabs or new windows instead of modals? Would be cool if someone implements this functionality!
  17. Hello, I am building a modular layout via PageTables. Are PageTables nestable? E.g. i am using a content field (PageTable) where I insert a template called test. If I use a PageTable in this test template, will everything work? If this doesn't work, is there an alternative for this?
  18. Well. I used $image->size(1500)->url in my template and it works now. It is not the way via UI/Backend, but it works pretty good! Hopefully this solution is not just a quick fix but rather an elegant solution ?
  19. Hello, that were my first two search queries I used to find an answer... And no, nothing worked. I wrote that I changed php.ini, mentioned in one or two of other posts on processwire.com... The thing is: I can prevent the error by disabling the max image dimensions feature but if not, my clients would upload some 4MP images and that's pretty bad for a website that tries to stay performant for mobile devices... And this max-width feature is pretty nice, but it won't work because of "out of memory" error.
  20. Hello, I have an problem that when uploading a new image, the uploaded stays at 100% but no image was uploaded. I tried chaning memory_limit and co. to 256M or so but nothing worked either. In the error log, there was an out of error warning, caused by core/ImageSizer.php. So: I used "Max Image Dimensions" for resizing every image above 1500px to 1500px. Here is the thing: After disabling this feature, so I don't use max image dimensions feature, everything works. How can I enable this feature without breaking everything? It seems that it's a bug in ImageSizer.php that can't handle with large files on some server systems? I hope for your answers!
×
×
  • Create New...