[Typo3-UG UK] A super-template problem (migrating to typo3 fromanother application9

Ian Foulds IanFoulds at x-act.co.uk
Fri Dec 2 11:16:10 CET 2005


Hi Corrado

Yes Typo3 can do what you want provided that the your complex 'blocks'
can be coded and supported in PHP and MySQL. Small scripts or complete
modules/classes can be used to create the content for different
sections.

You can use TypoScript to produce the resultant objects for A, B, C, etc
in the following example. D for instance could be made up of several
sections pulled form different sources.

Also D, or any other element, could be made up of an HTML table, the
cells of which are identified by IDs, TypoScript can be used to fill
specific ID cells with content from scripts, classes or Typo3 normal
content.

-------------------------
|     |                 |
|     |    A            |
-------------------------
|     |          |      |
|     |          |      |
|  B  |    C     |  D   |
|     |          |      |
|     |          |      |
-------------------------
|     |    E            |
-------------------------

Also you can set 'super templates' at any point within the page
hierarchy, i.e. Page 1 and 4 can have different templates, Page 4a would
inherit the same template as Page 4 unless overridden. 

Page 1
  |
Page 2
  |
Page 3
  |
Page 4 - Page 4a
  |
Page 5
  |

Hope this helps.

Ian Foulds
 

www.x-act.co.uk    tel: 01629 825092

-----Original Message-----
From: typo3-uk-bounces at lists.netfielders.de
[mailto:typo3-uk-bounces at lists.netfielders.de] On Behalf Of
seml at symbulos.com
Sent: 01 December 2005 19:04
To: typo3-english at lists.netfielders.de; typo3-uk at lists.netfielders.de
Subject: [Typo3-UG UK] A super-template problem (migrating to typo3
fromanother application9

Dear friends,

we have an application we would like to substitute with 
typo3. The problem is that this application works as a cms, 
but in a complex way (but quite efficient)

Each page is generated using a combination / hierarchy of 
different templates. 

The page is divided into 5 sections:
- the header (always the same)
- the right column (with changing menus)
- the centre column, with the content
- the right column (with changing boxes)
- the footer (always the same)

Now the header and footer are static.

The left menu and right box are generated dynamically. When 
a specific box is called, then the template of the box is 
called, the content is called separately, assembled on the 
fly, put on the right place on the page.

It is more or less like having a super - template, made of 
different blocks, each block having its own series of 
templates, that can be called on demand for producing a 
specific page. the supertemplate only says where the blocks 
go on the page, and the size of the blocks. Each block then 
needs one of more template for placing different content. 
For instance in the right column block there is once a 
block with news, once a block with a submenu, once a block 
with contacts, once a text block with a slogan. the block 
is always same size, same position.

Can we do the same in typo3?

Thanks in advance.

Corrado 


-- 
symbulos uk ltd, co. no. 5441973, UK VAT reg no. 865302135
website http://www.symbulos.com
_______________________________________________
Typo3-uk mailing list
Typo3-uk at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-uk



More information about the TYPO3-uk mailing list