I tried placing the frontpage.tpl file in the /design/user/templates directory
and this did not help. I have user set for DefaultAccess and my IndexPage in
site.ini.append.php reads IndexPage=/content/view/frontpage. eZ publish
is pulling my pagelayout.tpl template from /design/user/templates without
any problems. It just doesn't see the frontpage.tpl file when I place it in /design/user/templates/node/view.
I've created my own view mode (frontpage.tpl) as follow:
1. In <siteroot>/settings/override/site.ini.append.php DefaultAccess=user
2. In <siteroot>/settings/siteaccess/user/site.ini.append
[SiteSettings]
IndexPage=/content/view/frontpage/2
DefaultPage=/content/view/frontpage/2
[DesignSettings] SiteDesign=user
3. I have put my "frontpage.tpl" in <siteroot>/design/user/templates/node/view/
And this work for me. I think your problem is because the node_id is missing in your URL and then nothing is retrieve where ez executes the query. So, try using the node_id of root folder (as me).
Regards Adolfo Barragán
You must be logged in to post messages in this topic!