Jump to content

diogo

Moderators
  • Posts

    4,287
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by diogo

  1. diogo

    PHP 8 released

    $country = $session?->user?->getAddress()?->country; love it ?
  2. Is Counting a text field? I imagine you want to do something like: "some text $articles some more text". If so, you can use the Hanna Code module, or even a simple string replace, by preparing the text in the field with a placeholder tag: "some text {articles count} some more text", and in your code: <h3><span class="counter"><?=str_replace("{articles count}", $articles, $counter->Counting)?></span><span class="plus-icon">+ </span></h3>
  3. Quite a late answer, sorry. Yes, the module doesn't interact at all with access control. You would have to do that yourself inside the template file, by creating a new permission, and throwing a 404 or printing a custom message to unauthorised users. Dealing with the menu is a bit more tricky, since, the nav uses $page->viewable(), and that's at template level, being that our template would always be "admin". I guess you could simply clone the admin template and set the permissions on that one.
  4. Hi @antpre, The module doesn't do anything concerning this, it only works from the moment you are looking at that page. The place where those pages are shown in the menu is only dependent on where you place them in the tree. Try moving the page from inside the "setup", one level up, into the "admin" page. Now it should be showing as a main item in the nav. If you now place in inside the "pages" page, it will show as a subpage of that manu item. I hope I understood your problem correctly.
  5. You can find all the elements that are wider than the window by adding the code here to the console https://gist.github.com/cuth/c1ddf2b1ce2fb07e512a. One of those should be the cause for the scrollbar.
  6. @desbest The answers to your questions are on that very same post: and
  7. As an alternative to the image tags, you could use the new image custom fieds https://processwire.com/blog/posts/pw-3.0.142/
  8. Hi @dr Dogma, welcome to the forum! Head to the tutorials page, and read and try as much as you can there. https://processwire.com/docs/tutorials/ Then, you can come back here and post the doubts that you still have. Later, I'm afraid, you'll also need to make an effort to write in a more organized way, so people will be able to understand you. Good learning and good luck!
  9. It's working nicely for me on the newest dev version of PW. Did you change the process on the admin page from "ProcessHome" to "ProcessHomeReplace"?
  10. @EyeDentify I think @JeevanisM was referring to this:
  11. diogo

    ED works new site

    Thanks Jonatan! It's so great to receive such compliment ?
  12. Maybe you should have a look at this module http://www.99lime.com/modules/recurme/. I've never needed to use it, but always kept an eye on it in case one day I would. Seems very well put up. Also check the new Login Register Pro by Ryan https://processwire.com/store/login-register-pro/. Might help you a lot i n case you decide to build all the user interaction in the frontend.
  13. Ok, my bad. Still, reporting post serves a completely different purpose. Hopefully this will be picked up by someone that can address the issue, but the best is to post the issue on github. You would have to create an account there, and of course that's up to you, but you don't need to use git to do it, only fill a form on the site.
  14. I didn't ask you to not post in the forum, you should feel free to do so. I asked you to not report your own posts to the moderators.
  15. Please abstain from reporting your own post to call for attention. If you have an issue that you want resolved, report in on github and it will be addressed just as all other issues. https://github.com/processwire/processwire-issues/issues
  16. For some reason the instructions above were not working for me. After some googling I found this tool https://instagram.pixelunion.net/. f you're comfortable with trusting them, it works perfectly.
  17. I use mostly google keep for taking notes because it's really convenient, but I use Typora for writing on my mac. If all you want is to have your notes on a directory and have them searchable, Typora is actually perfect. I can also attest that nvALT is a great option, especially if you use it with simplenote to keep the notes synchronized through devices.
  18. diogo

    ED works new site

    Thanks @Macaco (very funny name by the way)! Makes us even happier that this is one of your two only posts ?
  19. It's in the context menu. Just right click the password input field and you'll see it.
  20. Lastpass is pretty solid, and the free tier offers quite a lot.
  21. I also see this. Solved with: .ipsDataItem_icon .ipsUserPhoto { width: 44px; }
  22. Great work with the forum! To make it perfect, just add these to the css ? .uk-background-primary, .uk-section-primary { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } #masthead-logo { transform: translateY(-2px); } .uk-breadcrumb { transform: translateY(-1px); } @ryan, you might also consider removing the antialiasing from the body of the PW website, and add it only on the blue background areas. Here is the reasoning: http://usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/ https://www.zachleat.com/web/font-smooth/
  23. diogo

    ED works new site

    Thanks, guys! I'm checking what's up with the server now. update: the server is up and the permissions are fixed. Remind me not to run terminal commands as root again ?
  24. We're finally launching a redesign of our website! Doesn't feel like it to us, but our previous design was already from 2013 ? https://ed-works.com/ We like to keep things simple, so the only third-party modules that we installed were Tracy debugger, Admin on steroids and Admin Theme Boss, which we tweaked a little bit to our taste. All in all, there's not much going on inside PW. Our main concern was to serve the frontend with responsive images with a close quality to the originals, and for this, it's important that PW allows us to use ImageMagick for resizing them. We also love to use PW's image tags to add classes to the images. In this case, we use them to display the images with three different sizes. We also had to change the templates to serve the projects to the homepage via Ajax. We hope you guys like our new baby ? Edit: I forgot to refer that we also changed our logo and tweaked our name to ED works.
×
×
  • Create New...