1
mrphilong
Custom Block issue
  • 2013/8/26 3:02

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


When creating a custom block with html code, the code is display instead of rendering html code.

Example Custom Block html code

<html>
<
body>
<
img src="image.jpg" width="104" height="142">body>
html>


I get code instead of the image.

2
Mamba
Re: Custom Block issue
  • 2013/8/26 4:01

  • Mamba

  • Moderator

  • Posts: 11395

  • Since: 2004/4/23


I just tested it on my local installation, and it works just fine.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
mrphilong
Re: Custom Block issue
  • 2013/8/26 4:59

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


My local Xoops is ok as well, I know is NOT the host because another Xoops site on the same host is ok. Do you have any suggestion where I should start looking into ?

4
Mamba
Re: Custom Block issue
  • 2013/8/26 6:07

  • Mamba

  • Moderator

  • Posts: 11395

  • Since: 2004/4/23


I would run a file check first, to make sure that you have all the right files.

After that, I am not sure. You might have problems with a theme. If you use a custom theme, you might switch to the "default" theme.

You might also have conflict with some other block and module, which missed some HTML/CSS tag, and is causing this block to misbehave.

I normally deactivate other modules when I am testing, to make sure that there is no conflict.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
Hasanibrahim
Re: Custom Block issue

do not use html and body tags.

just use

<img src="image.jpg" width="104" height="142">img>


and be sure about the content type of the custom block, if it's yet being a problem, just change the content type to "php code" and paste this

echo '';


and re-chech of the visibility of the block and the permission.

Login

Who's Online

173 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 173


more...

Donat-O-Meter

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

Latest GitHub Commits