11
riclanders
Re: XLD0: Different Feeds in Clones
  • 2005/11/23 17:53

  • riclanders

  • Just popping in

  • Posts: 60

  • Since: 2005/11/7


Ha, ha...

By the way, I'd like to add a background color to the block.

Here's the code, where do I sitck it? (no pun, please)



    <{section name=i loop=$block.items max=$block.maxitem}>
    <{if $block.items[i].title != ""}>

  • <{if $block.items[i].pubdate != "" }>


     
    <{/if}>
    <{$block.items[i].title}>
     
    (<{$block.items[i].site_name}>)

  • <{/if}>
    <{/section}>


ric

12
bluenova
Re: XLD0: Different Feeds in Clones

[color=cc0000]<body bgcolor="Colorcodehere">[/color]
<
script type="text/javascript" src="<{$block.mod_url}>/phpdate.js">script>
<
ul>
<{
section name=i loop=$block.items max=$block.maxitem}>
<{if 
$block.items[i].title != ""}>
<
li>
<{if 
$block.items[i].pubdate != "" }>
<
script type="text/javascript">document.write(phpDate('<{$block.dtfmt_short}>', <{$block.items[i].pubdate}>));script>
<
noscript><{$block.items[i].date_short}>noscript>
&
nbsp;
<{/if}>
<
a href="<{$block.items[i].link}>" target="_blank"><{$block.items[i].title}>a>
&
nbsp;
<
a href="<{$block.items[i].site_url}>" target="_blank">(<{$block.items[i].site_name}>)a>
li>
<{/if}>
<{/
section}>
ul>
[
color=CC0000]body>[/color]

Should do the trick

13
riclanders
Re: XLD0: Different Feeds in Clones
  • 2005/11/23 19:07

  • riclanders

  • Just popping in

  • Posts: 60

  • Since: 2005/11/7


The additions to the code below did not result in color:



<{html_table loop=$block.feeds cols=$block.cols table_attr='border="0" width="95%" id="xhld"' tr_attr='id="xhld"' td_attr=$block.td_attr}>


Thanks,

ric

14
riclanders
Re: XLD0: Different Feeds in Clones
  • 2005/11/23 19:10

  • riclanders

  • Just popping in

  • Posts: 60

  • Since: 2005/11/7


Wait a minute-- that's two different codes. The one in my last post is from the xhld0_block_rss.html.

Isn't that block that I want to put the color tag in?

ric

Login

Who's Online

303 user(s) are online (241 user(s) are browsing Support Forums)


Members: 0


Guests: 303


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