News page embedded in webpage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krondor
    New Member
    • Jul 2000
    • 22

    News page embedded in webpage

    I want to create a news page that i can embedded in my webpage homepage, does anyone have any blank templates that would do this..
  • orca
    Senior Member
    • Mar 2001
    • 1151
    • 5.5.x

    #2
    I don't think that you can do this with templates. There's a hack inside the hack forum which lets you do about what you want.
    Ueli

    Comment

    • ]CkB[Cowboy
      New Member
      • Jul 2001
      • 22

      #3
      you can go to styles -> modify -> [fonts/colors/etc]

      edit the "PHP parsed code" (assuming you have PHP4 installed)

      and insert code like this:

      ob_start();
      require("/ckb/pic.html");
      $POTD = ob_get_contents();
      ob_end_clean();

      then actually use $POTD as a variable in any template. Look at my forums: http://www.rj3.net/ckb/forums/ to see how I utilized this (the POTD on the right side is the exact same file: http://www.rj3.net/ckb/pic.html that all the other "non forum" .shtml pages include)

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...