1
whereray
How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 2:59

  • whereray

  • Just popping in

  • Posts: 29

  • Since: 2003/4/16


I set the homepage to index.php and find that the latest news section is too simple. There are several story topics. And I want to display each of them in an individual block. So the homepage should look like this:

(Assume Story topics are Site News, Software News, Hardware News)

-Site News -------
news 1
news 2

-Software News ------
news 1
news 2

-Hardware News -----
news 1
news 2
------------------------

2
whereray
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 3:00

  • whereray

  • Just popping in

  • Posts: 29

  • Since: 2003/4/16


Forgot to mention I am using XOOPS 2, thank you very much if you could adhere some code here. I am not using XOOPS or php well ...

3
Per4orm
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 3:09

  • Per4orm

  • Documentation Writer

  • Posts: 145

  • Since: 2003/11/14


At the moment this isn't something that's easily accomplished. I do know that it's being looked at seriously by the XOOPS devs though, and should be included as an option in the next release

4
Anonymous
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 3:11

  • Anonymous

  • Posts: 0

  • Since:


Use the special sections module and add sections and rename the Sections to News and name the news something else then or do not display the news button at all.

5
Anonymous
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 3:12

  • Anonymous

  • Posts: 0

  • Since:



6
Anonymous
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 3:13

  • Anonymous

  • Posts: 0

  • Since:


Quote:
At the moment this isn't something that's easily accomplished.


That is not true at all. I did it! Not for news but the same concept applies!

Look at my link above.

7
Per4orm
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 3:24

  • Per4orm

  • Documentation Writer

  • Posts: 145

  • Since: 2003/11/14


Max, I don't think this achieves what he's asking for. What he wants is a block on the homepage / newspage that will list the sections and the most recent articles within each section (if I understand correctly). With the way you've worked it, you have to go INTO the section before you get such a listing.

8
whereray
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 3:31

  • whereray

  • Just popping in

  • Posts: 29

  • Since: 2003/4/16


Yes, Per4orm repeat my question in a cleaer way. Thank you, Per4orm!

9
Anonymous
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 3:58

  • Anonymous

  • Posts: 0

  • Since:


Oh, ok they, I am sorry I missunderstood.

Nope, cannot be done. XOOPS is still very young and lacks many basic features and flexibility.

I am hoping and waiting to see what comes out in the next 3 months. if it does not mature by then I will move on to somethign else.

You might want to give Typo3 a try, but it is a bit hard to learn.

Max

10
tom
Re: How to Display News catagorized by Story Topics on Homepage?
  • 2003/11/26 4:17

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Yeah it is easy to missunderstand a question!! don't worry about it.

Yeah it could be done, but would require some coding, to create blocks for each section, I couldn't comment on making it dynamic.

You would need to create a block for each of your section, which could pull say 5 news articles from each section, you will see in your database the table:

xoopstable_topics

in here is all the topics/sections for your news articles, so you would need a statement that would querie the dbs tables and then pull the last X ammount for you......

I think this is what you need?

Hope this is of some help

Quote:
I am hoping and waiting to see what comes out in the next 3 months. if it does not mature by then I will move on to somethign else.


mmmmmmmmmmmmm nahhhhh not in three months, people have to work, they have families, and this is done in the Devs personal free time, I would say XOOPS is already vastly mature for it's age anyway, and I can't see anything really major happening within three months, especialy with Christmas coming up. sorry.

Tom

Login

Who's Online

605 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 605


more...

Donat-O-Meter

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

Latest GitHub Commits