Hi,
I had a problem as i was trying to create a k2_content override.
I followed the instructions at
getk2.org/documentation/tutorials/item/77-k2-template-override-package-comparison
I want to have more that one k2_content override so inside my mytempate/html/mod_k2_content folder i copied and pasted twice the default folder and i gave defferent names.
Then i set some of my k2_content modules to use the sub-templates i created.
That's all i did, i didnt change anything at the php files yet.
When i work locally, i m able to see the sub-templates and assign them to some of my modules, with no problem.
But when i put the site online i get this error
Warning: require(/home/egnapost/public_html/modules/mod_k2_content/tmpl/default.php) [function.require]: failed to open stream: No such file or directory in /home/egnapost/public_html/modules/mod_k2_content/mod_k2_content.php on line 55
Fatal error: require() [function.require]: Failed opening required '/home/egnapost/public_html/modules/mod_k2_content/tmpl/default.php' (include_path='.:/opt/php53/lib/php') in /home/egnapost/public_html/modules/mod_k2_content/mod_k2_content.php on line 55
Also i cant see the sub-templates i created from the backend of the online site, but the override folders are at their place.
Am I doing something wrong?
Thanks for your time
yorgos
PS. If i set my online site's modules to use the default sub-template, the site works normally.
I had a problem as i was trying to create a k2_content override.
I followed the instructions at
getk2.org/documentation/tutorials/item/77-k2-template-override-package-comparison
I want to have more that one k2_content override so inside my mytempate/html/mod_k2_content folder i copied and pasted twice the default folder and i gave defferent names.
Then i set some of my k2_content modules to use the sub-templates i created.
That's all i did, i didnt change anything at the php files yet.
When i work locally, i m able to see the sub-templates and assign them to some of my modules, with no problem.
But when i put the site online i get this error
Warning: require(/home/egnapost/public_html/modules/mod_k2_content/tmpl/default.php) [function.require]: failed to open stream: No such file or directory in /home/egnapost/public_html/modules/mod_k2_content/mod_k2_content.php on line 55
Fatal error: require() [function.require]: Failed opening required '/home/egnapost/public_html/modules/mod_k2_content/tmpl/default.php' (include_path='.:/opt/php53/lib/php') in /home/egnapost/public_html/modules/mod_k2_content/mod_k2_content.php on line 55
Also i cant see the sub-templates i created from the backend of the online site, but the override folders are at their place.
Am I doing something wrong?
Thanks for your time
yorgos
PS. If i set my online site's modules to use the default sub-template, the site works normally.