External Content

A quite simple solution to merge in itself locked external scripts and show the result at the place of the tag {DOM_SCRIPT}.

Have a look: Containing of php-file/-variables

Docu:
Forum: http://forum.phpwcms.org/viewtopic.php?p=117631#p117631

Autor: O.Georgi http://phpwcms.de
CMS-Version: >= V1.3.0
Version: V1.0 2009/06/23

Fileiname: rt_ext_content.php

Folder: /template/inc_script/frontend_render/

Condition:/config/phpwcms/conf.inc.php

  • $phpwcms['allow_ext_render'] = 1;


<?php
 
ob_start();
include('my_simple_script.php');
$result = ob_get_contents();
ob_end_clean();
 
$content['all'] = str_raplace('{DOM_SCRIPT}', $result, $content['all']);
?>
english/phpwcms_replacer_rts/frontend_render/external-content.txt · Last modified: 2018/06/03 18:09 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0