1
shivaji
How to change textual Block Title into Images ?
  • 2004/1/5 5:49

  • shivaji

  • Friend of XOOPS

  • Posts: 179

  • Since: 2003/9/18


Hello All:

I am trying to replace XOOPS standard Textual Block Title with Images. So, all the blocks displayed in the website will show Block Title as a GIF images. This is only to give some colors to the title.

What I am doing now is, System Admin -> Block -> remove text from "Block Title" (keeping it blank). Then I removed Style Sheet and TD for Block Title from Theme.html. So, no block title will be displayed, except Block Content in website.

Now, I Put The <img src="block image path"> just at top of System Admin -> Block -> "Block Content" Text Area.

So, you see, my Block content is actually keeping the Block Title Image.

Is this method is correct, any problem if this method is applied Is there any other way out ?

Please help ?




2
CBlue
Re: How to change textual Block Title into Images ?

You could have just added images in your style.css in the place of text. In the block title of each column, you could just define an image as the background. You could then have the title written over the image in your block admin or leave the title out of the block in your block admin.

3
shivaji
Re: How to change textual Block Title into Images ?
  • 2004/1/5 6:55

  • shivaji

  • Friend of XOOPS

  • Posts: 179

  • Since: 2003/9/18


Quote:

CBlue wrote:
You could have just added images in your style.css in the place of text. In the block title of each column, you could just define an image as the background. You could then have the title written over the image in your block admin or leave the title out of the block in your block admin.


I am not talking about putting background images or Background color in Block title. That can be done using Style sheet.

I wanted to show Block Title Text say "XOOPS forum" as Images with XOOPS text in RED color and "forums" in grey small caps. So how come you show all the block title Images using stylesheet ?






4
CBlue
Re: How to change textual Block Title into Images ?

Okay, you are talking about the forum blocks? You could edit them in the templates manager then and just leave the block's title blank in block admin.

5
shivaji
Re: How to change textual Block Title into Images ?
  • 2004/1/5 7:05

  • shivaji

  • Friend of XOOPS

  • Posts: 179

  • Since: 2003/9/18


Hi:

??? You are working hard to reach 1000 :) Congrats !!



6
CBlue
Re: How to change textual Block Title into Images ?

Believe me, it's not hard to post! There are always questions to try and help people with.

7
shivaji
Re: How to change textual Block Title into Images ?
  • 2004/1/5 7:22

  • shivaji

  • Friend of XOOPS

  • Posts: 179

  • Since: 2003/9/18


Quote:

CBlue wrote:
Believe me, it's not hard to post! There are always questions to try and help people with.


Thats okay! I found all your answer written in a hurry without going into much detail. The reason is that, you have 997 with you and my questions is nothing in compare to your experience. There is no point loading XOOPS mySQL database for help which waste both of our time.

Anyway, Thanks CBlue for your time

8
studioC
Re: How to change textual Block Title into Images ?
  • 2004/1/5 17:25

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


hello shivaji,

please let me know , if there#s a solution.. or if you#ve found a way to handle it . i#m also looking for a nice solution to give each block an image [not just an image but an image according to the displayed module]

It would be a nice option to have an inputfield in blockadmin for giving each block an image. For this feature i#m looking nearly one year...
EDIT: let me correct: i mean blocktitle !

Also, for the newsmodul, it would be a nice option to give each news a small and a big image besides the topicimage.

from
GERMANY
michael

9
shivaji
Re: How to change textual Block Title into Images ?
  • 2004/1/5 17:45

  • shivaji

  • Friend of XOOPS

  • Posts: 179

  • Since: 2003/9/18


Quote:

studioC wrote:
It would be a nice option to have an inputfield in blockadmin for giving each block an image. For this feature i#m looking nearly one year...
EDIT: let me correct: i mean blocktitle !

Also, it would be a nice option to give each news a small and a big image besides the topicimage.


Hello Michael:

1. No doubt it will boost the block interface if we have a two input fields which take 1. block title as Image and 2. A thumbnail image for the Block content.
[A optional Feature].

2. Yes, I found a way which I wrote in my very first comment, by putting the Block Title Image in the Block Content TextArea itself. That Means, you keep the block title input field blank and then insert the image <img> tag at top of Block Content Teaxt Area itself. I am not sure whether this approach is correct or not ? Till Now I didnt face any problem and it is showing pefectly well in one of my new XOOPS website.

3. If anyone have any better idea, please share it.


Thanks.

10
studioC
Re: How to change textual Block Title into Images ?
  • 2004/1/5 17:57

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


yes, i thought about it... i also tried to place it in the modultemplates, but that wasn#t as good... i#m also thinking about an array, to give me the opportunity to it use in the theme.. such as <{block_poll}>blockimage.gif


hm... i think i will do some practices today...
greets again...

michael

Login

Who's Online

206 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits