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, 45 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 - Modifying Block & Adding Frame [ ]
 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
redtzm96
Nuke Cadet
Nuke Cadet


Joined: Jan 30, 2006
Posts: 5


PostPosted: Mon Jan 30, 2006 7:11 pm Reply with quoteBack to top

Hi,

I'm new to php-nuke and need help here.

I want to make a custom block where the module, survey etc block are all have different design.

I've scrolled through the block-Module.php file and look at the code. Found the $content but when I take a look at the theme.php, it looks like the themesidebox () covers all block design.

I have no idea how to separate them. Need help

Thanks in advance.
Find all posts by redtzm96View user's profileSend private message
astalavistabd
Captain
Captain


Joined: Dec 19, 2004
Posts: 663

Location: Canada

PostPosted: Tue Jan 31, 2006 8:30 am Reply with quoteBack to top

yes themesidebox () controls(including block.html inside your theme folder) all your blocks. Smile

_________________
Free PHPNuke Themes, PHPNuke Modules, PHPNuke Blocks (No Registration Required)
Find all posts by astalavistabdView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
redtzm96
Nuke Cadet
Nuke Cadet


Joined: Jan 30, 2006
Posts: 5


PostPosted: Tue Jan 31, 2006 7:44 pm Reply with quoteBack to top

Can I change the $content to new variable and I recall them back in new block?

Example :

For Home : $content => $homecontent
For News : $content => $newscontent

Is there any way to make my own block? Can some1 gimme the basic code?
Is the block generated by template.php? If yes, then how can I make custom block? I still can get some clue how to do it.

Thanks in advance.
Find all posts by redtzm96View user's profileSend private message
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.551 Seconds - 234 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::