Jump to content

Nicolas

Members
  • Posts

    95
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Nicolas

  1. @mel47 Maybe you'll want to find the requested page with this code

    echo $pages->get("/publication/$categ/")->render();

    Did you spot the double quote surrounding the the selector? In PHP this is called string interpolation. At runtime the $categ variable will be replace by its actual value in the selector. More about this here : PHP The Right Way. (See the Double quotes section).

     

  2. Great write up thank you.

    For 2 recents project i've also explored this kind of MVC-ish approach and it works quite well.

    P.S : little typo spotted in this sentence "In Processwire you can organize your code the way it make most senSe..."!

    • Like 1
  3. Bonjour Guy,

    To add custom fields to the user profile just go to Setup > Templates. Then click on Fit-lters section and make the admin template visible (they're hidden by default).

    Click on the user admin template and add any fields you might want.

    When you edit a user the added field should be visible.

    Under the ProcessProfile module settings, you'll be able to let a user update a custom field or not.

    The settings on your second screenshot define what fields should be visible on the list displayed when you click on Access > Users (notice the custom field "Intro" in the screenshot below)

    Nicolas

    nPMVoMY.png

    • Like 3
  4. Hi Nicolas,

    I really like this site. While browsing I've found two things to mention:

    Here the text is really hard to read:

    attachicon.gif2014-10-28 09_02_26-Leader du diagnostic immobilier à Paris et toute l'Ile de France.jpg

    When switching to "medium-screen-size" there seems to be an error:

    attachicon.gif2014-10-28 09_06_36-↔ Leader du diagnostic immobilier à Paris et toute l'Ile de France.jpg

    Before you may ask: I'm using this really great tool to inspect the mobile breakpoints: http://lab.maltewassermann.com/viewport-resizer/

    Many greets, Jens alias DV-JF

    Thanks for the report,

    These 2 issues have been addressed.

    • Like 1
×
×
  • Create New...