[solved] /blog is empty when I use Skeleton theme
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
Did I do something wrong? Is this the intended behavior, or a bug? please help me
Last edited by Wahyu on Sun Sep 18, 2016 10:44 am, edited 1 time in total.
Just a regular Bludit CMS user
- 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...
What was the problem? The solution can perhaps help other users.
What was the problem? The solution can perhaps help other users.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Thats okay
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:
To this:
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') )
Code: Select all
if( ($Url->whereAmI()=='home') || ($Url->whereAmI()=='tag') ) || ($Url->whereAmI()=='blog') )
Just a regular Bludit CMS user