Forums / Setup & design / Working the Tutorial - Permission Problem on Custom Template Creation

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

eZ debug

Timing: Jan 19 2025 00:57:22
Script start
Timing: Jan 19 2025 00:57:22
Module start 'content'
Timing: Jan 19 2025 00:57:22
Module end 'content'
Timing: Jan 19 2025 00:57:23
Script end

Main resources:

Total runtime0.2917 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 590.4375180.7969
Module start 'content' 0.00670.0083 771.234493.7734
Module end 'content' 0.01500.2766 865.0078524.4531
Script end 0.2916  1,389.4609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00361.2481200.0002
Check MTime0.00140.4836200.0001
Mysql Total
Database connection0.00110.364810.0011
Mysqli_queries0.230979.17211410.0016
Looping result0.00210.72611390.0000
Template Total0.276194.610.2761
Template load0.00090.312610.0009
Template processing0.275294.331710.2752
Override
Cache load0.00060.219410.0006
Sytem overhead
Fetch class attribute can translate value0.00100.342910.0010
XML
Image XML parsing0.00030.091110.0003
General
dbfile0.01264.3169200.0006
String conversion0.00000.002430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs