1
djgyix
how do u add new pages to xoops sites
  • 2004/11/5 4:49

  • djgyix

  • Just popping in

  • Posts: 5

  • Since: 2004/11/5


how do u add new pages to XOOPS sites

i know the menu shit just wanna know how to make new pages

2
tripmon
Re: how do u add new pages to xoops sites
  • 2004/11/5 5:10

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


You can go to sysadmin=>blocks
below the block listing you can create custom blocks and enable them... (you would want to use center block to present a whole page)
OR
use a module like freecontent, ipages, tinycontent, etc.
Most of these allow you to upload a page to your server and then link it. Once linked, the module will wrap it in your XOOPS templates.

I prefer freecontent myself.

3
tjnemez
Re: how do u add new pages to xoops sites
  • 2004/11/5 7:09

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


include("mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 0;
?>
Add your content here
include(XOOPS_ROOT_PATH.'/footer.php');
?>

save in root directory as whatever.php and create links.

on my site i use it for simple things like privacy policy and so on. see example here: http://www.dcdezines.ca/privacy.php

edit: i also use freecontent module.

4
solo71
Re: how do u add new pages to xoops sites
  • 2004/11/5 9:15

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


You can use Edito aswell...


5
suryawan
Re: how do u add new pages to xoops sites
  • 2005/2/18 2:49

  • suryawan

  • Just popping in

  • Posts: 1

  • Since: 2005/2/18


include("mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 0;
?>
Add your content here
include(XOOPS_ROOT_PATH.'/footer.php');
?>

Thanks tjnemez. Those scripts above works for me, and I'm able to create another page, too. Next problem: I want this page is accessible only to logged user. Is this possible? How do I do that?

6
blugemstone
Re: how do u add new pages to xoops sites

That's the exact info that I was looking for except I don't know how to now add the created page to the main menu so people can select it.

Login

Who's Online

240 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 240


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