Hello,
I wrote a custom page (dashboard) with several iframes, but I dont have access to global variables in faq.php
<div class="chart-container">
<iframe width="820" height="600" src="include/custom_php_files/faq.php"></iframe>
<div class="legend">
<p></p>
</div>
</div>
if I use this: <?php if(!defined('custom_page_from_inclusion')) { die(); } ?> it comes up with a blank page and global variables are not set.
Calling faq.php directly as a menue link opens without any troubles.
I need the id_group ($_SESSION['logged_user_infos_ar']["id_group"]) to hide some button per user rights.
What can I do, thank you
best regards
Manuel
I wrote a custom page (dashboard) with several iframes, but I dont have access to global variables in faq.php
<div class="chart-container">
<iframe width="820" height="600" src="include/custom_php_files/faq.php"></iframe>
<div class="legend">
<p></p>
</div>
</div>
if I use this: <?php if(!defined('custom_page_from_inclusion')) { die(); } ?> it comes up with a blank page and global variables are not set.
Calling faq.php directly as a menue link opens without any troubles.
I need the id_group ($_SESSION['logged_user_infos_ar']["id_group"]) to hide some button per user rights.
What can I do, thank you
best regards
Manuel