1
CearEff
Displaying Custom HTML with News Topics
  • 2005/6/1 7:04

  • CearEff

  • Just popping in

  • Posts: 9

  • Since: 2005/6/1 6


Hello,

I'm trying to mix some custom html along with the news module.

For example let's say I have created 2 News Topics, Dogs and Cats. I then post a few news items in each of them.
Now I want to be able to click a menu link called Dogs and display Both my custom Dog HTML along with ALL of the news items just for Dogs such as ( modules/news/index.php?storytopic=1 )

Then I want to be able to click a menu link called Cats and display both my custom Cat HTML along with ALL of the news items just for Catss such as ( modules/news/index.php?storytopic=2 ) etc, etc..

I already use Multimenu to define the custom links and I have made Custom Blocks containing my custom HTML and this works fine but how do I get the News item data from http://www.mydogcatnews.com/modules/news/index.php?storytopic=1 to diplay above my custom block in the Center?

I have tried using iframe with http://www.mydogcatnews.com/modules/news/index.php?storytopic=1 but this puts the entire site in the frame and I just want the news itself.

I would like to have something like the following, either in 2 seperate blocks or together in the same block:


=====================

-------
Block 1
-------

DogNews Item1 here
DogNews Item2 here
DogNews Item3 here

-------
Block 2
-------

Custom Dog HTML here

=====================


I'm currently using XOOPS 2.0.9.2 and News 1.1.


Any ideas would be greatly appreciated.

Thanks,
Cear

2
CearEff
Re: Displaying Custom HTML with News Topics
  • 2005/6/3 4:48

  • CearEff

  • Just popping in

  • Posts: 9

  • Since: 2005/6/1 6


Basically I would like to do something like the following with a custom block or MyPage, Iframe, etc:

include(XOOPS_URL."/modules/news/index.php?storytopic=1");
or include(XOOPS_ROOT_PATH."/modules/news/index.php?storytopic=1");

But I only want to see the News Topics and not my whole main page with menus, other blocks, etc again.

Thanks for the help,
Cear

3
CearEff
Re: Displaying Custom HTML with News Topics
  • 2005/6/6 12:55

  • CearEff

  • Just popping in

  • Posts: 9

  • Since: 2005/6/1 6


Any ideas? Anyone?

Login

Who's Online

185 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 185


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