Re: Including modules on custom homepage
Hey Chealer,
Your tip did it! 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.