http://clkuk.tradedoubler.com/click?p=4286&a=390051&g=63955
Main Menu
Latest Articles
Popular Articles

Browsing this Thread:   1 Anonymous Users





blocks question ...
Just popping in
Joined:
2005/10/2 19:23
Group:
Registered Users
Posts: 2
Level : 1; EXP : 2
HP : 0 / 0
MP : 0 / 42
Offline
hello Andy, i'm using Articles, version 0.27 on my http://xoopsfactory.com

i tried several things but i did not get it like i want.

Is there a way to display html in eg. articles_block_popular_main.html ??

i'm showing some images in introduction but the only thing what in block is shown , is the text and the source like -< img src ....
which, ... of course is not intended

any way to work around ?
Thanks
michael

Posted on: 2005/10/2 19:29
Transfer the post to other applications Transfer


Re: blocks question ...
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 16422
Offline
Quote:

studioc wrote:
hello Andy, i'm using Articles, version 0.27 on my http://xoopsfactory.com


Awesome!

Quote:
i tried several things but i did not get it like i want.

Is there a way to display html in eg. articles_block_popular_main.html ??

i'm showing some images in introduction but the only thing what in block is shown , is the text and the source like -< img src ....
which, ... of course is not intended

any way to work around ?


In theory, adding HTML should work fine...

The only time I can remember that happenning is when the template file had been corrupted, or I had made some error in the HTML. I think.

Well, yes, ahem, it should work...

Posted on: 2005/10/2 20:22
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: blocks question ...
Just popping in
Joined:
2005/10/2 19:23
Group:
Registered Users
Posts: 2
Level : 1; EXP : 2
HP : 0 / 0
MP : 0 / 42
Offline
when adding html in eg. description area, there is no problem, the description with html is shown correct on eg. index.php of modul.

when adding a articles_block_popular_main.html (with text shown) startpage showing these aricles, html does not work. I looked in the blockfunction cause i think it's a question of rendering or textsanitzing ... uuu but i'm not a coder

any ideas though?
Thanks again!
michael

Posted on: 2005/10/3 7:47
Transfer the post to other applications Transfer


Re: blocks question ...
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 16422
Offline
Ah, right, you mean HTML in the actual article's description field is not being shown as HTML in that block's output? I thought you meant adding custom HTML to the block's template...

OK, well, to be honest it is currently (at least partly) intentional that HTML is not displayed. The problem is that due to the fact text can be truncated in prefs, HTML can be as well - this can cause display problems and break a whole page if it gets cut off part way through through some HTML.

I'll have a look into a work around.

Posted on: 2005/10/3 17:09
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Login
Username:

Password:

Remember me



Lost Password?

Register now!
Donate!
Please consider donating to help continued development of my XOOPs modules. Read more here.

Search
Advertisements
Copyright © 2001-2009 sirium.net