[solved] /blog is empty when I use Skeleton theme

Post Reply
Wahyu
Jr. Bludit
Posts: 3
Joined: Fri Sep 16, 2016 4:58 am

I was trying to create a blog with a front page. The /blog page worked just fine with the Log theme, but after I changed the theme to Skeleton, it shows nothing.
Did I do something wrong? Is this the intended behavior, or a bug? please help me :D
Last edited by Wahyu on Sun Sep 18, 2016 10:44 am, edited 1 time in total.
Just a regular Bludit CMS user :mrgreen:
Wahyu
Jr. Bludit
Posts: 3
Joined: Fri Sep 16, 2016 4:58 am

Nevermind, I've fixed it myself, thanks anyway :D
Just a regular Bludit CMS user :mrgreen:
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Oops, another post I have overlooked! I have to be more aware of the forum... :oops:

What was the problem? The solution can perhaps help other users.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Wahyu
Jr. Bludit
Posts: 3
Joined: Fri Sep 16, 2016 4:58 am

Thats okay :D
The whole site worked fine so I think it must be a very simple error.
I tried to read the index.php file of skeleton theme and found the problem.
I changed this line in /bl-themes/skeleton/index.php:

Code: Select all

if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') )
To this:

Code: Select all

if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') ) || ($Url->whereAmI()=='blog') )
Just a regular Bludit CMS user :mrgreen:
Post Reply