1
Wonderfish1
News module - Recent News block not showing

Hi all,

I am having difficulty making the Recent Posts block from the News module appear on any pages. I have set it up so it is supposed to show on the top of the middle column, no that the location makes a difference.

See here.

Other news blocks like the News Topics block seem to work fine - I have left it in the same location to show that.

It is driving me mad - any ideas?


TIA,
Tim


2
Mamba
Re: News module - Recent News block not showing
  • 2011/1/1 10:27

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Maybe a stupid idea, but did you turn the block on? It is by default "off"

I tested locally on XOOPS 2.5.0 and it works fine. I assume that this is what you have. Also, you never mentioned which version of News do you have. I tested on News 1.66

Please, always tell us what Module, PHP, and XOOPS versions you have, so it's easier to find the solution or to test it locally.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
Anonymous
Re: News module - Recent News block not showing
  • 2011/1/1 10:30

  • Anonymous

  • Posts: 0

  • Since:


Please add some articles to see the block!

I didn't see any news here:
http://122.201.80.130/~timaqual/modules/news/index.php

4
Wonderfish1
Re: News module - Recent News block not showing

Hey all, not a dumb idea at all - I do dumb things all the time

The block is turned on, in that it is set to visible in all pages. The News Topics block has the same settings, and it is appearing.

I have:

XOOPS Version - XOOPS 2.4.5
PHP Version - 5.3.3
MySQL Version - 5.0.91-community
Server API Version - cgi-fcgi
OS Version - Linux

There are news items in some (but not all) categories, just as a test. No Recent News block tho


Thanks,
Tim


5
Anonymous
Re: News module - Recent News block not showing
  • 2011/1/1 11:42

  • Anonymous

  • Posts: 0

  • Since:


Turn ON debug mode .. any errors ?

6
Wonderfish1
Re: News module - Recent News block not showing

Nothing that I can find....

None All Errors (0) Deprecated (0) Queries (27) Blocks (9) Extra (2) Timers(6)

It tells me that the Recent Posts block isn't cached, so it knows about it, but it tells me the same about the other blocks and they work.

Blocks
Themes: Not cached
Recent News: Not cached
Custom Block (HTML): Not cached
Custom Block (HTML): Not cached
Main Menu: Not cached
News Topics: Not cached
User Menu: Not cached
Search: Not cached
Login: Not cached
Total: 9

Very weird.


Tim

7
ghia
Re: News module - Recent News block not showing
  • 2011/1/4 9:32

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Are the categories to show selected (coloured) in edit block properties?
Are the permissions to view of the categories set for the user groups?
(Already tried to update the News module in module manager?)

8
Wonderfish1
Re: News module - Recent News block not showing

Hi ghia,

I edited the template and it started to work - I am unsure why. After some slapping it now looks as it should - of course, you have to see it to configure it.


Thanks,
Tim

9
Wonderfish1
Re: News module - Recent News block not showing

Hmmm

Now it works, but only if it is located at Centre Top

If I try to put it at Centre Bottom it vanishes

I can get it to the bottom of the Home Page by giving the block a larger weight than the the custom block on the page, but it appears at the top of all other pages.

Ah - just discovered something - this only seems to be a problem with the theme I am using - it behaves normally with the default theme.

*heart sinks*

10
Wonderfish1
Re: News module - Recent News block not showing

Hopefully this will help to debug this - the block works in all of the Top positions, and in left and right columns, and will only not work in any of the bottom locations. Does anyone know where this is specified and may be broken?

Login

Who's Online

456 user(s) are online (306 user(s) are browsing Support Forums)


Members: 0


Guests: 456


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