1
javelin
Recent block layout
  • 2005/8/25 14:51

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


On my recent downloads block or recent articles block in Smart section etc I get a title followed by the published date.
However in the Recent News block the published date is before the title.

How can I either change this so the date comes after the Title or stop it showing at all?

Cheers
I might not be very clever but I can lift heavy weights!

2
MadChas
Re: Recent block layout
  • 2005/8/25 16:26

  • MadChas

  • Just popping in

  • Posts: 7

  • Since: 2005/8/25


Hey javelin,

I am running XOOPS 2.2.2 with Smart Section 1.1 and my recent news block looks like this:

10 High Powered Ways To Increase Your Traffic [2005/8/24]

3
javelin
Re: Recent block layout
  • 2005/8/25 17:54

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


Hmmmm mine is not as can be seen from this section from a screenshot.
The site is concerning child protection hense the rather odd items!

Resized Image

























Recent "procedure" updates is really smart section and recent downloads below it are both fine.

The top text colour I can change with the css file in the theme but the layout just doesn't look right?

Any clues how I can fix or remove the dates?
I might not be very clever but I can lift heavy weights!

4
MadChas
Re: Recent block layout
  • 2005/8/26 2:37

  • MadChas

  • Just popping in

  • Posts: 7

  • Since: 2005/8/25


This thing has a lot of blocks and variables.

Which Template is it and what is on your Template?

5
javelin
Re: Recent block layout
  • 2005/8/26 9:47

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


The recent news block uses the template,

news/templates/blocks/news_block_new.html
I think
this appears to write the following to the templates_c folder,
%%FF^FF2^FF2E54BB%%db%3Anews_block_top.html.php

I think I've found the section of code that checks if you want the list sorted by count or rating or by date but I can't see the section that deals with the way it is to be displayed.

Not very good with code
I might not be very clever but I can lift heavy weights!

6
MadChas
Re: Recent block layout
  • 2005/8/26 17:30

  • MadChas

  • Just popping in

  • Posts: 7

  • Since: 2005/8/25


Hey javelin,

Got to your Templates under Basic Tools in Admin and check the Templates there.

See if this is the one:

items_new.html

<{foreach item=newitems from=$block.newitems}>
<li><a href="<{$xoops_url}>/modules/smartsection/item.php?itemid=<{$newitems.id}>"><{$newitems.linktext}></a> [<{$newitems.new}>]</li>
<{/foreach}>

7
javelin
Re: Recent block layout
  • 2005/8/31 11:54

  • javelin

  • Not too shy to talk

  • Posts: 160

  • Since: 2004/3/11


But that section is for Smart Section,

My issue is with the Recent News block in the News Module v1.4
I might not be very clever but I can lift heavy weights!

Login

Who's Online

119 user(s) are online (52 user(s) are browsing Support Forums)


Members: 0


Guests: 119


more...

Donat-O-Meter

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

Latest GitHub Commits