iframe help - Joomla! Forum - community, help and support


hi,

my template has iframe on loads php page template dir. page needs query database , display info in iframe. copied database query code template in works. error database objects can not used.
fatal error: call member function on non-object in w:\www\mambo452\templates\ir2\player.php on line 29
i figured there database library needs used, made page module , put position in page loaded iframe. message: fatal error: call undefined function: mosloadmodules() in w:\www\mambo452\templates\ir1\player.php on line 9
it doesn't have code load modules since isn't index.php.
ok.
so put page loaded mambo root dir , added include files in root/index.php file. worked except got error; fatal error: call member function on non-object in w:\www\mambo452\includes\frontend.php on line 56
this line accessing database object:  $database->setquery( $query );
does page need type of permissions database?

i stuckl
thank you,
moshe

i don't know if or not, standard module handles iframes; called 'wrapper' under site modules.

good luck!

jen :)





Comments