PDA

View Full Version : Page Content


sapper6fd
12-11-2004, 10:50 PM
Ok......

So, I'm trying to add a page. I've gone through the "Add a page" section in my admin CP, and this is what I have. Tell me if I'm doing this right.

Page Title: Terms Of Service - TOS
Page Identifier: tos
Page Template: adv_portal_test

and Custom Page Content is checked.

Now, is that the way its supposed to be?

The other thing is, the actual file I've created, with all the content I want to put into that page, what do I title it, and WHERE / which directory do I upload that file to??

I've looked in the users manual for "Adding a page" but it doesnt really help at all, it just goes over the same thing said in the AdminCP.

mattster2002
12-11-2004, 11:09 PM
You could just put it into /forum/modules/ and include it that way using a dropdown box,
Or you could include it by using a theme, ie- make a theme such as adv_portal_test like you have done in then the add a page section put test in the template box.

Our Sponsors
 

sapper6fd
12-11-2004, 11:20 PM
Alright, I've managed to figure it out, after about 2 hours of researching it.

To add a page for all those having problems, go to your Admin CP, and

1) click on the Style Manager link.
2) Clck on the << >> button next to the style your using to expand it.
3) Cick on the drop down list that says All Style Options
4) Click on Add New Template.
5) Fill in the name (Must start with adv_portal_*name* For example: adv_portal_tos
6) add your code - and dont forget to select your style at the top of that page.
7) Click Save
8) The template you just added should apear in the list on the left, in Red Text

Now go back to the CMPS section in the Admin CP and click Add A Page (Or edit a page if you've already added the page earlier).

1) Enter your page title. For example: Terms Of Service
2) Enter the Page Identifier For example: tos - (or whatever the last part of the adv_portal_*name* was, in this case it was tos)
3) Enter the Page Templeate (Same as the one you entered in Styles) For example adv_portal_tos
4) Enter your Style
5) Check the Custom Page Content box

And your done!