» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 68
4 members and 64 guests
asteikuw, feldmymnmaf, tobilove, ViagraBuyViagra
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on How to remove center block titles? within the Nuke 7.x - Blocks forums, part of the PHP-Nuke 7.x category; I've been trying this for a while now, I'd like center blocks to not have a title area, ...



Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - Blocks

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-23-2005, 02:08 AM
Junior Member
 
Join Date: Dec 2004
Posts: 38
How to remove center block titles?
I've been trying this for a while now, I'd like center blocks to not have a title area, just content in the table.. I've had no success, is this possible to do?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-23-2005, 03:46 AM
Moderator
 
Join Date: Oct 2004
Posts: 260
open mainfile.php find
Code:
function render_blocks($side, $blockfile, $title, $content, $bid, $url) {
make the $title var null so it wont show anything. And you will have something like
Code:
function render_blocks($side, $blockfile, $title, $content, $bid, $url) {
if ($title) { $title = ''; }
    if ($url == "") {
		if ($blockfile == "") {
		    if ($side == "c") {
.....
__________________
read me before posting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-23-2005, 06:17 PM
Junior Member
 
Join Date: Dec 2004
Posts: 38
Thanks man It still left a space in the top where the title was, but I guess I can live with it
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-23-2005, 11:36 PM
Junior Member
 
Join Date: Dec 2004
Posts: 38
Actually, that removes the titles from all blocks, I just want the center ones removed..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-24-2005, 03:23 AM
Moderator
 
Join Date: Oct 2004
Posts: 260
Didn't notice that.
Open mainfile.php, find
function blocks($side) {
after the sql query
Code:
    $result = $db->sql_query($sql);
    while($row = $db->sql_fetchrow($result)) {
	$bid = intval($row['bid']);
	$title = $row['title'];
add
Code:
if (($side == 'c') or ($side == 'd')) { $title = ''; }
__________________
read me before posting
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-02-2005, 02:35 AM
Junior Member
 
Join Date: Dec 2004
Posts: 38
Thanks Geno. Only problem with this method is that it leaves a space where the title WAS. Is it possible to completely remove the title area, not just the title?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up your own block titles in image Rodriguez Site design 9 08-09-2008 07:26 AM
Possible to remove the 'Recent Topics' block in the forum? sampson Open topics 10 10-11-2005 06:57 PM
is there way to have the forum in the center block asif Nuke 7.x - General 1 11-21-2004 04:05 AM
Forum Center Block 6.5 FleaSOG Nuke 6.5 to 6.9 - Blocks 3 06-18-2003 02:34 PM
How can I put a Center Block below the New Stories? rasputin Purged Topics 0 06-15-2003 01:49 AM


All times are GMT -5. The time now is 03:50 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31