Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 + 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Custom Block issue
by Hasanibrahim on 2013/8/28 8:43:03

do not use html and body tags.

just use

le="color: #000000"><?php <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

le="color: #000000"><?php echo '<img src="image.jpg" width="104" height="142"></img>';


and re-chech of the visibility of the block and the permission.
Re: Custom Block issue
by Mamba on 2013/8/26 6:07:42

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.
Re: Custom Block issue
by mrphilong on 2013/8/26 4:59:31

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 ?
Re: Custom Block issue
by Mamba on 2013/8/26 4:01:06

I just tested it on my local installation, and it works just fine.
Custom Block issue
by mrphilong on 2013/8/26 3:02:22

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

Example Custom Block html code

le="color: #000000"><?php <html> <body> <img src="image.jpg" width="104" height="142"></body> </html>


I get code instead of the image.

Who's Online

226 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

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

Latest GitHub Commits