Jump to content

PWaddict

Members
  • Posts

    908
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by PWaddict

  1. Thank you horst for the answer. I already read that from Wikipedia but I'm looking for something more practically than theory. I did a test to check the difference on TTFB between a PW & HTML page. On a PW page (template cache) I'm getting 600-650ms and on the HTML version of that same page I'm getting ~550ms. So I guess if I buy ProCache I will get ~550ms but do you know if it's possible to get better results? Or the ~550ms is the best I can get since that was done with an HTML page?
  2. Hello, I'm thinking to buy ProCache very soon but before I do that I have one question. Can ProCache improve the "Time To First Byte" (TTFB) ? Thanks!
  3. Hello, If I upgrade from 2.5.3 and 2.6.1 to 2.7.2 will the user permissions get affected? Thanks!
  4. Yeah, I know about it. I was just wondering if there is any difference.
  5. Hello, I would like to force the entire site to https. Should I do it on htaccess or on templates. Is there any difference? Thanks!
  6. On the .htaccess of PW there is already the mod_headers module with this code: <IfModule mod_headers.c> # prevent site from being loaded in an iframe on another site # you will need to remove this one if you want to allow external iframes Header always append X-Frame-Options SAMEORIGIN # to prevent cross site scripting (IE8+ proprietary) Header set X-XSS-Protection "1; mode=block" # prevent mime-based attacks via content sniffing (IE+Chrome) # Header set X-Content-Type-Options "nosniff" </IfModule> If I add your suggested code for mod_headers on the top of .htaccess will there be any issues by having 2 times the mod_headers?
  7. Hello, Here is a small contribution from me for the PW community I converted the Greek characters to ASCII ones so when a user writes a title in Greek language it will be auto validated. To do this you have to copy and paste the below values on Modules > Core > Page Name. α=a ά=a β=v γ=g δ=d ε=e έ=e ζ=z η=h ή=h θ=th ι=i ί=i κ=k λ=l μ=m ν=n ξ=ks ο=o ό=o π=p ρ=r σ=s ς=s τ=t υ=y ύ=y φ=f χ=x ψ=ps ω=w ώ=w It would be great if Ryan include this on the next PW release.
  8. Oh I didn't noticed Directory Traversal Filter at all. LOL Thank you very much Roope and have a GREAT new year!
  9. Hi, Is ProcessWire + ProCache + Padloper compatible with LiteSpeed server + MariaDB? Anyone using the above combination? If yes I would like hear your experience. Thanks in advance!
  10. There are no differences. Well I just have to enter the urls without http:// and include the http:// on the template file. I'm really curious why is this happening.
  11. On another ProcessWire site I have on the same server I don't have that problem.
  12. Hi, I have a field that would like to store a url starting with http:// but when I tried to save the page where that field exist, it redirects me to the front end site with 404 error and the page won't be saved. The browsers's address stays the same http://www.mysite.com/admin/page/edit/?id=1022. The same problem happens on both field types URL and Text. If the value starts with http:// then there is a problem. On locahost I don't have that problem. Thanks in advance!
  13. I wanted to have a gmail address for all the automated outgoing mail for orders through Padloper but I'm not sure if it's possible. I've contacted my host and we were trying to do it with the help of the Wire Mail SMTP module but without success. It's not really a problem, I created a noreply email under the domain and problem solved. No need for gmail. I could do that at first but that's what happen when you haven't slept for 48 hours... Thanks guys for trying to help.
  14. Hi, On localhost when using an email like this root@localhost.com everything was working fine but how can I use a gmail address on a server? Thanks in advance!
  15. I used the Soma's version just to be safe. Thanks.
  16. Hello again How can I set a default checked radio button within foreach loop? By simply including "checked" within input code, only the last option gets checked but I would like to have the first option as checked. Thanks in advance!
  17. Did you edit it? The first one you posted which I got in my email is working perfectly: if(count($pages->get("$page->id")->children("my_field=0"))) { echo "Sold out"; } Thank you guys both for the help!
  18. Hello, I would like to check if a specific field has 0 value in ALL children of the current page and then echo for example: Sold Out. Can you help me? Thanks in advance!
×
×
  • Create New...