1
andyng
Xoops text editor problem in new block
  • 2004/3/1 13:14

  • andyng

  • Just popping in

  • Posts: 7

  • Since: 2004/3/1 1


I have tried to create a new block and then use the Xoops' built-in text editor to enter the hyperlink and the system return the code e.g.

yahoo

But it doesn't work and the block content also show the same as above information as:-

yahoo

Besides, the built-in text editor seems not accept standard HTML code like <font color=red>, <U>, <Strong> etc.

Therefore, I cannot use other HTML editor to prepare the content first and then copy the code to Xoops' text editor which is not so convenience for me (since I am newbie in this field), but I only know some HTML code.

Anyone can help me to show me how to solve the above two problems.

Thanks and regards,

Andy Ng





2
Vargr
Re: Xoops text editor problem in new block
  • 2004/3/1 13:37

  • Vargr

  • Not too shy to talk

  • Posts: 130

  • Since: 2003/6/19


Remember to set Content Type for that new block to HTML.

If that doesn't help, please write exactly what you are doing where, as it will be easier to help then.

3
andyng
Re: Xoops text editor problem in new block
  • 2004/3/2 0:54

  • andyng

  • Just popping in

  • Posts: 7

  • Since: 2004/3/1 1


I have select the contet using HTML, but not working at all.

Would you mind to test it in your side and give me the steps how to do it.

Thanks and regards,

Andy

4
Vargr
Re: Xoops text editor problem in new block
  • 2004/3/2 9:32

  • Vargr

  • Not too shy to talk

  • Posts: 130

  • Since: 2003/6/19


I go to ADMIN/BLOCKS and goes to Add New Block.

Leave everything be.

Add a new title.

In contents, write:

This is a test
<br>
<br>
<font color="red">red color</font>
<br>
<a href="http://yahoo.com">This is a link</a>
<br>
End of test
<br>


Select content type as HTML.

Save.

And it should work.

It works here.

5
andyng
Re: Xoops text editor problem in new block
  • 2004/3/2 14:45

  • andyng

  • Just popping in

  • Posts: 7

  • Since: 2004/3/1 1


Hi,

I want to make the hyperlink wordings to be red in color, therefore, I tried to make some change of the coding like :-


This is a test
<br>
<br>
<font color="red"><a href="http://yahoo.com">This is a link</font></a>
<br>
End of test
<br>

However, I found that the hyperlink wordings "This is a link" is not red in color. Why?

How can I make the wordings in red?

Please give advice.



6
chapi
Re: Xoops text editor problem in new block
  • 2004/3/2 14:58

  • chapi

  • Theme Designer

  • Posts: 611

  • Since: 2002/1/22


This probably don't work because you have defined a style in your themes stlye.css for <a> tags. Now I think you have 2 solutions.

Simplest solution: Put the font tag inside the a tags:

Quote:

<a href="http://yahoo.com"><font color="red">This is a link</font></a>


The better solution would be to define a new class in your themes css and call it like the following:

Quote:

<a href="http://yahoo.com" class="yournewclass">This is a link</a>

Login

Who's Online

145 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

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

Latest GitHub Commits