Jump to content
rafaoski

I just added a new Uikit3 / Minimal Profile for ProcessWire 3x

Recommended Posts

Posted (edited)

This is a profile based on the Uikit3 framework and features from the regular site profile.
Requires the latest version processwire 3.0.127

Download from this link:
https://github.com/rafaoski/site-uk3-minimal

Live Example: https://uk3-min.templatek.pl/

Basic Info:

  1. Most of the profile settings and translates are in the _init.php file.
  2. Functions can be found in the _func.php, _uikit.php file.
  3. The entire view is rendered in the _main.php file that uses markup regions.
  4. You can easily add hooks using the ready.php file.
  5. 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
  6. The Author's website's blog entries use URL segments (/ authors / {author-name} /), see views/blog/blog.php for more info.
  7. This profile has additional functions (_uikit.php) from the regular uikit3 profile, which is located in the basic ProcessWire installer ( there are minor changes, such as adding translations from _init.php )

Screnshoots:

home.thumb.png.f5996ecfcc5fc37d15dd1ebc186dbf60.png

 

about.thumb.png.4fd3795ec34a8d9407c1b27ea24131e7.png

 

contact.thumb.png.f0f869498c9e810ca91c3024cf8a3140.pngcontact.thumb.png.f0f869498c9e810ca91c3024cf8a3140.png

 

blog.thumb.png.973069a68c6f2a62b0d1e82c5c4b4695.png

 

blog-post.thumb.png.72b68fcc489eaa24b620d86a8b0674e6.png

 

pages.thumb.png.0a25e27b2dafdac057aafae7123ae429.png

options.thumb.png.dd94c05c708ebb47a3b1fc8b9d9c2a72.png

 

 

 

 

 

Edited by rafaoski
Change the link to page view
  • Like 7

Share this post


Link to post
Share on other sites

Nice.

Apparently, my anti-virus software thinks your demo site is spam.

spam.PNG.4fef8d3f50b1ee56ffbacdd8ffa5f3bc.PNG

 

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

Thanks for info @dragan ... This is just the test domain that I got along with the hosting ... Apparently something is wrong with her ... I've added a profile to a different domain  https://uk3-min.templatek.pl/ ... Now it should be better 🙂

 

Edited by rafaoski
Update demo profile URL

Share this post


Link to post
Share on other sites
On 7/19/2019 at 11:10 AM, rafaoski said:

Thanks for info @dragan ... This is just the test domain that I got along with the hosting ... Apparently something is wrong with her ... I've added a profile to a different domain  https://proc-profiles.tk/uk3-min/  ... Now it should be better 🙂

 

That leads to a 404 😞

 

Anyone else try this neat profile?

Share this post


Link to post
Share on other sites

Hi @rafaoski, thank you for the profile. The demo seems to be unavailable via the link above, would you be able to bring it back to life?

  • Like 1

Share this post


Link to post
Share on other sites

Hello!

First: Thank you for this great profile!!!

I have a question: where can I turn of comments displayed on the blog post page? I cannot find it in the _func.php!

Thank you very much!

  • Like 1

Share this post


Link to post
Share on other sites

Hi and thanks @MateThemes ...
The _init.php file is responsible for most profile settings ...

You can change the setting blog comments options on this line:
https://github.com/rafaoski/site-uk3-minimal/blob/9ea54af1f144fbb9642baee67adb604be0f4b1ea/templates/_init.php#L33
'comments' => true, // Blog Comments
Just change to false:
'comments' => false, // Blog Comments

This setting should disable comments in the files:
templates/views/blog/blog-post.php ( https://github.com/rafaoski/site-uk3-minimal/blob/9ea54af1f144fbb9642baee67adb604be0f4b1ea/templates/views/blog/blog-post.php#L39 )
templates/views/blog/parts/_blog-article.php ( https://github.com/rafaoski/site-uk3-minimal/blob/9ea54af1f144fbb9642baee67adb604be0f4b1ea/templates/views/blog/parts/_blog-article.php#L59 )

You will learn more about the new functions API setting() from this place:
https://processwire.com/blog/posts/processwire-3.0.119-and-new-site-updates/#new-functions-api-setting-function

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...