Forums / Setup & design / Creating a new home page within a template

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

eZ debug

Timing: Jan 19 2025 09:47:42
Script start
Timing: Jan 19 2025 09:47:42
Module start 'content'
Timing: Jan 19 2025 09:47:42
Module end 'content'
Timing: Jan 19 2025 09:47:43
Script end

Main resources:

Total runtime0.1618 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.0091 592.2656180.8125
Module start 'content' 0.00910.0058 773.0781101.8359
Module end 'content' 0.01490.1469 874.9141530.8750
Script end 0.1618  1,405.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.2818200.0002
Check MTime0.00140.8559200.0001
Mysql Total
Database connection0.00090.547410.0009
Mysqli_queries0.115371.25231410.0008
Looping result0.00120.75721390.0000
Template Total0.146490.510.1464
Template load0.00090.537610.0009
Template processing0.145689.951010.1456
Override
Cache load0.00060.370110.0006
Sytem overhead
Fetch class attribute can translate value0.00090.582810.0009
XML
Image XML parsing0.00020.122410.0002
General
dbfile0.00181.1020200.0001
String conversion0.00000.004430.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