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, 298 guest(s) and 9 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Help with Banner Block alignment [ ]
 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
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Thu Sep 18, 2008 5:47 pm Reply with quoteBack to top

Hey guys I stumble in here every few months with a question and I'm hoping someone can help me yet again.

I want to have a banner block stretch across the homepage.

This is what my homepage looks like.

http://www.customobsessions.com/modules/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=14619

This is what happens when I move the banner block from the bottom center of the page to the top center.

http://www.customobsessions.com/modules/gallery2/main.php?g2_view=core.DownloadItem&g2_itemId=14622


I'd like the banner block to just stretch across like the stories block.

Thanks for your help.

Dave
Find all posts by jeebusView user's profileSend private messageVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Fri Sep 19, 2008 1:11 pm Reply with quoteBack to top

Hello Dave...

Before misunderstandings go overrule ...

You show in your homepage screenshot no block at all ... in your second screenshot you show2 blocks
one on the right and one in the center .. so to understand your question

** You want to have the 2 blocks show as 1 on that position?

However if do that , and if you add later a different block on the right , your topics/news articles will reduce size.

Grtzz wHiTeHaT Wink
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Fri Sep 19, 2008 6:09 pm Reply with quoteBack to top

Look at the first picture. I want the page to look exactly like that but have one banner block stretch across as the others do.

The other picture is to show what happens when I move the block up there. It's weird cause when it's bottom center it's one block stretched across which is exactly what I want. When I change it to top center it turns into two blocks and moves the stories over as I have pictured.

Hope that makes sense.
Find all posts by jeebusView user's profileSend private messageVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Sat Sep 20, 2008 2:41 am Reply with quoteBack to top

Rolling Eyes yes your explenation is understood... however i'm amazed aswell...
That isnt normal behavior for a theme.
Is it a default theme or is it customized?
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Sun Sep 21, 2008 4:19 pm Reply with quoteBack to top

it's a semi customized theme but pretty much everything has worked as it would in a normal theme.

I just need to know what and where I need to edit to change the Banner block.
Find all posts by jeebusView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Mon Sep 22, 2008 7:08 am Reply with quoteBack to top

Anyone!!!!!!!! Please help.
Find all posts by jeebusView user's profileSend private messageVisit poster's website
wHiTeHaT
Private
Private


Joined: May 31, 2003
Posts: 41


PostPosted: Mon Sep 22, 2008 7:27 am Reply with quoteBack to top

You should at least provide us with the block code.

And even then it might not be posseble to fix your problem.
It can be whatever....
Find all posts by wHiTeHaTView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Mon Sep 22, 2008 7:18 pm Reply with quoteBack to top

I don't suspect it will be a difficult fix as I've had other alignment fixes which I've easily found the answers to on here. I just need my hand held a bit to get me started.

Mad Mad Mad I can not figure out how to post code on this forum... is there some trick. I've tried about a 100 different things and it will not allow me to post code. I don't get it.
Find all posts by jeebusView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Mon Sep 22, 2008 7:30 pm Reply with quoteBack to top

Here is a link to the code in the block-Advertising.php file, I'm assuming this is what's required. I just saved it as a txt file.

http://www.customobsessions.com/images/banners/block-Advertising.txt
Find all posts by jeebusView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Thu Sep 25, 2008 4:36 am Reply with quoteBack to top

Pretty please!
Find all posts by jeebusView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Thu Sep 25, 2008 6:46 am Reply with quoteBack to top

Maybe this is the file where the change needs to be made. Here is the blocks.php file from the theme I'm using.

You'll have to right click and save this file then open it with a text editor as for some reason when you click it from the web it's opening as a html file still.

Please help.


http://www.customobsessions.com/images/banners/blocks.txt
Find all posts by jeebusView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Sun Sep 28, 2008 6:37 pm Reply with quoteBack to top

Please someone... I've been digging and diigging... I don't even know what file to be making these changes in now. Sad

Please help.
Find all posts by jeebusView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Mon Sep 29, 2008 10:36 am Reply with quoteBack to top

I have determined that this happens with any block I put in the center_up postition.

What happens is it's doubling any block that I move from the center_down position to the center_up position.

Any ideas where to fix this issue?
Find all posts by jeebusView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Mon Sep 29, 2008 10:46 am Reply with quoteBack to top

It sounds like its a problem in your theme, possibly the blocks() function is called multiple times in your theme.php

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 107


PostPosted: Mon Sep 29, 2008 4:39 pm Reply with quoteBack to top

K, I've now loaded a new install of NUKE on a completely different server. I've taken a copy of the theme I'm using currently off my live website and uploaded it to the new mirror on the new server and when I move any block to the centerup position it works as exactly as it should.

See it here.

http://comotors.ipower.com/test2/index.php


So..... it's apparently not the theme. Evader you worked on my site a while back regarding to some alignment issues. Is there anything you can think of that may have been changed outside the theme to make this happen?

I have no idea where to look now. ............ Sad I'll never get any advertisers if I can't put the banner in that section.
Find all posts by jeebusView user's profileSend private messageVisit 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 - 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.054 Seconds - 507 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::