[TYPO3-english] eID method + fluid template

Jigal van Hemert jigal.van.hemert at typo3.org
Tue Feb 11 16:52:14 CET 2014


Hi,

On 11-2-2014 15:49, Sergio Catalá wrote:
> After building the model, the TCA, the classes and everything, I want a
> filter to show the projects list without rendering the page again.
> For that purpose, I use "eID" method.

The eID calls were meant as a light weight method to retrieve 
information from the server. For example to get information for an 
auto-complete field.

This is the reason why you have to initialize the database connection, 
initialize the frontend user, etcetera if you need them. All to keep the 
basic eID script as light weight and fast as possible.

If you want to render content or parts of pages it would be far easier 
to implement a new page type which doesn't output the normal head part, 
body tag, etcetera.

Just use TypoScript to define a new PAGE object, set a different type 
number for it, configure it to output only content and you're in business.
The JavaScript can just call a page with your new type number and you'll 
get the output you want.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-english mailing list