Content Manager Help
	
Create your Templates (page design)

	This program uses 2 templates.
	1. Home page template - used for main site page ($linksPage)
	2. Main template - used for all other pages. (template.html)
	Note: If you need more than 2 templats, see notes at the end of this file.

	For images and style sheets, etc.  Alwasy use the full web
	address to the image.
	<IMG SRC="http://server.com/content-images/image.gif">


Main Template
	/content-manager/templates/template.html
	You can make the page design just about any way you like.
	There are only 6 available tags that you will place on
	your template page where you want the page text, title 
	and links to appear.
	
	If you do not know what a template is, do a search on
	Google for 'free web templates' and you will find 100's
	of free to use page designs.
	
	Special Tags
		These tags are called [search and replace tags]
		When the program runs (add new page, etc.) it 
		searches for the tags and replaces them with the 
		text that you entered for the page.
		 
	<!Key_Words_Here>
	<!Meta_Desc_Here>
	<!Article_Title_Here>
	<!Page_Content_Here>
	
	<!Print_Links_Here> 
	or <Script src="/cgi-bin/content-manager/java-links-feed.pl"></Script>
	
	<!Print_Horizontal_Links_Here>
	<!Link_Name_Here>
	<!Content_Images>
	<!Outside_Links>
	<!Outside_Horizontal_Links> 
	<!Home_Link>   CSS = Links
	
	/* CSS Class for Navigation Links */
.Links{color:#0000FF;font-weight:bold;font-size:13px;font-family:Arial;line-height:18px;text-decoration:none;}
.HorizLinks{color:#0000FF;font-weight:bold;font-size:10px;font-family:Arial;line-height:18px;text-decoration:none;}
.OutsideLinks{color:#0000FF;font-weight:bold;font-size:13px;font-family:Arial;line-height:18px;text-decoration:none;}
.OutsideHorizLinks{color:#0000FF;font-weight:bold;font-size:13px;font-family:Arial;line-height:18px;text-decoration:none;}
See style sheet that comes with the program for more information on CSS.

Example:
<A HREF="$Mylink" Title="$Title"><Font Class=OutsideHorizLinks>$Title</Font></A>
<A HREF="$Mylink" Title="$Title"><Font Class=Links>$Title</Font></A><BR>
	
	
	<!Article_Title_Here> - this will place the Title that you 
	enter on the admin form on the page where you want it to
	appear.
	EXAMPLE:  <Title><!Article_Title_Here></Title>
	EXAMPLE:  <H1><!Article_Title_Here></H1>
	
	<!Page_Content_Here> - this will place all the text and 
	images that you enter on the form on the page where you want it to
	appear.
	EXAMPLE:  <Table>
			<!Page_Content_Here>
				</Table>
				
 
 	<!Print_Links_Here> - this prints the link in a specific format.
 	The format is:
 	<A HREF="page_name.html"><Font Class=Links>Title</Font></A><BR>
 	
 	The disadvantage of using the above tag is that you will need to 'refresh
 	all pages' every time you add a link for the link to show on all pages. 
 	If you use the javascript feed instead, the links are added automatically.
				
	<!Link_Name_Here> - this prints the name of the page only.
	EXAMPLE: page_name.html
	
	<!Content_Images> - this prints the web address to the content-images folder

	Please see the templates provided for examples of realtime
	use of the templates and tags.
	
	<!Key_Words_Here> - auto generated key words for meta tag
	<!Meta_Desc_Here> - auto generated description for meta tag
				(1st 100 characters of text)
	EXAMPLE:
		<meta NAME="description" CONTENT="<!Meta_Desc_Here>">
   		<meta NAME="keywords" CONTENT="<!Key_Words_Here>">
   	
   	
   	List of links to the outside world.
	<!Outside_Links> - this prints the link in a specific format.
   	The format is:
 	<A HREF="http://www.server.com/page_name.html"><Font Class=OutsideLinks Color=Blue>Title</Font></A><BR>

	<!Home_Link> - this prints the link in a specific format.
   	The format is:
 	<A HREF="$linksPage"><Font Class=Links Color=Blue>$HomeLinkText</Font></A><BR>
	YOU MUST USE THIS TAG IF NOT USING THE JAVASCRIPT FEED.
	
	To use the site map feature, the site map will print 
	IN PLACE OF -> <!Page_Content_Here>
	The format is:
	<A HREF="page_name.html"><Font Class=SiteMapLinks Color=Blue>Page Title</Font></A><BR>
	
	The Header text Class is: SiteMapHeaderText
	
	Note: if you edit the site map with the editor, you will loose
	all the data when you add a page. if you have NO Site map on
	the admin options page checked, you will be able to make your
	own without loosing the data.
	
The Home Page Template

	/content-manager/templates/index.html
	The program will create a home page or an INDEX	page 
	automatically. You can use any of the tags above on 
	the page. The title of the page you should type in,
	and not use the auto generated title.
	
	There is one extra 'special tag' you need to insert in
	the home page (index.html) where you want the BODY of
	the page to appear.
	
		<!Home_Page_Content_Here> - this is replaced with the
			text that you type in using your administration
			page, Edit Home Page section.
	
	 	<!New_Link_Here> - this prints the link in a specific format.
 	The format is:
 	<A HREF="page_name.html"><Font Class=Links Color=Blue>Title</Font></A><BR>
 	
	If you want to change the link STYLE - the CLASS name is: Links
	Just add the .Links to your style sheet. A style sheet is
	included with the program.
	Style Sheet Help: http://www.w3schools.com/css/css_reference.asp

Javascript Menu Feeds

	I highly recommend using the javascript feed for your
	pages. It is less server load and very flexable.
	Instead of using: <!New_Link_Here>
	USE:
	<Script src="/cgi-bin/content-manager/java-links-feed.pl"></Script>
		JavaScript Help

		This is a java script feed of links to all your pages.
		

Making Template Changes
	
	If you have created many pages and want to change your template, 
	you can refresh all the pages to reflect the new page design.
	This is done on the main admin page.
	

Editing Templates
	
	In some situations, the editor will not save the template
	correctly if you have a large JavaScript on the page or
	a JavaScript that has long lines. if you run into this,
	edit your template on your desktop and upload the template
	to the content manager.
	

XML Feed

	if you are going to use the XML feed, place the feed.xml file
	in your /content folder and set the permissions to 666 - rw-rw-rw
	
	The XML feed is regenerated each time you add a page.
	
Notes

	Templates
	If you need more than 2 templates you can add others, as many
	as you need.
	1. In the admin - go to the program options page.
	2. Turn on the multi-templates option
	3. Use the 'Edit Template' function to add a new template.
	4. Select -Add Template- from the drop down list
	5. Create your template there or paste the template in the
	form on the page and save the new template.
	
	Alternately, you can upload a template to the /templates folder.
	
	Any file in the /templates folder will show up on the 
	'add new page' or 'edit page' as a drop down list of templates.
	
	Folders

	If you want to use sub folders, this can be achivied by:
	1. In the admin - go to the program options page.
	2. Turn on the use Sub Folders option
	3. On the main admin page, create the new folder 
	You can now select the folder when you are creating the 
	new page.