Page 1 of 1

new WonderCMS theme ver 2.* Turboblack

Posted: Wed Jan 17, 2018 8:51 am
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:

Re: new WonderCMS theme ver 2.* Turboblack

Posted: Thu Jan 18, 2018 11:37 pm
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()?>

Re: new WonderCMS theme ver 2.* Turboblack

Posted: Fri Jan 19, 2018 7:28 am
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.

Re: new WonderCMS theme ver 2.* Turboblack

Posted: Sun Jan 21, 2018 4:03 pm
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.

Re: new WonderCMS theme ver 2.* Turboblack

Posted: Mon Jan 22, 2018 8:43 am
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

Re: new WonderCMS theme ver 2.* Turboblack

Posted: Wed Jan 24, 2018 4:46 pm
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".