Creating a new home page within a template

Author Message

steve walker

Monday 08 March 2004 9:32:20 am

Hi there,

I am having trouble understanding the method for creating a new homepage - I have started off with the corporate site template. I now want to add my own homepage...

Problem seems to be that anythnig I create within 'root' becomes a subdirectory of root (obviously!) so, for instance, if I create an 'info page' called home, I get a 'home' link within the navigation (which is good).

Unfortunately, the breadcrumbs nav shows <siteroot>/home, and you can click on <siteroot> and get to a directory above home :(((

OK, someone please explain the best way of adding into this directory structure. I just want a new homepage; have done the tutorial and all went well, but this is a different beast.

Have seen a lot of refs out there to url redirects and setting default page=, but havent seen any plain answers telling me exactly where to go.

Any help would be greatly received!

Thanks, Steve

http://www.oneworldmarket.co.uk

steve walker

Tuesday 09 March 2004 1:53:10 am

Hello!?

Anyone out there got *any* pointers on this sort of subject.

Thanks, Steve

http://www.oneworldmarket.co.uk

steve walker

Tuesday 09 March 2004 4:01:09 am

Hi,

This is drving me nuts...

I have the corporate demo, the root folder is called home. I want to add more content to the home page, more text and graphics etc. Any image or article I create within the root folder then appears within the navigation which i dont want.

I just want to customise the info on the homepage.

Please some pointers would be really appraciated.

Thanks, Steve

http://www.oneworldmarket.co.uk

Bård Farstad

Tuesday 09 March 2004 4:08:09 am

When the url is / you can use the indexpage settings in site.ini to change which page that is going to be shown as default. This is probably the quickest fix for you.

Some sites also use the root folder as the actual frontpage ( we have that here on ez.no ), so that the ez.no path element of this site is actually the root folder just renamed.

--bård

Documentation: http://ez.no/doc

steve walker

Tuesday 09 March 2004 4:25:45 am

Bard,

Many thanks for your reply.

OK, so I can add IndexPage=/content/view/full/<my-homepage> into site.ini - the issue I've had with this, is because the corporate site navigation autogenerates itself using the folders etc it finds in the root folder - if I create a new article I want to display using this method, it ends up becoming part of the navigation.

Again, with your second point. I'd like to keep the root node as the homepage, and add images or articles ot the homepage that i can then manage and incorporate into this page as i wish... Again, the problem for me is that the navigation autognenrates itself, so any new articles i create in root get indexed...

Is there a way of creating new articles etc that do nt get included in the site navigation without having to hard code the navigation (like you do in the site demo)?

Steve.

http://www.oneworldmarket.co.uk

steve walker

Tuesday 09 March 2004 6:44:22 am

Bard, sorry to hassle, but really want to resolve this teething issue.

Thanks, Steve

http://www.oneworldmarket.co.uk

steve walker

Tuesday 09 March 2004 12:06:00 pm

Hi,

Managed to find a way of gettnig what i wanted!

Have basically hard coded the top level navigation of the corporate site so that I can use the content function - so the links that appear at the top of the page arent generated dynamically, you have to add them (same as the site build demo) - but the subnavigation still runs dynamically...

Hope have explained that OK...

Steve

http://www.oneworldmarket.co.uk

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

Main resources:

Total runtime0.7496 sec
Peak memory usage4,096.0000 KB
Database Queries69

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.2891152.6406
Module start 'layout' 0.00770.0051 741.929739.4766
Module start 'content' 0.01280.7345 781.4063578.1719
Module end 'content' 0.74730.0023 1,359.578116.4375
Script end 0.7496  1,376.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5504160.0003
Check MTime0.00150.1985160.0001
Mysql Total
Database connection0.00110.146210.0011
Mysqli_queries0.673189.7885690.0098
Looping result0.00060.0840670.0000
Template Total0.706594.320.3533
Template load0.00240.315820.0012
Template processing0.704293.935420.3521
Template load and register function0.00020.028010.0002
states
state_id_array0.00190.259710.0019
state_identifier_array0.00090.116220.0004
Override
Cache load0.00200.2636430.0000
Sytem overhead
Fetch class attribute can translate value0.00150.193920.0007
Fetch class attribute name0.00210.276280.0003
XML
Image XML parsing0.00070.092520.0003
class_abstraction
Instantiating content class attribute0.00000.002480.0000
General
dbfile0.00140.1850170.0001
String conversion0.00000.001540.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
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs