How to assing templates

Author Message

Sergio Herrera

Thursday 20 January 2005 10:53:02 am

I want to do this:

 $var = 
Main Site Page (template1)
- News Main Page (template2)
  - Full Article (template3)
- Music Main Page (template4)
  - Artists Main Page (template5)
    - Biography Page (template6)
    - Artist's Albums Main Page (template7)
      - Artist's Album Information (template8)
    - Artists News Main Page (template9)
      - Full Article (template10)
Forums Main Page (template11) (Forums reside in Eve Platform - UBBx Module {another database})
 - Category 1 Main Page (template12)
 - Category 2 Main Page (template13)
 - Category 3 Main Page (template14) ();

Now I can't figure out how to do that! Ok I got this working: http://www.micantina.com/content1/index.php/content/news__1/ But I want this page to look kind of like: http://micantina.com/content/musica/ . The Full Article pages I want them looking like this: http://micantina.com/content/musica/articles.php?id=37 BUT right now they just look like this: http://www.micantina.com/content1/index.php/content/news__1/pa_corridos ... THEN I also want to tie the login system with my other database to autenticate users in my Eve Community using an API.

Any help is very much appreciated as I'm really really lost here. THANKS

Sergio Herrera

Thursday 20 January 2005 12:51:28 pm

Or is this even possible?

I've been readying the documentation but I haven't found a section where it says that I can use different templates for different sections and different templates for categories under those sections. Has anyone done this or at least tried to?. I already have a template system but it's based on pure PHP and it's only a Template system and nothing else, but I choose Ez Publish for the ease of being able to publish articles and not having to go around modifying several pages just to let visitors know there's a new article.

Thanks.

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 00:55:43
Script start
Timing: Jan 19 2025 00:55:43
Module start 'layout'
Timing: Jan 19 2025 00:55:43
Module start 'content'
Timing: Jan 19 2025 00:55:44
Module end 'content'
Timing: Jan 19 2025 00:55:44
Script end

Main resources:

Total runtime0.7057 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 589.1484152.6250
Module start 'layout' 0.00830.0031 741.773439.4453
Module start 'content' 0.01140.6932 781.2188425.6563
Module end 'content' 0.70460.0011 1,206.87508.1719
Script end 0.7057  1,215.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5583160.0002
Check MTime0.00180.2483160.0001
Mysql Total
Database connection0.00100.138310.0010
Mysqli_queries0.664294.1205520.0128
Looping result0.00060.0800500.0000
Template Total0.672495.320.3362
Template load0.00230.323320.0011
Template processing0.670194.949420.3350
Template load and register function0.00020.023810.0002
states
state_id_array0.00090.123010.0009
state_identifier_array0.00070.098520.0003
Override
Cache load0.00190.2650110.0002
Sytem overhead
Fetch class attribute can translate value0.00050.075510.0005
Fetch class attribute name0.00120.164120.0006
XML
Image XML parsing0.00030.036610.0003
class_abstraction
Instantiating content class attribute0.00000.001420.0000
General
dbfile0.00120.1643100.0001
String conversion0.00000.001440.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs