PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
corporalstorm
Hangin' Around


Joined: Nov 06, 2006
Posts: 46

PostPosted: Tue Nov 07, 2006 2:08 am Reply with quote Back to top

is there anyway to remove the block header? Or maybe set it where I can use my own image with text on it instead of a standard BG and font for each block?
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3038
Location: United Kingdom

PostPosted: Tue Nov 07, 2006 6:49 am Reply with quote Back to top

If you wanted to remove the block header, you can edit the block in Blocks Administration and remove what is written in the title field.
View user's profile Send private message
jaded
Theme Guru


Joined: Nov 01, 2003
Posts: 1006

PostPosted: Tue Nov 07, 2006 7:42 am Reply with quote Back to top

the blocks all must use the same images. That is the nature of blocks. The right and left can be different with modifications but you cannot have a different "header" so to speak on each block. There used to be something called streamblocks available but I have no idea if it still works. If you do not want the text on each one you can do what jakec said but most people want to know the title for each block. Good luck
View user's profile Send private message Visit poster's website
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1156
Location: Sanbornton, NH USA

PostPosted: Tue Nov 07, 2006 11:24 am Reply with quote Back to top

corporalstorm wrote:


PostPosted: Tue Nov 07, 2006 3:08 am
is there anyway to remove the block header? Or maybe set it where I can use my own image with text on it instead of a standard BG and font for each block?


jaded wrote:
the blocks all must use the same images. That is the nature of blocks. The right and left can be different with modifications but you cannot have a different "header" so to speak on each block. There used to be something called streamblocks available but I have no idea if it still works. If you do not want the text on each one you can do what jakec said but most people want to know the title for each block. Good luck


While it is preferred that blocks use titles, it is by no means mandatory. The reason why it is preferred is in suppot of multiple languages and variable sized themes where the size of the field goes up and down dynamically depending on the resolution of the browser that the user has.

Consider that if you remove titles, you remove the ability of foreign language users to be able to "read" the title of that block as an image in place of the "$title" would be a "fixed" look that can't (obviously) be adjusted depending on the language of the user.

Now again, while the default method is the preferred one, you can in fact modify your theme to support the use of images instead of the block $title.

I want to explain that this is not a simple thing to do in that you need to call that image name "dynamically" OR adjust the block itself to echo a call to the image so that the block knows which image to use.

You also need to ensure that your image size (for the block title) matches the block size, so keep in mind that this kind of thing cannot be done to themes that use dynamic sizing. It must be a "fixed size" theme which are pretty rare these days

If you choose the dynamic method of replacing $title with an image, you would then (in that theme) modify the call by finding where it echoes the block "$title" value and replace that with a call to a fixed image (whereas the image name is the name of the block title). There is a mod out there that does this (See the "A Good Read" section below). I actually talked about this in detail in one of my articles a couple of years ago.

Anyway.... While there are a bunch of ways to do this, you should really think about it before doing it. It's a lot of work and will leave you with a "fixed" look and feel that won't be very flexible.

A Good Read On This Subject:
Only registered users can see links on this board!
Get registered or login to the forums!


An Add-On Download:
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
jaded
Theme Guru


Joined: Nov 01, 2003
Posts: 1006

PostPosted: Tue Nov 07, 2006 11:54 am Reply with quote Back to top

Only registered users can see links on this board!
Get registered or login to the forums!


this is the one that I mentioned streamblocks. I could not recall the name of the albini site or if it was still functional. It is a lot of hard work to do. 64 made the points more clear. Good luck with it.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Wed Nov 08, 2006 6:23 am Reply with quote Back to top

corporalstorm, depending upon what you are looking to do, you could still use an image approach on a dynamic sized theme. Again, it really depends completely on the "look" you are after and whether a combination of images would do the trick as apposed to just one "fixed" one. However, I'm with Steph, you lose much in accessibility and multilingual capabilities, and, you are asking for a ton of work to get it right.

But, it is your choice to make. We can only provide the "guidance".
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum