You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 52 guest(s) and 0 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 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
lm_a_dope
Nuke Cadet
Nuke Cadet


Joined: Oct 24, 2005
Posts: 9


PostPosted: Sat Oct 29, 2005 11:07 am Reply with quoteBack to top

say i have a splash page and i want to include block-Arcade how do i target that specific block
Find all posts by lm_a_dopeView user's profileSend private message
shrek_rock
Captain
Captain


Joined: Nov 24, 2003
Posts: 709


PostPosted: Mon Oct 31, 2005 5:29 am Reply with quoteBack to top

hi, use

Code:

include("blocks/block-Arcade.php");
echo $content;

_________________
Image

Image
Find all posts by shrek_rockView user's profileSend private messageSend e-mailVisit poster's website
lm_a_dope
Nuke Cadet
Nuke Cadet


Joined: Oct 24, 2005
Posts: 9


PostPosted: Tue Nov 01, 2005 2:55 am Reply with quoteBack to top

is that compete code i am new i dont know how to do it
Find all posts by lm_a_dopeView user's profileSend private message
shrek_rock
Captain
Captain


Joined: Nov 24, 2003
Posts: 709


PostPosted: Tue Nov 01, 2005 3:38 am Reply with quoteBack to top

Hi, yes. Place that in your splash page, make sure the splash page has a .php extension or it will not work.

_________________
Image

Image
Find all posts by shrek_rockView user's profileSend private messageSend e-mailVisit poster's website
lm_a_dope
Nuke Cadet
Nuke Cadet


Joined: Oct 24, 2005
Posts: 9


PostPosted: Thu Nov 03, 2005 6:00 am Reply with quoteBack to top

k all i got was a blank page
Find all posts by lm_a_dopeView user's profileSend private message
shrek_rock
Captain
Captain


Joined: Nov 24, 2003
Posts: 709


PostPosted: Thu Nov 03, 2005 8:59 am Reply with quoteBack to top

hi, add require_once("mainfile.php"); to the top of your page.

Code:

require_once("mainfile.php");
include("blocks/block-Arcade.php");
echo $content;

_________________
Image

Image
Find all posts by shrek_rockView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.377 Seconds - 304 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::