⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config_eng.xml

📁 easycms to learn easy php and see how to code in php and use mysql database requetes
💻 XML
📖 第 1 页 / 共 4 页
字号:
			<li><a href="#links">Links</a></li>
			<li><a href="#textchanges">Text changes</a>
				<ul>
					<li><a href="#strong">Strong/Bold</a></li>
					<li><a href="#emphasized">Emphasized/Italic</a></li>
					<li><a href="#acronyms">Acronyms</a></li>
					<li><a href="#pref">Preformatted text</a></li>
				</ul>
			</li>
			<li><a href="#tables">Tables</a></li>
			<li><a href="#images">Images</a></li>
		</ul>	
	</li>
</ul>
</td>
</tr>
</table>

</toc>
<help>
<h2><a name="about">About EasyCMS</a></h2>
<p>EasyCMS is a web site generator and content management tool. It allows 
you to generate a complete, independent web site from a sitemap and templates.</p>
<p>Furthermore it allows you to edit the content and the sitemap of a web site 
directly on the server without the need to FTP.</p>
<p>Once set up, all you need to worry about to maintain your web site is the 
content, all the navigation and linking is done by EasyCMS.</p>
<p>EasyCMS is not a WYSIWYG editor, and does not use custom commands to
layout documents. It has an in-built HTML help and tag generator and 
comes with some custom commands to ease HTML development and define 
content elements.</p>
%backtotop%
	<h3><a name="ecmsrequirements">Requirements</a></h3>
	<p>Unlike a lot of other CMS, EasyCMS does not need database to work. It
	was created for users of PHP virtual servers or users without Database
	knowledge.</p>
	<p>For EasyCMS to work, you need</p>
	<ul>
		<li>A server with PHP installed (preferably the newest version,
		EasyCMS does not support PHP versions without superglobals 
		anymore).</li>
		<li>The correct write permissions for the folders data, html, 
		ecms_contentimages, ecms_navimages and the homepage file on the 
		root (more information about this is in the &#34;installing&#34; 
		chapter).</li>
	</ul>
	<p>To create templates and use EasyCMS to layout documents, you need 
	HTML knowledge, no PHP knowledge is necessary.</p>
	%backtotop%
	<h3><a name="ecmsinstall">Installing</a></h3>
	<p>To install EasyCMS, unzip the EasyCMS file to the server. You can
	unzip it to the root or to a sub-folder. EasyCMS uses relative linking,
	to allow for more than one installation on the same server.</p>
	<p>Note:Some WinZip flavours and Macintosh unpacking tools do not show
	any sub-folders in the Zip file. If that is the case, try another 
	version, they are in there.</p>
	<p>After unpacking, EasyCMS requires the following folders and files to have
	write permission:</p>
	<ul>
		<li>data</li>
		<li>ecms_contentimages</li>
		<li>ecms_navimages</li>
		<li>html</li>
		<li>homepage file on the root (to be defined in the sitemap editor, 
		default is &#34;index.html&#34;)</li>
	</ul>
	<p>To set the file permissions for these files use your FTP client or 
	use &#34;chmod 777 file_or_folder_name&#34; on the system console.</p>
	<p>EasyCMS checks if these files have write permission or not, and 
	does only start when this is the case.</p>
	<p><strong>To prevent web site users with knowledge of EasyCMS to change the
	page, secure the &#34;admin&#34; folder with a login (via .htaccess)
	or rename it to something else.</strong></p>
	%backtotop%
	<h3><a name="ecmsfolders">Folders</a></h3>
	<p>EasyCMS has the following folders:</p>
	<dl>
		<dt>admin</dt>
		<dd>Contains EasyCMS itself and all the necessary includes and 
		images. Do not change anything in this folder! <strong>To prevent 
		web site users with knowledge of EasyCMS to change the page, secure 
		the &#34;admin&#34; folder with a login (via .htaccess)	or rename 
		it to something else.</strong></dd>
		<dt>data</dt>
		<dd>Contains all the data files of EasyCMS - the content
		documents you generate, the navigation and the settings file. 
		This folder and all the files in it need to have write permission
		set.</dd>
		<dt>ecms_contentimages</dt>
		<dd>Contains images that are used in the templates and
		images you can add in your content. All images in here are shown
		in the toolpanel dropdown for images. This folder needs to have 
		write permission set.</dd>
		<dt>ecms_navimages</dt>
		<dd>Contains images that can be used in the navigation instead
		of the text links. All images in here are available in the 
		&#34;Image&#34; dropdown in the navigation editor. This folder 
		needs to have write permission set.</dd>
		<dt>html</dt>
		<dd>Contains the final, standalone documents created 
		with EasyCMS. This folder needs to have write permission set.</dd>
		<dt>templates</dt>
		<dd>Contains all the EasyCMS templates. Every template in 
		here is available in the template dropdown of the main
		edit panel.</dd>
	</dl>
	%backtotop%
	<h3><a name="ecmsnavigation">Navigation / Sitemap</a></h3>
	<p>EasyCMS to date only allows for a sitemap 2 levels deep. This means
	you can have a list of &#34;main items&#34; with a list of 
	&#34;sub items&#34; each.</p><p>Furthermore the navigation has a home page, 
	and you can define &#34;meta&#34; pages, which will be editable in EasyCMS
	but won't show up in the navigation.</p>
	<p>An example of a valid sitemap:</p>
	<p>Home:</p>
	<ul>
		<li>Home page</li>
	</ul>
	<p>Meta:</p>
	<ul>
		<li>Search</li>
		<li>Privacy Statement</li>
		<li>Accessibility Statement</li>
	</ul>
	<p>Main:</p>
	<ul>
		<li>About us
			<ul>
				<li>History</li>			
				<li>Offices</li>			
			</ul>
		</li>
		<li>Services
			<ul>
				<li>Graphic Design </li>			
				<li>Web Development</li>			
				<li>Usability Consulting</li>			
				<li>Accessibility Consulting</li>			
				<li>Developer Training</li>			
			</ul>
		</li>
		<li>Contact
			<ul>
				<li>Postal addresses</li>
				<li>e-Mail form</li>
				<li>Callback</li>
			</ul>
		</li>
		<li>Portfolio</li>
	</ul>
	<p>The links to each main item and sub-items get generated by EasyCMS. Meta
	items have to be a separate link in the template or the content.</p>
	%backtotop%
	
	<h3><a name="pricing">Price / Copyright</a></h3>
	<p>EasyCMS is free when:</p>
	<ul>
		<li>used for private, non-profit orientated sites</li>
		<li>the &#34;powered by EasyCMS&#34; branding remains visible and 
		the link working in the generated pages.</li>
		<li>The code (including the editor HTML and layout) remains unchanged</li>
	</ul>
	<p>EasyCMS is <strong>not</strong> Open Source!</p>
	<p>If you think there should be any feature included, or you find a bug, please
	report this to me, instead of changing anything yourself. I am glad to help and
	take advice.</p>
	<p>If you want to use EasyCMS for a professional web site, or company internally
	to create clickthroughs and presentations, you can obtain a professional version 
	by donating 50 Dollars or Euros to my PayPal account.</p>
	<p>The professional version does not show any branding.</p>
	<p>If you need special modification of the tool or CI rebranding of the editor, 
	please contact me for details or pricing and arrangements.</p>
	<p>I used a lot of time on this tool, and if it is helpful to you, please use it, 
	don't abuse it.</p>
	%backtotop%
<h2><a name="templates">Creating templates</a></h2>
<p>EasyCMS templates are simple HTML documents with some extra comments and 
&#34;variables&#34;.</p>
<p>To turn a HTML document into an EasyCMS template, you need to ensure that 
the following elements are defined:</p>
<ul>
	<li>Main navigation</li>
	<li>Second level navigation</li>
	<li>Content section(s)</li>
</ul>
<h3>Main navigation</h3>
<p>To define the main navigation, you need to add the following HTML comments:</p>
<pre>
&#60;!-- start:mainnav --&#62; 
&#60;!-- start:mainactive --&#62; 
	&#60;strong&#62;&#60;a href=&#34;url&#34;&#62;item&#60;/a&#62;&#60;/strong&#62;
&#60;!-- end:mainactive --&#62; 
&#60;!-- start:maininactive --&#62; 
	&#60;a href=&#34;url&#34;&#62;item&#60;/a&#62;
&#60;!-- end:maininactive --&#62; 
&#60;!-- end:mainnav --&#62; 
</pre>
<p>Everything in between start:mainnav and end:mainnav will be repeated for 
each main item of the navigation.</p>
<p>The current page will be displayed as the 
HTML in between the start:mainactive and the end:mainactive comments. &#34;url&#34; 
gets replaced with the real link data and &#34;item&#34; with the name of the page.</p>
<p>The same applies for all the other main 
elements to the maininactive section.</p>
<h3>Second level navigation</h3>
<pre>
&#60;!-- start:leftnav --&#62; 
	&#60;!-- start:active --&#62; 
	&#60;strong&#62;&#60;a href=&#34;url&#34;&#62;item&#60;/a&#62;&#60;/strong&#62;&#60;br&#62;&#60;br&#62;
	&#60;!-- end:active --&#62; 
	&#60;!-- start:inactive --&#62; 
	&#60;a href=&#34;url&#34;&#62;item&#60;/a&#62;&#60;br&#62;&#60;br&#62;
	&#60;!-- end:inactive --&#62; 
&#60;!-- end:leftnav --&#62; 	
</pre>
<p>Everything in between start:leftnav and end:leftnav will be repeated for 
each sub item in the active main item of the navigation.</p>
<p>The current sub page will be displayed as the 
HTML in between the start:active and the end:active comments. &#34;url&#34; 
gets replaced with the real link data and &#34;item&#34; with the name of the page.</p>
<p>The same applies for all the other sub
elements to the inactive section.</p>
<h3>Content section(s)</h3>
<p>If you want to provide only one content section, add a &#60;!-- content --&#62;
comment in the document. This comment will be replaced by everything in the 
editors &#34;content&#34; text box.</p>
<p>If you want to use more than one content section on the page, number them as
&#60;!-- content:1 --&#62;, &#60;!-- content:2 --&#62;, &#60;!-- content:3 --&#62;,
and so on. These comments will be replaced by the content in the EasyCMS 
[section] tags.</p>
<h3>Non-mandatory elements</h3>
<p>In addition to the necessary elements above, you can use the following comments
and variables:</p>
<dl>
	<dt>&#60;!-- crumbs --&#62;</dt>
	<dd>gets replaced with &#34;breadcrumbs&#34;, textlinks linking back to
	the parent page and the home page.</dd>
	<dt>&#60;!-- branding --&#62;</dt>
	<dd>gets replaced with the EasyCMS branding, if this comment is not in the
	template, EasyCMS will add the branding as the last child element before 
	the closing body tag.</dd>
	<dt>%%title%%</dt>
	<dd>the title information entered in the editor.</dd>
	<dt>%%description%%</dt>
	<dd>the description information entered in the editor</dd>
	<dt>%%keywords%%</dt>
	<dd>the keywords entered in the editor</dd>
	<dt>%%parent%%</dt>
	<dd>the parent page of this page, if the page is a main page, the home page
	or a meta page, this will be itself. The string replacing this variable is 
	the filename of the parent page without the file extension. You can use 
	this variable for colour coding your design.</dd>
	<dt>%%child%%</dt>
	<dd>if the current page is a sub page, this variable gets replaced with its
	own filename without an extension, otherwise this variable gets deleted.You
	 can use this variable for colour coding your design.</dd>
</dl>
<p>Simply store the final document in the &#34;templates&#34; folder and it'll
show up in the editor.</p>
%backtotop%

<h2><a name="ecmslayout">EasyCMS Layout</a></h2>
	<p>The layout of EasyCMS looks like this:</p>
	<p align="center"><img src="layout.gif" width="348" height="265" 
	alt="EasyCMS Layout" border="0" /></p>
	<p>Section 1 is the main EasyCMS panel, 2 the sitemap of the site you 
	create, 3 is the main editing section and 4 is the tools/help panel.</p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -