-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2248b47
commit 375f352
Showing
6 changed files
with
76 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Document Engine | ||
=============== | ||
|
||
.. toctree:: | ||
:titlesonly: | ||
|
||
Type | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.. include:: /../common/stub-topic.txt | ||
.. include:: /common/stub-topic.txt | ||
|
||
|stub-icon| Overview of ImCMS | ||
=================================== | ||
============================= | ||
|
||
.. include:: /../common/stub-notice.txt | ||
.. include:: /common/stub-notice.txt | ||
|
||
.. _issue: https://github.com/aspnet/Docs/issues/113 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,60 @@ | ||
Menu Tag | ||
======== | ||
|
||
|
||
|
||
In this article: | ||
- `Introduction`_ | ||
- `Use in template`_ | ||
|
||
Introduction | ||
------------ | ||
Well-known, an integral part of the page is menu it navigate users overall web-site, and describe what kind of content | ||
was presented on. Since ImCMS based on document-presented pages each menu item can presented as specific document link (see also `Document Engine </document-engine/index>`_ section | ||
|
||
Use in template | ||
--------------- | ||
|
||
For configure ``Loop`` tag in template just look at the code above. | ||
|
||
.. code-block:: jsp | ||
<imcms:loop no="1" pre="<div>" post="</div>"> | ||
...HTML or JPS tags here... | ||
</imcms:loop> | ||
Available list of tag attributes: | ||
""""""""""""""""""""""""""""""""" | ||
|
||
+--------------------+--------------+--------------------------------------------------+ | ||
| Attribute | Type | Description | | ||
+====================+==============+==================================================+ | ||
| no | Integer | Identifier for current loop | | ||
+--------------------+--------------+--------------------------------------------------+ | ||
| pre | String | Text or html tag that would be added before | | ||
| | | loop tag | | ||
+--------------------+--------------+--------------------------------------------------+ | ||
| post | String | Text or html tag that would be added after loop | | ||
| | | tag | | ||
+--------------------+--------------+--------------------------------------------------+ | ||
|
||
Example: | ||
"""""""" | ||
.. code-block:: jsp | ||
<%@taglib prefix="imcms" uri="imcms" %> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | ||
<head> | ||
<title>Template</title> | ||
<meta charset="utf-8"/> | ||
</head> | ||
<body> | ||
<imcms:loop no="1" pre="<div>" post="</div>"> | ||
Hello world with loop content | ||
</imcms:loop> | ||
</body> | ||
</html> | ||