Project

General

Profile

Actions

Bug #23744

closed

A new TypoScript cObject: FLUIDTEMPLATE

Added by Benni Mack over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2010-10-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

This is a result of some enthusiastic guys (Steffen Ritter and me) from the code sprint. Something we wanted for a long time, and this is our first version: a new Typoscript Object Type called "FLUIDTEMPLATE". Guess what it does: Yes, it can be used as a replacement for TEMPLATE, with (almost) all the glitter that Fluid has to offer.

The fluid template syntax will look like this:

page = PAGE
page.10 = FLUIDTEMPLATE
page.10 {

  1. the FLUID template, has stdWrap functionality
    file = fileadmin/mytemplates/mytemplate.html
  1. setting a specific partials path, usually it's layouts/ underneath the template file
    partialRootPath = fileadmin/partials/
  1. setting a specific layout path, usually it's layouts/ underneath the template file
    layoutRootPath = fileadmin/layouts/
  1. setting variables that should be available in
  2. the fluid template
    variables {
    mytitle = TEXT
    mytitle.data = page:title
    }
    }

(issue imported from #M16008)


Files

fluidtemplate_v4.patch (5.93 KB) fluidtemplate_v4.patch Administrator Admin, 2010-10-15 22:33
Actions

Also available in: Atom PDF