Skip to content

Inhalte eines Templates über PHP auslesen #8

Answered by tyrant88
eaCe asked this question in Q&A
Discussion options

You must be logged in to vote

Mensch Thorben, das solltest du doch wissen: :-)

<?php
$templateID = 6;
$template = new rex_template($templateID);
$template = $template->getTemplate();
echo rex_file::getOutput(rex_stream::factory('rex:///template/' . $templateID, $template));

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eaCe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants