![]() |
Create Custom Pages
GO-TOTAL LLC had everyone in mind when GTCustom Pages was created.
Custom pages can now be created with little or no coding knowledge. If you know how to create a phrase within ADMINCP / LANGUAGES then you can create custom pages with ease. First Download and install product and... Let's Create A Custom "About Us" Page:
- Replace bold text with your choice of name. Follow naming convention as described above or the pages will not display. - All 'xxx_header' phrases should be added to GLOBAL phrase group. (Needs to be global to display in navbar, etc.) - All other phrases are required to be in GTCustom Pages phrase group. (If it's not here, cutom page will not work.) Tips:
Examples Included With Product:
|
Very nice .. if i need to show a messge for each usergroup when they visit the about page .. is there any way to do this ?
Thanks :) |
edit the goto.php and create a new template with conditionals
FIND: HTML Code:
switch($_REQUEST['section']) HTML Code:
switch($_REQUEST['section']) FIND: HTML Code:
switch ($section) HTML Code:
switch ($section) Create new template as you see fit (use conditionals, use phrases, it's up to you): name it "gtcustom_about" that's it |
Thankyou very much .. It's work fine. . i'm not sure if there is way where i can add UserPost Count ..
Example Welcome Username You have Made XX Post .. Welcome username i find how to do this but Their postcount i dont no :) Thanks :) |
What if I need the page to do some PHP commands?
How do I just add a header and a footer to that PHP file? |
Im sorry, but im new to this and i dont have a clue what you are talking about in your instructions.
In the admin CP im going to phrase manager, then what, you havent said?! Phrase type = ? Product type = ? Var name = gtcustom_about_header (for first one) Text = ? Thank you |
Quote:
- All 'xxx_header' phrases should be added to GLOBAL phrase group. (Needs to be global to display in navbar, etc.) - All other phrases are required to be in GTCustom Pages phrase group. (If it's not here, cutom page will not work.) |
Here is my page:
http://www.hiven.net/forum/goto.php?section=rules Can you tell me how i get rid of the box's on the left please, i just want the text no search / advert / stuff box. Thank you James |
edit the CUSTOM_SHELL template
|
Thanks for the tutorial. Very useful! :)
|
All times are GMT. The time now is 01:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|