PDA


View Full Version : need help with a module


Vizionz
11-18-2005, 04:47 AM
I am trying to include a page

and well the include works if i do it just by itself then call it,
but it just ends up in the center of the page instead of a block on the sides.

so i am figuring i need some other stuff to be able to make a block. can anyone help me ?

Vizionz
11-18-2005, 05:05 AM
to update this

i need to include a php page,

if i try making the module the actual page it dont work. but if i just make my module

playing.php
and inside that is
<? include("playing.php"); ?>

then i activate it. it appears but in the center of the page above the header.
when i want it to appear in a block and i know something i am missing but cant find it :(

jim6763nva
11-25-2005, 12:54 PM
to update this

i need to include a php page,

if i try making the module the actual page it dont work. but if i just make my module

playing.php
and inside that is
<? include("playing.php"); ?>

then i activate it. it appears but in the center of the page above the header.
when i want it to appear in a block and i know something i am missing but cant find it :(
Hi Vizionz,

Were you able to solve your module issue? If not, here are some things to check.

1. You need to make a custom template and reference your template or templates in your php code.

2. Depending how many loops or repeating areas, you have in your code you will have to break up your template.

3. If you use the module shell you do not need to include the outter <table> tags in your template.

4. If you're making a PHP page module, make sure your custom content module is active for the page your adding.

Vizionz
11-26-2005, 02:18 PM
yeah i figured that out but i need some hep with a specific php script to include it its trying to make calls that aint working within the vbadvanced :(

Call to undefined function: query_read() in Forum/modules/news.php on line 67