Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


pwired last won the day on November 11 2020

pwired had the most liked content!


Profile Information

  • Gender
  • Location
  • Interests
    IT and Science

Recent Profile Visitors

17,305 profile views

pwired's Achievements

Hero Member

Hero Member (6/6)




Community Answers

  1. How many times this subject already ? Anyways I tried Bootstrap - UIKit and funky Tailwind but guess what, I returned back to pocketgrid because it can't be beated in usage and speed: https://arnaudleray.github.io/pocketgrid/faq/ https://arnaudleray.github.io/pocketgrid/
  2. Many examples on the net https://css-tricks.com/the-simplest-ways-to-handle-html-includes/ https://www.thoughtco.com/html-in-many-docs-with-php-3469181 https://www.phptutorial.net/php-tutorial/php-include-file/
  3. Someone delete this thread
  4. I always sticked to the golden rule: keep code separated from layout and it always served me very well. Funny how fashions like tailwind and the ever next bootstrap invite people to break with the golden rule and mix code again with layout Ajaxify is already replacing parts of a page without reloading the whole page for a long time and does it very easy
  5. Big Discounts here on coding pirple coding school (I am not affiliated) Just to let you know, https://www.pirple.com/
  6. Good find ! Now I can use this together with my browser console to see what I am doing. Thanks for posting.
  7. They offer a discount on that course - now only for 12 euro - otherwise I would not have mentioned it 👇
  8. Good point, as many took the road without javascript like me. Lately I am catching up with "talking to the server without page reload" (ajax - XMLHttpRequest) I left treehouse and moved to udemey.com as I experience them more professional/friendly and they have a lot of offers. https://www.udemy.com/course/the-complete-javascript-course/
  9. Hi, To find the root url of a website we can use the processwire api I am looking for a php way to get the root url of a website (so not with the api) I have not found a clear solution for it on php.net and neither on stackoverflow This is the best I could find: // DO WE HAVE HTTP OR HTTPS $protocol = empty($_SERVER['HTTPS']) ? 'http' : 'https'; // example php code for http $root_url = "http://".$_SERVER['HTTP_HOST']; $root_url .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']); So far this works but I am not sure if this is the real php fool proof way. Does anyone know of a php fool proof way to get the root url that works for localhost and online site ?
  10. Looks like you bumped into a Laravel coder who does not know Processwire. Why don't you first ask for guidance in the forum ? What do you mean by: I want to setup a directory ?
  11. Thanks Adrian for posting about this dibiphp, was looking for this for a long time.
  12. Seeing all those frameworks popup one after the other - sure they all look interesting but are they really worth it ? Tailwind ? .... Alpine over Vue ..... ? Jquery or plane javascript / css / php do the job in 95% of all my cases. Do your website projects really need the new kid on the block ?
  13. To make a processwire version with a xml database would be a dream come true. How difficult would that be to make ?
  14. Remember pocketgrid css ? Lately I learned to mix flexbox with pocketgrid and now it covers almost all of my layouts.
  • Create New...