Share » Forums » Setup & design » IndexPage

IndexPage

IndexPage

Tuesday 29 April 2003 1:16:22 pm - 4 replies

Author Message

Paulo Almeida

Tuesday 29 April 2003 4:11:05 pm

hi

Try placing frontpage.tpl in /design/user/templates. This should work.
Confirm you configurations if you are using "user" siteaccess or "demo".

Paulo Almeida

PACPI.COM Internet Consulting
http://pacpi.com

Lance Leger

Tuesday 29 April 2003 5:16:35 pm

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.

Any other suggestions?

Thanks for the help!

Lance Leger

Thursday 01 May 2003 2:09:28 am

I've found my mistakes, however, I still have not been able to get
this custom template to load.

I moved my frontpage.tpl file from
/design/user/templates/node/view
to
/design/user/templates/content/view

If I try to load this page manually from my site nothing happens.

Adolfo Barragán

Thursday 01 May 2003 11:22:13 pm

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!

36 542 Users on board!

Forums menu