1
Chainsaw
How do I make a php block to display one particular news story?
  • 2004/3/21 2:49

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


I was wondering if those in the knows could tell me if this is do-able?

Is it possible for me to create a PHP block to display the full news item of a particular news Topic?

Eg I want to make my front page display the latest news article (latest single article, not all unexpired articles) of a particular news topic.

I know that someone asked for this before (for a NZ school) but he was asking this based on the WF-Section module (not the news module).

I thought maybe the Topics Blocks Module (based on original code by Samuel Wright (http://www.lykoszine.co.uk) and edited for XOOPS 2.0.5 by Adam Hennessyhttp://www.dragster.com.au) could be hacked for that. It currently display the lastest <n> of news article headlines under a particular news topic. I'm sure it is just as easy to modify that to display the full news article instead of just the headlines.

I'm not much of a programmer. If you think this is do-able would you like to help me with this and release it back to the XOOPS community as another module?

2
GadgetMn
Re: How do I make a php block to display one particular news story?
  • 2004/3/21 9:25

  • GadgetMn

  • Just popping in

  • Posts: 55

  • Since: 2003/7/15


Chainsaw,

There is already a module that wil do this for you. Checkout the Spotlight module.

Login

Who's Online

210 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits