Loading...
 
Features / Usability

Features / Usability


Re: Including modules on custom homepage

posts: 224 Ireland

Hey Chealer,

Your tip did it! biggrin I got it working by including following examplary code in the tiki-custom_home.php file:

Copy to clipboard
$phpfile = 'modules/mod-last_blog_posts.php'; $template = 'modules/mod-last_blog_posts.tpl'; include($phpfile); if (file_exists('templates/' . $template)) { $data = $smarty->fetch($template); } else { $data = ''; }

Many thanks!

Regards,

Pat.

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting