XF 1.5 How run php direct on template ?

dondomainer

Active member
Hi, i try to run two php directives on page_container .. one is

Code:
<?php require_once '/path/file.php'; ?>


and the other is :

Code:
<?php my_shortcode(['type' => 'ticker', 'symbol' => 'DATA~LIX', 'template' => '', 'color' => 'blue', 'speed' => 80, 'direction' => 'left', 'pause' => TRUE]); ?>


but it seems he does not read that, shows the code instead of executing it.

What i can do plz?
 
Top Bottom