How many hours have you lost installing and testing ezpublish?

How many hours have you lost installing and testing ezpublish?

Thursday 15 May 2003 10:10:47 am - 24 replies

Author Message

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.

You must be logged in to post messages in this topic!

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