- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 70 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - need help targeting blocks [ ]
Author
Message
lm_a_dope
Nuke Cadet
Joined: Oct 24, 2005
Posts: 9
Posted:
Sat Oct 29, 2005 11:07 am
say i have a splash page and i want to include block-Arcade how do i target that specific block
shrek_rock
Captain
Joined: Nov 24, 2003
Posts: 709
Posted:
Mon Oct 31, 2005 5:29 am
hi, use
Code:
include("blocks/block-Arcade.php");
echo $content;
_________________
lm_a_dope
Nuke Cadet
Joined: Oct 24, 2005
Posts: 9
Posted:
Tue Nov 01, 2005 2:55 am
is that compete code i am new i dont know how to do it
shrek_rock
Captain
Joined: Nov 24, 2003
Posts: 709
Posted:
Tue Nov 01, 2005 3:38 am
Hi, yes. Place that in your splash page, make sure the splash page has a .php extension or it will not work.
_________________
lm_a_dope
Nuke Cadet
Joined: Oct 24, 2005
Posts: 9
Posted:
Thu Nov 03, 2005 6:00 am
k all i got was a blank page
shrek_rock
Captain
Joined: Nov 24, 2003
Posts: 709
Posted:
Thu Nov 03, 2005 8:59 am
hi, add require_once("mainfile.php"); to the top of your page.
Code:
require_once("mainfile.php");
include("blocks/block-Arcade.php");
echo $content;
_________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum