Main Menu
Home
Open a Ticket
My Ticket History
Browse Knowledgebase
My Account

Login
 E-mail:
 Password:
Register | Forgot Password?

Knowledgebase
Ask a question using natural language. Try to include as much information as possible:


Contact Us
Go-Mama-Hosting
Sweet Home, OR 97386
United States

Sales: (M-F, 9-5 EST)

Technical Support:
24-7, 365 days a year

Knowledgebase
How Do I Create or Edit Cash Crusader Web Site Pages?
Top : Cash Crusader Scripts

Article ID: 000102
Rating: 0.0 / 5.0 (0 votes)
Views: 28752

Problem
I need to know how to Create or Edit web pages for my Cash Crusader site

Solution
Creating or Editing Your CC Web Pages
Here are a couple of things you need to know about editing your php scripted Cash Crusader files.
You will find a directory called /pages, this is where you will go to make any changes to your site design or information.

You will find all the files of your webpages in this directory: /www/pages/
[e.g.. If you wanted to edit your index page you would go to /www/pages/index.php
and edit that file.]

Header and Footer:
header.php and footer.php are the main menu, top, sides and bottom of your web
pages.
All of your webpages must have the coding to insert the header and footer of your
site. Which you will see below:
<? include("header.php");?>
<? include("footer.php");?>

If you would like to edit your main menu, or add a different logo, then you would access the file
header.php. The footer.php file contains the bottom of your website: e.g. total number of members, copyright etc.

Also remember when placing the scripting into your pages you do not need a " " to be placed in front of every special character like ( ' and @ ). (Old CAC sites required this - CC do not)

This is what a php web page should like. All your webpages are in php format NOT html.
Use the basic index.php page below as an example.
Everything in bold must be in a page that you create or edit and it must be in the exact location as you see it displayed below. All other text is optional.
<-------Begin Example------>
<? include("setup.php");?>
<? include("header.php");?>
Members
FREE Membership <br>
Get Paid for Reading Your eMail<br>
Refer Others and Get Paid<br>
$5.00 Dollar Payout!<br>
International Members are Welcome!<br>
Receive eMail on the best products<br>
Receive eMail on the best opportunities <br>
6 Ref levels of commission under you<br>
Level 1 - 20% | Level 2 - 10% | Level 3 - 5%<br>
Level 4 - 3% | Level 5 - 2% | Level 6 - 1%<br>
<br>
<br>
<? include("footer.php");?>
<-------End Example------>

1. When creating new pages, Just create a html file like usual,
create the page and save it.
2. When you are done, you need to rename the file's extension
from .html / .htm to .php
3. Next step: Edit the file by removing the html coding: (ALL the
info shown below in italics is included in your header & footer
files, so you DO NOT need to add it to your .php pages).
<html><br>
<head><br>
<title>name of page</title><br>
<meta name="keywords" content=""><br>
<meta name="Description" content=""><br>
<meta name="ROBOTS" content=""><br>
<meta name="distribution" content="l"><br>
</head><br>
<body bgcolor="#FFFFFF" text="#000000"><br>
</body><br>
</html>
4. Next, you place these two codes at the very top of the page:
<? include("setup.php");?><br>
<? include("header.php");?>
5. OR If the page requires someone to log in [Like the
enter.php page does] then you would place these three
codes at the top of the page instead of the just the two above:
<? include("setup.php");?><br>
<? login();?><br>
<? include("header.php");?>
6. Final step: At the very bottom of the page you will place this code:
<? include("footer.php");?>

This is what the coding of your new page would like for a public page.
<? include("setup.php");?><br>
<? include("header.php");?><br>
Your html here Your html here Your html here Your html here Your html here

Your html here Your html here Your html here Your html here Your html here

Your html here Your html here Your html here Your html here Your html here

<? include("footer.php");?>

Rating
Did you find this article helpful?

  Powered by: Cerberus Helpdesk
 
 Take Control of Your Company Inbox skin by: and www.cerberusweb.com