1
bugirc
Custom Pages
  • 2007/6/24 14:00

  • bugirc

  • Just popping in

  • Posts: 32

  • Since: 2007/6/3 1


Hello, How I can create a custom page without creating a new module? and what I must do to make a new module with only one simple page? Can you send me a zip with the important files to make a new module?

2
kris_fr
Re: Custom Pages
  • 2007/6/24 14:59

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


hi,

Quote:

bugirc wrote:
Hello, How I can create a custom page without creating a new module?

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 = With right block - 0 = Without right block
$xoopsTpl->assign'xoops_showlblock'0); // 1 = With left block - 0 = Without left block
?>


Votre Titre
" rel="stylesheet" type="text/css">



*** html code without "body" here ***




$xoopsTpl->assign('xoops_pagetitle''page title for robot');
include(
XOOPS_ROOT_PATH."/footer.php");
?>

After, call your page (example) :
http://www.yoursite.com/yourfiles/modele_page.php

Quote:
and what I must do to make a new module with only one simple page? Can you send me a zip with the important files to make a new module?

http://tutos.xoofoo.org/modules/mydownloads/visit.php?cid=2&lid=75

@+

3
bugirc
Re: Custom Pages
  • 2007/6/24 20:35

  • bugirc

  • Just popping in

  • Posts: 32

  • Since: 2007/6/3 1


Thank you very much. A simple and fast way to make new pages!! Thank you again!

Login

Who's Online

327 user(s) are online (221 user(s) are browsing Support Forums)


Members: 0


Guests: 327


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