📄 config_eng.xml
字号:
<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 "installing"
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 "index.html")</li>
</ul>
<p>To set the file permissions for these files use your FTP client or
use "chmod 777 file_or_folder_name" 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 "admin" 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 "admin" 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
"Image" 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 "main items" with a list of
"sub items" each.</p><p>Furthermore the navigation has a home page,
and you can define "meta" 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 "powered by EasyCMS" 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
"variables".</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>
<!-- start:mainnav -->
<!-- start:mainactive -->
<strong><a href="url">item</a></strong>
<!-- end:mainactive -->
<!-- start:maininactive -->
<a href="url">item</a>
<!-- end:maininactive -->
<!-- end:mainnav -->
</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. "url"
gets replaced with the real link data and "item" 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>
<!-- start:leftnav -->
<!-- start:active -->
<strong><a href="url">item</a></strong><br><br>
<!-- end:active -->
<!-- start:inactive -->
<a href="url">item</a><br><br>
<!-- end:inactive -->
<!-- end:leftnav -->
</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. "url"
gets replaced with the real link data and "item" 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 <!-- content -->
comment in the document. This comment will be replaced by everything in the
editors "content" text box.</p>
<p>If you want to use more than one content section on the page, number them as
<!-- content:1 -->, <!-- content:2 -->, <!-- content:3 -->,
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><!-- crumbs --></dt>
<dd>gets replaced with "breadcrumbs", textlinks linking back to
the parent page and the home page.</dd>
<dt><!-- branding --></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 "templates" 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 + -