Forums / Install & configuration / How many hours have you lost installing and testing ezpublish?

How many hours have you lost installing and testing ezpublish?

Author Message

Scot Wilcoxon

Sunday 18 May 2003 2:17:28 am

"...suggest that you try to assign your new created class "News" to a section. If you are able to assign this class to a section which already exists, I suppose it will work."

Class? Section? I did not create a class "News", I created a folder "News". Admin only gave me a pulldown menu for creating "Folder,Article,User,User Group,Image". Within "News" I created a couple of articles. I saw no options for Section, although all are being displayed as having Section 1.

Jo Henrik Endrerud

Sunday 18 May 2003 2:25:28 am

Hi Scot

Are you sure you have the correct permissions? I assume you are trying to view the articles on the user site (and they show up in the admin site). The problem can be that you are not logged in on the user site and therefore are using the anonymous role. Check this role and see if it has read permission to articles

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Karsten Jennissen

Sunday 18 May 2003 3:53:46 am

Scot,

the sections are the glue for nodes to their pagelayout. Depending on the section you assign to a node, it will be rendered in a different design. Go to Set-up - > Section. There you see the section list. Choose the section you want to apply, click on assign and then browse through the node hierarchy to assign.

Section 1 is "Standard Section" which i think is linked to the plain design. Check /design/demo/override/templates/pagelayout_section_N.tpl for the layout of different sections.

See Community docs -> Technology & Basics -> Custom designs - directory structure explained

Karsten

Scot Wilcoxon

Sunday 18 May 2003 11:36:27 am

Jo,
Anonymous can read, and until recently the user pages showed the Demo format and images. I reverted the few changes and cleared the cache (although caching is disabled) but still only Standard is showing instead of Demo.

Actually, I am making sure to be logged off when testing the User pages. I found that being logged in as Admin for the Admin site was affecting the User site due to matching cookies.

Scot Wilcoxon

Sunday 18 May 2003 11:45:14 am

Karsten,
Demo actually overrides the Section 1 format.
Indeed, my testing is in a directory which is a copy of the Demo structure. All that I have changed so far is override/templates/pagelayout_section_1.tpl. There is a news_list=fetch() to grab the news which have a parent_node_id (which I changed to the node_id of the News folder which I created).

I see (by using $node.children|attribute(show) from the root Folder) that folder News has an Array with 2 items in it, yet no children, so I think an Article within a Folder does not have that Folder as a Parent -- I haven't found where such relationships are documented, and haven't tried creating news items as Folders within the News Folder because my Demo formatting vanished and I'm trying to figure out how to make it return.

Indeed, until Demo's display vanished the attribute(show) which I was using in pagelayout_section_1.tpl were being displayed, so at that time I was indeed using that override template.

eZ debug

Timing: Jan 18 2025 11:02:42
Script start
Timing: Jan 18 2025 11:02:42
Module start 'content'
Timing: Jan 18 2025 11:02:42
Module end 'content'
Timing: Jan 18 2025 11:02:42
Script end

Main resources:

Total runtime0.2002 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.0080 588.5156180.7891
Module start 'content' 0.00800.0062 769.304798.3125
Module end 'content' 0.01420.1859 867.6172528.4531
Script end 0.2001  1,396.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00381.9073200.0002
Check MTime0.00150.7467200.0001
Mysql Total
Database connection0.00080.400010.0008
Mysqli_queries0.147273.52391410.0010
Looping result0.00160.78251390.0000
Template Total0.185492.610.1854
Template load0.00090.466610.0009
Template processing0.184592.150010.1845
Override
Cache load0.00070.328210.0007
Sytem overhead
Fetch class attribute can translate value0.00100.498510.0010
XML
Image XML parsing0.00030.135410.0003
General
dbfile0.00371.8308200.0002
String conversion0.00000.004630.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