1
krull
Adding pages?
  • 2007/10/25 3:37

  • krull

  • Just popping in

  • Posts: 3

  • Since: 2007/9/9 1


Ok I would like to place a screen shot on my front page and link that screen shot to play a video. Now I know how to do all th linking but the thing i can't figure out is how to create a blank page I can embed the video source on with out using a module. C an anyone help me with this?

2
Northern
Re: Adding pages?
  • 2007/10/25 4:56

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


<?php
if (file_exists("mainfile.php")) {
    include(
"mainfile.php");
}
elseif(
file_exists("../mainfile.php")) {
    include(
"../mainfile.php");
}
else {
    include(
"../../mainfile.php");
}
include(
XOOPS_ROOT_PATH "/header.php");
$xoopsTpl->assign('xoops_showrblock'0); // 1 display right blocks
$xoopsTpl->assign('xoops_showlblock'0); // 1 display right blocks
///////
echo "Your code";
///////
include(XOOPS_ROOT_PATH "/footer.php");
?>

3
krull
Re: Adding pages?
  • 2007/10/26 16:54

  • krull

  • Just popping in

  • Posts: 3

  • Since: 2007/9/9 1


sorry but could u tell me where and how to use that code!!

echo "Your code";???????

Login

Who's Online

217 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 217


more...

Donat-O-Meter

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

Latest GitHub Commits