Problem with sections and IndexPage

Author Message

Jan Arve Nygård

Thursday 06 November 2003 5:55:06 am

I have created a News folder because i want to have the latest news on the frontpage. The IndexPage is set to /content/view/full_view_news_folder/2 but it dosen't display the news....if i click on the "News archive" link that is in this node i get all the news listed up correctly.

Anyone have a solutions for this...i think this maybe has something with the parent_node...but how to workaround this so i dont' need to have all the news articles in the root folder, but in the news folder?

Thanks!

Tore Skobba

Thursday 06 November 2003 9:20:50 am

Hmm looking at your url (/content/view/full_view_news_folder/2) I think you must give more information.

Very simple this is how I understand the url (url broken up in parts):
/content --> Viewing content (articles, folders etc..), alternatives are user, media
/view --> View the content
/full_view_news_folder --> The TYPE of view, typicall values are "full", "line" etc. It looks like you have inserted the name of the template in your url.. I.e a better URL for you is probably:
/content/view/full/2/. Which probably is to your root node (node 2=root default), then you must override the full display template for node 2.

It seems as you want such an layout

Root (node 2)
News (node XX)
News articles ....
About or something else

Then to make the News node the frongpage, i.e. alter the IndexPage=/content/view/full/your news node number in "settings/siteaccess/your design/site.ini.append".

Hope this helps you.

Cheers
Tore

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 04:21:40
Script start
Timing: Jan 19 2025 04:21:40
Module start 'layout'
Timing: Jan 19 2025 04:21:40
Module start 'content'
Timing: Jan 19 2025 04:21:41
Module end 'content'
Timing: Jan 19 2025 04:21:41
Script end

Main resources:

Total runtime0.5818 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 590.4063152.6406
Module start 'layout' 0.00880.0036 743.046939.4609
Module start 'content' 0.01250.5679 782.5078462.1094
Module end 'content' 0.58040.0013 1,244.61728.1563
Script end 0.5817  1,252.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.6778160.0002
Check MTime0.00160.2676160.0001
Mysql Total
Database connection0.00100.172410.0010
Mysqli_queries0.532991.5946540.0099
Looping result0.00060.1050520.0000
Template Total0.542493.220.2712
Template load0.00200.350020.0010
Template processing0.540492.887920.2702
Template load and register function0.00030.059810.0003
states
state_id_array0.00120.204910.0012
state_identifier_array0.00170.299120.0009
Override
Cache load0.00160.2822220.0001
Sytem overhead
Fetch class attribute can translate value0.00060.094620.0003
Fetch class attribute name0.00130.222320.0006
XML
Image XML parsing0.00020.039220.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00080.1420100.0001
String conversion0.00000.001740.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs