1
redgunner
creating my own templates
  • 2006/1/13 14:16

  • redgunner

  • Just popping in

  • Posts: 6

  • Since: 2006/1/13


Hi, I have read this.


<?php
include("mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
?>

html here
<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>

How do I make it so only registered users can view it?

2
plusangel
Re: creating my own templates
  • 2006/1/13 16:49

  • plusangel

  • Just popping in

  • Posts: 90

  • Since: 2005/2/2 1


This is not a guide for creating custom templates.

You can use this in order to include your html pages inside a XOOPS site.

A detailed post for doing this is here.

In order to allow only registered users view the contents, modify the groups permissions like in a normal module.
The official greek support site for xoops

3
redgunner
Re: creating my own templates
  • 2006/1/13 17:05

  • redgunner

  • Just popping in

  • Posts: 6

  • Since: 2006/1/13


Sorry im new to this forum.

I dont understand the permissions, there is no option for my page. How can I make it my own content pages show for only registered users?

4
plusangel
Re: creating my own templates
  • 2006/1/14 17:33

  • plusangel

  • Just popping in

  • Posts: 90

  • Since: 2005/2/2 1


You can follow the instructions of myPage guide.
When you installed the “module”, go to the admin section
Select users then from the drop-down menu click to groups (for XOOPS 2.2.x)

Then set the “access rights” as you wish
The official greek support site for xoops

Login

Who's Online

220 user(s) are online (153 user(s) are browsing Support Forums)


Members: 1


Guests: 219


AventurineLe,

more...

Donat-O-Meter

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

Latest GitHub Commits