Well, i create a new folder in modules directories called "Portada", inside i made a index.php with some like this
Code
<?php
include "modules/Portada/inicio/index.htm";
?>
include "modules/Portada/inicio/index.htm";
?>
so then in this file [index.html] I make all i want in HTML, with a litle experiment that i think could work,
first i make an news.php file whom make a call to a specific block like this
Code
<?php
// Show a specific dynamic menu block
$block = pnBlockGetInfo('20');
$block['bid'] = '20';
pnBlockShow('Core', 'xstories', $block);
?>
// Show a specific dynamic menu block
$block = pnBlockGetInfo('20');
$block['bid'] = '20';
pnBlockShow('Core', 'xstories', $block);
?>
so this news.php call a specific block, it works perfectly if i include it in module index.php file but if i try to call it via iframe in the modules/Portada/inicio/index.htm it return this
Code
Fatal error: Call to undefined function: pnblockgetinfo() in /home/risector/public_html/noticias/modules/Portada/noticias.php on line 3
so, i want to ask you if i can do this or not, help please
