[Plugin + Theme] paw.designer Plugin + fur.zerendo Theme

Post Reply
User avatar
SamBrishes
Sr. Bludit
Posts: 40
Joined: Tue Dec 25, 2018 8:07 pm
Location: Austria 'n' Germany
Contact:

Mon Jan 07, 2019 3:17 pm

Hellow,

I wrote a small theme environment extension AND plugin for the Bludit CMS. I started this project before I knew, that there is already an official project to allow theme settings. Nevertheless, I thought I release it until the official implementation gets published.


paw.designer - Theme environment

The paw.designer theme environment extends the bludit system with some helpful and additional procedural functions and methods. It allows also to set configurations and menu positions, which the user can change either by editing the theme.php file directly OR by using the paw.designer plugin. The plugin is completely optional and stores the configurations and the menu arrays within the database.


... for Theme Developers

As theme developer you need to include the paw-designer.func.php file inside your template and load them within your init.php file. You can use the following snippet:

Code: Select all

if(!function_exists("pd_load_theme")){
    // Include the paw-designer.func.php file from your template directory
    require_once("paw-designer.func.php");
}
pd_load_theme();
The configurations and menu settings should be done within the theme.php file (directly in the root directory of your template), but it is also possible to define an own file to handle the respective settings and menu arrays. To enable the support for the paw.designer plugin, you also need to define the paw.designer key within your metadata.json file. Check out the documentation for more informations.


... for Theme Users

Plugin users just need to include the paw.designer folder to their bludit-plugins directory. Enable the plugin on the "Bludit Administration" and visit the new Menu Item "Theme Designer". You also need to include paw.designer compatible themes, of course!


Screenshots

Image
Image


Links

fur.zerendo - Demonstration Theme

I wrote a small demonstration template to test and show the API and plugin configuration pages, the theme is called "fur.zerendo". It offers 3 settings (Color Scheme, Header Image and "Posts" parent) as well as 2 menu positions (one of them allows up to 3 levels), which can be completely configured using the paw.designer plugin. The theme itself is also responsive designed and, as already mentioned, available in 2 color schemes (white and black). It is inspired by Diego's Massively template.


Links

Sincerely,
Sam.
Last edited by SamBrishes on Sat Apr 06, 2019 10:15 am, edited 1 time in total.
If you really like my projects and want to support me, I would be extremely grateful for a coffee! (Thanks to all Supporters):

Image
User avatar
iMattmax
Jr. Bludit
Posts: 3
Joined: Mon Jan 28, 2019 8:35 pm

Tue Jan 29, 2019 9:16 pm

nice work,
I downloaded both and activated the theme and the plugin, but I can't see anything in the backend or change anything. I'm using the newest version of bludit.
User avatar
SamBrishes
Sr. Bludit
Posts: 40
Joined: Tue Dec 25, 2018 8:07 pm
Location: Austria 'n' Germany
Contact:

Mon Mar 04, 2019 7:38 am

iMattmax wrote:
Tue Jan 29, 2019 9:16 pm
nice work,
I downloaded both and activated the theme and the plugin, but I can't see anything in the backend or change anything. I'm using the newest version of bludit.
Hellow,

I'm really sorry for the long wait, I didn't get any eMail about a new Post and I was a bit dizzy the last month.

That sounds like the same issue as G3N-es posted on GitHub, please check if the plugin folder is named "paw-designer" (and not "paw.designer-master"). This should work, as mentioned on GitHub.

I'm sorry, again.

Sincerely,
Sam,
If you really like my projects and want to support me, I would be extremely grateful for a coffee! (Thanks to all Supporters):

Image
triyadi
Jr. Bludit
Posts: 1
Joined: Fri Jan 11, 2019 9:06 am

Tue Aug 13, 2019 2:13 am

i love your plugins but i can't change the cover with this trouble
Attachments
DeepinScreenshot_select-area_20190813070504.png
DeepinScreenshot_select-area_20190813070504.png (32.37 KiB) Viewed 32 times
Post Reply