Jump to content

I just added a new Minimal Site Profile for ProcessWire 3x...


rafaoski
 Share

Recommended Posts

This profile can be used as a simple business card or it can be used as a starting profile.

minimal.thumb.png.ec894f98439ca3974bdfe1ca9210491a.png

Live Example

Can download from this link:
https://github.com/rafaoski/site-minimal

Basic Info

  • Most of the profile settings and translates are in the _init.php file.
  • Functions can be found in the _func.php file.
  • The entire view is rendered in the _main.php file that uses markup regions.
  • You can easily add hooks using the ready.php file.

Options page added with the new “Unique” status, which you can use in this simple way like:
pages('options')->site_name
pages->get('options')->site_name

Screenshots:

Firefox_Screenshot_2019-07-26T14-19-47.204Z-compressor.thumb.png.b2c646d5d3e422857a6ac565dbf5c402.png

 

Firefox_Screenshot_2019-07-26T14-20-12.996Z-compressor.thumb.png.2dd8142523150b0e5c5ff6951764e943.png

Firefox_Screenshot_2019-07-26T14-20-32.552Z-compressor.thumb.png.2337486fbcf58557b8f203b96f336b51.png

Firefox_Screenshot_2019-07-26T14-21-40.446Z-compressor.thumb.png.160187b932615fd4930d0314d32fb341.png

Firefox_Screenshot_2019-07-26T14-21-53.519Z-compressor.thumb.png.1e1d0d5cdeffdaf280031b65c8eb9c0e.png

  • Like 5
Link to comment
Share on other sites

Thanks for sharing. It's nice to see you're using the newer API additions such as $page->if() and setting(). I get excited when I learn about these from the blog posts, but then I forget to use them in my new projects…

 

  • Like 2
Link to comment
Share on other sites

Thanks ... I am also of the opinion that it is great to have a good basis for further development of the profile that contains the latest additions API ... I think that this profile should be quite simple for users, given that all the latest features are described on the blog ... Anyway, it's nice that it comes in handy ...

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...