1
DJ007
Quickie template mod help
  • 2006/1/10 19:03

  • DJ007

  • Just popping in

  • Posts: 61

  • Since: 2004/2/15


Hiya all, happy new yr...

I was trying to remove the date from this block and lost the site temporarily, fixed it, but how do I get rid of the ugly date/time stamp from this?

Quote:
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
 
{/if}
a href="{$block.items[i].link}" target="_blank"{$block.items[i].title}/a
 
a href="{$block.items[i].site_url}" target="_blank"({$block.items[i].site_name})/a
/li
{/if}
{/section}
/ul


Thanks. Obv. I removed opening and closing tags...
.........

2
shank
Re: Quickie template mod help
  • 2006/1/13 2:17

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Quote:

DJ007 wrote:

Obv. I removed opening and closing tags...


That sure makes it hard to read to me.

Post it again with the tags, but use the code function, instead of qoute. It is the next button to the left of the qoute one.
s l s h a n k l e @ b e l l s o u t h . n e t

3
DJ007
Re: Quickie template mod help
  • 2006/1/13 17:37

  • DJ007

  • Just popping in

  • Posts: 61

  • Since: 2004/2/15


Hey Shank, Ok, learned a new thing, cool...and now figured it out.

<ul>
<{
section name=i loop=$block.items max=$block.maxitem}>
  <{if 
$block.items[i].title != ""}>
  <
li>
    <{if 
$block.items[i].pubdate != "" }>
          <{/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>


Just wanted to dump this; "14 Jan am00:10" - it's from the xhld news syndicator, mixed headlines block.

Thanks again.
.........

Login

Who's Online

299 user(s) are online (199 user(s) are browsing Support Forums)


Members: 0


Guests: 299


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