new WonderCMS theme ver 2.* Turboblack

Post Reply
User avatar
turboblack
Posts: 198
Joined: Fri Sep 19, 2014 1:53 pm

new WonderCMS theme ver 2.* Turboblack

Post by turboblack »

Hello! 8-) I have not been heard for a long time, and I see, and I decided to compensate for this, and to create a new template for the new version, in which there is a bit of animation, and of course made a diary, with the ability to turn the engine into a blog. there are also simple comments that you can turn off, and insert your script, or third-party from social networks such as facebook, and the like.

but a lot of text :? , here is a screenshot:

Image

Download https://github.com/turboblack/Turboblack/releases


The menu consists of page titles that will be visible as menus (for example: main, about me, blog, contacts), they need to be entered in the template file, the remaining pages will be seen from the side, already as articles.

in general, or anything complicated, continuous minimalism, as usual :roll:
http://old.net.eu.org/ Get ready to hamsterization! 8-) code takes less than a kilobyte! shock!
https://github.com/turboblack/HamsterCMS new version for PHP 8 with new templates
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: new WonderCMS theme ver 2.* Turboblack

Post by wiz »

Hello Turbo, thank you for contributing! :)

There are is an issues in the theme.php:
- in the navigation/menu, Russian characters are hard coded: Главная ☑, Блог 😉, Контакты ☎. Instead of those, use the menu function

Code: Select all

<?=wCMS::menu()?>
User avatar
turboblack
Posts: 198
Joined: Fri Sep 19, 2014 1:53 pm

Re: new WonderCMS theme ver 2.* Turboblack

Post by turboblack »

this is done in order to separate the top menu from the articles, and on the right in the side menu is the main content, so with this template on the engine it will be possible to make a blog

in general, the very concept of the template says that you can make a diary on it. and my website dedicated to the engine is a direct proof of this, thanks to updates after 1. * version it is possible.
http://old.net.eu.org/ Get ready to hamsterization! 8-) code takes less than a kilobyte! shock!
https://github.com/turboblack/HamsterCMS new version for PHP 8 with new templates
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: new WonderCMS theme ver 2.* Turboblack

Post by wiz »

I understand, but it feels completely wrong when you download a theme and other languages are hard coded, this is definitely not the way to go.

I believe they should be removed, or at least made so that it gets the homepage from the database and displays it, instead of hard coded values.
User avatar
turboblack
Posts: 198
Joined: Fri Sep 19, 2014 1:53 pm

Re: new WonderCMS theme ver 2.* Turboblack

Post by turboblack »

well, I'll make a version later that will not need to be corrected. but the main thing you understood my concept, for me it is important.

the top menu at me through admin works as invisible pages, on them they are not visible in the lateral list of articles.

in general, if anyone wants to use this option, which is already there, it is easy to fix for yourself.

I understand that you are making a system in which the general idea is to install and use it.
but as for this moment to solve in another way, I have not yet understood, perhaps by references from the article, but this in my opinion will look disgusting
http://old.net.eu.org/ Get ready to hamsterization! 8-) code takes less than a kilobyte! shock!
https://github.com/turboblack/HamsterCMS new version for PHP 8 with new templates
User avatar
wiz
Posts: 749
Joined: Sat Oct 30, 2010 12:23 am

Re: new WonderCMS theme ver 2.* Turboblack

Post by wiz »

In this particular case, it's better to see an uglier design than something hardcoded. :)

Instead of those three hardcoded pages, could you maybe use

Code: Select all

wCMS::get('config', 'defaultPage');
, this will get the default homepage and show it in the top menu. In most cases this means it would show "Home".
Post Reply