Search found 4 matches
- Mon Aug 09, 2021 12:20 pm
- Forum: General
- Topic: Custom template for the pages
- Replies: 22
- Views: 43615
Re: Custom template for the pages
switch ($WHERE_AM_I) {
case 'page':
if ($page->template()) {
include(THEME_DIR_PHP.$page->template().'.php');
} elseif($page->categoryTemplate()){
include(THEME_DIR_PHP.$page->categoryTemplate().'.php');
} else {
include(THEME_DIR_PHP.'page.php');
}
break;
default:
include(THEME_DIR_PHP ...
- Thu Nov 19, 2020 9:53 am
- Forum: General
- Topic: Vulnerability fixed?
- Replies: 2
- Views: 4572
- Sun Nov 01, 2020 9:19 am
- Forum: General
- Topic: Custom template for the pages
- Replies: 22
- Views: 43615
Re: Custom template for the pages
Hi, thanks. That is one of the things which makes me like bludit - pure PHP and very logical. :)
Too bad, that there is a function which "undocumented does not work yet" - but thanks for clearing this out for me.
8-) The index.php way works fine and it would be enough ;)
(no bloated UI - the text ...
Too bad, that there is a function which "undocumented does not work yet" - but thanks for clearing this out for me.
8-) The index.php way works fine and it would be enough ;)
(no bloated UI - the text ...
- Sat Oct 31, 2020 4:00 pm
- Forum: General
- Topic: Custom template for the pages
- Replies: 22
- Views: 43615
Re: Custom template for the pages
Hi and hello from Vienna. After trying various flat file CMS's, i've finally found BLUDIT and it is all i have been looking for. Thanks a lot for this!
I am now having issue with this new page template function - newest version fresh install.
So if i understand correctly, i shall
1 - create a ...
I am now having issue with this new page template function - newest version fresh install.
So if i understand correctly, i shall
1 - create a ...

