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, 264 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 - Forum Header Removal [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
hypokondriak
Guest






PostPosted: Fri Feb 20, 2004 3:58 pm Reply with quoteBack to top

I am taking on my first phpnuke project, and modding an theme to the best of my ability (typically only do graphic design). My question is how do I remove the forum header from the main forum page:

http://www.centralillinoisimports.org/nuke/modules.php?name=Forums

As you can see, there is a header section right before the forum starts that says "Central Illinois Imports: Forums." I would like to remove that entire second header - waste of real estate IMO. I would then move that text to the actual silver bar "header" of the forum.

Any help is greatly appreciated.
Find all posts by Anonymous
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Fri Feb 20, 2004 4:25 pm Reply with quoteBack to top

Check out this thread for general info:

http://www.nukecops.com/postlite22019-.html

More specifically, here is a hack I did to remove the forum header you are talking about:

http://www.nukecops.com/postitle8891-0-0-.html

If you want to see the result of this hack:

http://www.lenon.com/forums.html

Click the buttons in the forums header (Faq, Search, etc.) to see how it effects other pages...

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
hypokondriak
Guest






PostPosted: Sat Feb 21, 2004 12:23 pm Reply with quoteBack to top

Excellent - that did the trick. However, one problem still remains... I would still like to put a label on top for the Forums. As you can see, the silver module header is completely blank:

http://www.centralillinoisimports.org/nuke/modules.php?name=Forums

Also, I notice it is completely blank for the "Top 10" here as well:

http://www.centralillinoisimports.org/nuke/

Are these headers getting defined in the tables.php file? If so, do I just need to put the variable for title in the tables.php?

Thanks-
Find all posts by Anonymous
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Sun Feb 22, 2004 3:27 am Reply with quoteBack to top

Which one of the 'hacks' did you use? My hack on my website...

Forums (Header removed): http://www.lenon.com/forums.html

Top 7 (Header still present): http://www.lenon.com/top.html

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Guest







PostPosted: Sun Feb 22, 2004 1:44 pm Reply with quoteBack to top

I used your hack..
Find all posts by Anonymous
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Sun Feb 22, 2004 2:42 pm Reply with quoteBack to top

Well, looking at your website with Mozilla Firefox, there are some empty images surrounding your banner[s]. I used the DOM Inspector, Page Source, and Page Info features, et cetera, and there are some anomolies in your code, in that area of the page[s]; specifically, large blocks of non-breaking spaces around the banner and the title headers after it.

Without viewing the code directly, I can't really tell what's going on, but my best guess would be that the problem you are experiencing involves the banner system you are using.

All I can suggest is to 'play around' with your theme, and/or your banner system, or remove the hack.

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Guest







PostPosted: Sun Feb 22, 2004 4:39 pm Reply with quoteBack to top

Maybe I'm not explaining what I'm trying to do correctly... check out this link now:

http://www.centralillinoisimports.org/nuke/modules.php?name=Forums

See where I changed it to say "PLEASE NAME ME!!" ? I want this to say the title of the current section.

Also, if you look at the following link you will see it also says PLEASE NAME ME!! for the Latest Discussions:

http://www.centralillinoisimports.org/nuke/

I edited the tables.php file and inserted that text. The side blocks (i.e. Menu) are labeled properly. In blocks.html the title bar simply used the variable $title in that center cell to call the title name. However, if I change the code in tables.php to $title nothing shows up...which leads me to believe I'm not calling the correct variable perhaps?
Find all posts by Anonymous
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Sun Feb 22, 2004 8:13 pm Reply with quoteBack to top

Aso...

I think I understand now. You want to remove the the simple header (the second header), but you want the overall header (the first header) to remain. However, you want to alter the text in the overall header so it indicates which forum you are in. So, let's says you are reading a message in the "Miscellaneous Forum", you want the overall header to say "Miscellaneous Forum" instead of like "Your Site Name : Forums". Am I getting warm? Cool

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
hypokondriak
Guest






PostPosted: Sun Feb 22, 2004 8:54 pm Reply with quoteBack to top

Basically what I want is on this page where it says "PLEASE NAME ME!!" I want it to actually say the name of the Top 20 Block... which is called "Latest Discussions."

http://www.centralillinoisimports.org/nuke/

On the forum page, before I removed the top header with your fix, it stated something like "Central Illinois Imports: Forums." I want that to appear where it says "PLEASE NAME ME!!" on this link:

http://www.centralillinoisimports.org/nuke/

I have found that both of these sections are getting their name from a file called "tables.php" which I have manually edited and just put the words "PLEASE NAME ME!!" in the center cell. I tried placing the variable name $title instead of "please name me" because the side blocks use that variable and it pulls in the title for the left and right blocks on the main page. However, the variable $title doesn't pull anything back in the tables.php.

If it helps, I have placed both of these files in the following directory:

http://www.centralillinoisimports.org/tmp/
Find all posts by Anonymous
hypokondriak
Guest






PostPosted: Sun Feb 22, 2004 8:54 pm Reply with quoteBack to top

Ack.. the second link in the message above should be this:

http://www.centralillinoisimports.org/nuke/modules.php?name=Forums
Find all posts by Anonymous
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Sun Feb 22, 2004 9:44 pm Reply with quoteBack to top

Hrm... Well, I'm at a loss on what to tell you here. For sure, I would remove the hack, e.g. restore your 'page_header.php' file to the original code, and then go from there.

I work with addons (themes, blocks and modules) all the time, and all I can say is they can be very vexing, as you have discovered. It's slow going a lot of the time, with a lot of trial and error involved. It's a labor of love and a constant challenge. I suppose that's the 'fun' part for me; the reason I keep doing it. For others, however, PHP is a mind-wretching, insufferable burden to be avoided at all costs. Whatever...

PHP is a scripting language, and somewhat limited, as are all scripting languages. It all seems simple enough at first, but then you find out there are an unlimited number of combinations when it comes to 'assemblying' PHP code. Everyone has their own way of doing things and nothing is chiseled in stone.

Put another way, what you want to do is possible, but it's more than likely going to require a lot of time and effort; even luck. Personally, I would get a little more experience under my belt before tackling a theme project, but maybe you're a fast learner. There certainly are no easy answers to what you want to do, as I understand it.

Anyway, maybe someone else can offer some insight[s] here. There is a lot of talent floating around this website... Wink

_________________
.:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.144 Seconds - 331 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::