• Content count

  • Joined

  • Last visited

Community Reputation

47 Excellent

About mrjasongorman

  • Rank
    Full Member

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

1,622 profile views
  1. It just seems a shame that the forum auto redirects but the main site doesn't?
  2. haha, so there is, 10 months is a long time in software development, and clearly a long time for my memory
  3. I tried to find a thread that spoke about this, but couldn't find one, so i thought this thread mentioning the site itself was a good place. I've noticed that has a wildcard SSL certificate, however it doesn't automatically redirect to HTTPS or use HSTS header to inform the browser to prefer HTTPS connections. Just wondered if there was a reason for this? To clarify this only seems to happen on the main site, not the forum. going to
  4. I think i may have a similar problem, i currently have two websites running on the same server but under different subdomains, i have user data that needs to persist across subdomains, i'm using PHP's $_SESSION variable to store the data on the non ProcessWire site, though when i attempt to access the variables in PW they don't show up. I've got the ini_set('session.cookie_domain', ''); and i can see the PHPSESSID cookie does show up for both subdomains. However in PW when i echo session_id() it displays the session id from the wire cookie. So i guess $_SESSION variable has been taken over by that? Is there a way to still access the original $_SESSION variables from PHPSESSID ? Any help on this would be great.
  5. Nice to hear others are using this technique too. For my case the emailing system we were required to use has an "editor" but it's terrible, with PW i can add condition switches in the CMS to arrange partials in the email to a particular order etc. So much potential.
  6. Ah really? that's cool, tbh i'm not sure why i didn't think of it sooner.
  7. I recently had a revelation when building HTML emails, what's the difference between HTML emails, and HTML web pages? Other than the horrible table syntax, the result is the same, it's still HTML. This got me thinking why not use a CMS to help generate the HTML emails based on a template? Just like we using a CMS to help generate HTML web pages. We started by setting up ProcessWire (our usual CMS of choice) and added the relevent fields for the sections of the email. Then we took a previous email moved the content into ProcessWire and hooked up the code to pull that content back into the correct places. Repeater fields allowed us to have repeatable sections that are easy to add too, change order of or remove, giving us huge flexibility when a client changes their mind last minute. The speed of setting up and dealing with ProcessWire allowed us to go from concept to working prototype within a day. To use the emails, we just view source of the generated page, and copy and paste into the email system. Sometimes Litmus inliner is required to allow the email to work in Outlook, but we can run it through that before pasting into the email system. Future development could be integrating a css inliner into the generation step, to avoid using litmus inliner. Hope this helps show how ProcessWire can be used in a different scenario.
  8. Looking at the requirements i think these privileges should be enough? Data: SELECT, INSERT, UPDATE, DELETE Definition: CREATE, ALTER, DROP Extra: INDEX Similar to this requirement from Wordpress... Also points out a nice config conditional trick where by a higher privileged DB user is used in the admin area, and normal pages use lower privileges (possibly just SELECT). Hope this helps keep ProcessWire setups even more secure.
  9. I'm just wondering exactly what MySQL permissions are required for ProcessWire? From a security point of view i would prefer to lock down the MySQL user that ProcessWire uses to the least amount of privileges needed. I guess it's SELECT, INSERT, UPDATE, DELETE, but do any modules create additional indexes? Any help on this would be great.
  10. @Mike Rockett Ah ok i see, i may have not read the thread properly, my bad.
  11. = (amazon seattle) according to = (amazon seattle) according to Looking at curl -I it returns: HTTP/1.1 301 Moved Permanently Server: nginx Date: Wed, 14 Sep 2016 17:30:09 GMT Content-Type: text/html; charset=iso-8859-1 X-Frame-Options: SAMEORIGIN Location: Age: 0 Connection: keep-alive So it's just a redirect?
  12. I've noticed that the website runs over SSL, but i also noticed that visiting the websites over http still works, and once using the insecure version the links are also relative pointing to non-ssl links. As a fix there could possibly add an auto redirect to the HTTPS site? This could potentially then take advantage of HTTP/2 speed.
  13. I'm just wondering if there a way of creating block like functionality similar to say Episerver / drupal blocks?? I guess i could treat the template as a view that loads in sever partials (kinda like blocks) ?? Any ideas on this would be great.
  14. Figured out i can just manually enter the path to my template file at the bottom of the file select page. It then scans the file and picks up the translatable strings.
  15. As regards to language files translating strings from within my custom templates, what's the random string (key) inside a language JSON file? and where abouts do language files live? I have an issue where by PW won't pickup all my templates that have __('text') as templates that can have translation files attached to them. It's only picking up header.php, footer.php and home.php about.php gets ignored for some reason :/