Home Page Sub Items

Author Message

Chris Lozinski

Friday 08 April 2005 12:16:00 pm

Is it posible to include selected sub-items from the lefthand menu list to appear on the Home Page? when I select 'show no children', all the menu items disappear - I would like to select just 2 or 3 items not all or none.

Lazaro Ferreira

Friday 08 April 2005 4:39:35 pm

Hi,

If I understood you right, you can filter which item to show or to hide, with a bit of template programming

A useful link about conditional show of items
http://ez.no/ez_publish/documentation/reference/template_functions/program_flow/section

Lazaro
http://www.mzbusiness.com

Chris Lozinski

Saturday 09 April 2005 3:07:09 am

Thanks Lazaro

Unfortunately programming is not my strength - I am attracted to eZPublish because I can easily alter the site appearance using CSS and manage the content via the Admin interface. I solved the problem by adding a hyperlink to the page content e.g. <link href='http://sitename.com/index.php/cpaa/weblog'>Web Logs</link>

Not very elegant but saves a lot of time to a none programmer. It would be nice to see a set of tick boxes to choose from to determine which items appear on the home page from the sub-item list.

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 18 2025 18:27:28
Script start
Timing: Jan 18 2025 18:27:28
Module start 'layout'
Timing: Jan 18 2025 18:27:28
Module start 'content'
Timing: Jan 18 2025 18:27:30
Module end 'content'
Timing: Jan 18 2025 18:27:30
Script end

Main resources:

Total runtime1.3333 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.0085 589.3359152.6250
Module start 'layout' 0.00850.0038 741.960939.4297
Module start 'content' 0.01241.3194 781.3906494.6875
Module end 'content' 1.33180.0015 1,276.07818.1875
Script end 1.3332  1,284.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2640160.0002
Check MTime0.00140.1024160.0001
Mysql Total
Database connection0.00150.112110.0015
Mysqli_queries1.288096.6034570.0226
Looping result0.00050.0352550.0000
Template Total1.290496.820.6452
Template load0.00210.160920.0011
Template processing1.288296.620520.6441
Template load and register function0.00010.010610.0001
states
state_id_array0.00230.169310.0023
state_identifier_array0.00150.109820.0007
Override
Cache load0.00170.1301130.0001
Sytem overhead
Fetch class attribute can translate value0.00070.056220.0004
Fetch class attribute name0.00090.069030.0003
XML
Image XML parsing0.00020.014620.0001
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00060.0449100.0001
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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs