1
studioC
how do i get <{$items[i].description}> from headlines working in a block ..??
  • 2004/4/26 20:39

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


i put the following :
<{section name=i loop=$items}>
<{if 
$items[i].title != ""}>
<
a href="<{$items[i].link}>" target="_blank"><{$items[i].title}>a>
<
br />
<{
$items[i].description}> 
<
br /><{/if}>
<{/
section}><br />


into headline_block.html from /modules/xoopsheadlines/blocks/.. It works fine within IE ??? Mozilla and Netscape crashes .... cutting <{$items[i].link}> it works in both... but i want to have extended description of rss item in block....

what is defined in <{$items[i].link}> ??? besides content ??
mozilla and netscape let me see " -->" after that block, so this smarty must add some codesnippets too ??? IE stupid ignores that.. hu..

help?

michael


2
Dave_L
Re: how do i get <{$items[i].description}> from headlines working in a block ..??
  • 2004/4/26 21:30

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Have you looked at the source of the HTML page? That might explain what's causing the browser problem.

Also, you could dump out the contents of $items like this, to see exactly what it contains:

class\headlinerenderer.php

for ($i 0$i $max$i++) {
   
array_walk($items[$i], array($this'convertFromUtf8'));
   
$this->_tpl->append_by_ref('items'$items[$i]);
}
[
color=ff0000]var_dump('items'$items); #*#DEBUG#[/color]



3
studioC
Re: how do i get <{$items[i].description}> from headlines working in a block ..??
  • 2004/4/27 15:14

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


thanks for your hints ... of course i looked into source ... but didn't find it [... perhaps it was a bit late yesterday and i didn't see the forest because there are so many trees ... ]

thanks
michael



Login

Who's Online

327 user(s) are online (183 user(s) are browsing Support Forums)


Members: 0


Guests: 327


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