Jump to content

AndZyk

Members
  • Posts

    718
  • Joined

  • Days Won

    10

Everything posted by AndZyk

  1. You are absolutely right, kongondo. My question was meant as a test to figure out, if the lcmini.php script is blocked by the .htaccess file. But your solutions are more secure.
  2. Hello dowmedia, have you enabled access to php files other than template files in your .htaccess? You can simply enable this by commenting this line in the .htaccess out: # Block access to any PHP or markup files in /site/templates/ RewriteCond %{REQUEST_URI} (^|/)(site|site-[^/]+)/templates($|/|/.*\.(php|html?|tpl|inc))$ [OR] This line could block the lcmini.php script.
  3. If you don't want to use the template compiler, all you need to do is to add the ProcessWire namespace on top of your template file: <?php namespace ProcessWire; Here you can find the blog post about this topic.
  4. I am usually more the silent observer type of this forum, but I just want to say that Repeater Matrix, beside all the nice frequent additions, is by far my favorite addition to ProcessWire this year and really improves the workflow with custom content elements. I am really looking forward for more additions to this FieldType and thank you for coming up with it. Regards, Andreas
  5. AndZyk

    ServiceWorker

    Thank you for the quick answer. I'm glad to hear that it is possible to combine ServiceWorker with ProcessWire. I never tried it, but wasn't sure. I will test it out for myself some time, because I think this spec could improve your website a lot.
  6. AndZyk

    ServiceWorker

    After I discovered the SerivceWorker spec, which was demonstrated really funny and informative in this panel, I wonder if it is possible to combine it with ProcessWire? Is it possible to make offline websites with ServiceWorker and ProcessWire combined? Because you still would need a server to serve the PHP files or does it only work with static HTML files? This question is maybe silly, but I would like know if anybody has experience with this new spec so far. Regards, Andreas
  7. My suggestion does the same as Tom's, but I forgot, that you would like to echo the HTML code. Personally, I don't like to echo every bit of HTML, but as you said, it is a matter of preference.
  8. Hello Roderick, are you searching for this solution? <?php foreach($page->children as $child): ?> <div class="my-class"> <?php foreach($child->images as $image): echo "<img src='$image->url'/>"; endforeach; ?> </div> <?php endforeach; ?> Regards, Andreas
  9. Maybe the path to the ".htpasswd"-file is not correct. You can use this PHP-function to see the correct path: echo getcwd(); Beside that you could use a "robots.txt"-file for preventing search engines to crawl your site. A subdomain would also help I think as well as hiding the root page in ProcessWire.
  10. Great module with much potential. I also would like to have a more simple way to set the event recurrence.
  11. Nice site. For the images you could install an module for generating different versions of the image and use Picturefill to display them, because responsive images aren't supported by all browsers. No need for multiple image uploads.
  12. Maybe they wan't to be sure, that those icons will have transparency or maybe they plan to use those icons for something other than just pinning tabs. But right now you're right. Apple often wants some special treatment.
  13. Hey, I know this is not a request for ProcessWire itself and you probably got better things to do, but since the release of Safari 9.0 I started to like the new pinned tabs feature. As I am interested in all new things related to ProcessWire, I always got an tab open for your site as my starting point for new interesting topics. One thing I would like, is when I pin your site to see a neat little icon. So could you please implement that? It would only just take a couple of minutes. Regards, Andreas
  14. I had the experience, that on one server I needed to set all permissions in the "site/assets/file"-folder to 777 in order to keep my ProcessWire install running. Although I highly wound't recommend it, because you would make your site vulnerable. A good server set-up wouldn't need such workarounds. But I am no expert in permissions as well.
  15. Welcome codevark, uncommenting line 124 in the .htaccess-File, for setting the RewriteBase to "/", as stated in the thread you posted didn't solve the problem? Usually this is the problem when a new ProcessWire install is hosted in a subdirectory. Regards, Andreas
  16. I think it is safe to say, that this thread was a simple way to seek attention and can be deleted.
  17. Welcome Claudio, may I ask, why you post a WordPress-website with an bought theme in this board? Besides that, I wish you good luck with your company. Greetings, Andreas
  18. Thank you, I didn't knew about this module. I just tried it out and it seems to work fine with my rendered output from the PageTable-Field.
  19. Exactly, that is what I wrote on my first post.
  20. My loop looks like this: <?php foreach($child->content as $element) { echo $element->render(); } ?> I don't quite understand your code, because you are not using the page object. Could you please explain why? I have never seen such variables in the context of ProcessWire. But I don't think that has anything to do with the module, so let's just wait, if the authors respond.
  21. May I ask, how do you output your content? Because if you simply echo the content it works as expected, but if you render the content the e-mail-adresses don't get de-obfuscated.
  22. Is there a workaround for this behaviour? I like this module and have used it on serveral websites. But now that I'm using the PageTable-field to render my content, this module doesn't obfuscate e-mail-adresses anymore. If someone has an idea to fix this, would make me really happy.
  23. Really nice and clean skin. It is definitly lighter then the default default skin. One small note: There is an quotation mark missing in the module instructions. I think most of the ProcessWire-Users figure this out by themself, but maybe you could fix it with your next update. CKEDITOR.editorConfig = function( config ) { config.skin = lightwire,/site/modules/EditorSkinLightwire/skins/lightwire/"; };
  24. Hi sambadave, as far as I know you don't have to upload the file again. You could go into the files folder and delete only the generated versions of the images. For example if there is an image "image.jpg" and it has generated versions like "image-600x400.jpg" and so on, you can search all images with "-600x400" delete them and after reloading the site, ProcessWire generates new versions of this image. You can try it out, but be carefull not to delete the original. Maybe make a backup before and be aware, that generating a lot of images could lead to a timeout when reloading the page, so you have to reload the page several times. Regards, Andreas
  25. AndZyk

    von Bergh

    I am happy you like the website. I can't take credit for the design, because that was made by an co-worker, but I will let him know. The long scrolling after clicking the last reference is indeed a little obstacle. When I developed the site I didn't expect that there would be so many references. That is one of the disadvantages of a single page design. It seems like the caching is already doing its job, because I didn't switch the server yet. But 2,4 seconds loading time is already an improvement.
×
×
  • Create New...