Working the Tutorial - Permission Problem on Custom Template Creation

Author Message

James H.

Sunday 11 January 2004 2:19:16 am

Hello,

I just installed 3.3 after problems with 3.2 and all was working well. I've been working through the tutorial without any problems until I hit creating a custom template - the full_view_welcome.tpl template to display the welcome screen.

Here's the problem. When I click templates in the setup menu and then on node/view/full.tpl, I have two options. I can either use "tcsm" or "tcsm_admin". I attempted to create the new template as explained in the tutorial under "tcsm". When I did this, though, I got an error message saying "permission denied". I was able to, though, create this template when going under "tcsm_admin". I'm even able to view this template under the "tcsm_admin" Template View screen.

However, even though under the "tcsm_admin" I was able to create the template, I noticed it stored the template in a different place than is specified in the tutorial. For this reason, I suspect, I am not getting the page to display properly - since the page isn't referencing the template.

As such, I am sort of "stumped" on this section of the tutorial. I can't seem to create the custom template that is needed to display the content of the welcome page properly. I even tried manually creating the .tpl file and copying it into the right directory. But, this didn't work, since I guess because I wasn't able to definie it in the template list properly.

Anyone have any ideas on what is going on or what is wrong. I'm beginning to finally understand EZ a bit - so having this unexplained permission problem is very frustrating!

You can see the page that has been created following the tutorial at : http://www.thegreatdepression.info/ezpublish3.3/index.php/gdp

(also note that I changed all references of "tcsm" to "gdp" and all references to "tcsm_admin" to "gdp_admin" on my site, as the gdp reflects my site name. I just used tcsm in this message since it would make more sense).

Thank you for any help.

Jim

Finn David Nilsen

Sunday 11 January 2004 2:42:45 am

Hello, you can read about permissions here:

http://ez.no/developer/ez_publish_3/forum/setup_design/could_not_create_template_permission_denied

The answer from Balazs solved my problem with creating templates.

But, sometimes I have problem to view, at the usersite, the templates I have created. Then I have to place them (at admin site) in a correct priority. I found the priority only by testing....Spookie...

Finn David

James H.

Sunday 11 January 2004 4:16:59 am

Thanks for the link to that post Finn David.

After contacting my host, just a simple matter of them doing a 666 Chmod to the settings/siteaccess and settings/override directories. Also tried a 666 chmod command to the design/tscm/override/templates directory (as was mentioned in the last post of that link), but that really hosed things up. After my host undid that, everything worked like a charm!

Thanks so much for your help.

Jim

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 00:08:20
Script start
Timing: Jan 19 2025 00:08:20
Module start 'layout'
Timing: Jan 19 2025 00:08:20
Module start 'content'
Timing: Jan 19 2025 00:08:21
Module end 'content'
Timing: Jan 19 2025 00:08:21
Script end

Main resources:

Total runtime1.5916 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.5078152.6875
Module start 'layout' 0.00780.0035 742.195339.5078
Module start 'content' 0.01131.5788 781.7031470.4141
Module end 'content' 1.59010.0015 1,252.117212.0938
Script end 1.5916  1,264.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.1982160.0002
Check MTime0.00130.0826160.0001
Mysql Total
Database connection0.00210.130710.0021
Mysqli_queries1.537096.5710570.0270
Looping result0.00070.0432550.0000
Template Total1.534396.420.7672
Template load0.00250.156820.0012
Template processing1.531896.243720.7659
Template load and register function0.00020.013710.0002
states
state_id_array0.00130.083410.0013
state_identifier_array0.00330.207720.0017
Override
Cache load0.00200.1286240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.049020.0004
Fetch class attribute name0.00120.073330.0004
XML
Image XML parsing0.00030.016120.0001
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00320.2031100.0003
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs