Skip to content

Commit 59dc8d9

Browse files
committed
Added Readme.
1 parent 4682917 commit 59dc8d9

1 file changed

Lines changed: 129 additions & 0 deletions

File tree

README.md

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
Simple Pages (plugin for Omeka)
2+
===============================
3+
4+
[Simple Pages] is a plugin for [Omeka] that allows administrators to create
5+
simple web pages for their public site.
6+
7+
Keep it simple. Use this plugin to add an “About” page or other basic content to
8+
your site.
9+
10+
11+
Installation
12+
------------
13+
14+
Uncompress files and rename plugin folder "SimplePages".
15+
16+
Then install it like any other Omeka plugin and follow the config instructions.
17+
18+
19+
Usage
20+
-----
21+
22+
Simply add and edit pages via the main menu.
23+
24+
See the [dedicated page] for more information.
25+
26+
27+
Shortcodes
28+
----------
29+
30+
The shortcode allows to add blocks, lists or navigation into a page.
31+
32+
The general syntax is `[simple_pages key=value]`, where keys can be:
33+
34+
- slug
35+
The slug of the selected page to display.
36+
37+
- id
38+
The id of the selected page to display.
39+
40+
- slugs
41+
The slugs of the selected pages to display.
42+
43+
- ids
44+
The ids of the selected pages to display.
45+
46+
Generally, only one of these four keys are used.
47+
48+
- output
49+
Select the type of content to return. Can be "block" (default, the full
50+
content), "text" (same as block but without title), "link" (list of links to
51+
simple pages), "title" (list of title of simple pages), or "navigation" (the
52+
hierarchical list of pages under a root page).
53+
54+
For lists, two other arguments are available:
55+
56+
- sort
57+
Can be "alpha" or "order": the method to sort pages. If not set, slugs will be
58+
sorted by the order of the `slugs` argument, and `ids` by the default order
59+
("order").
60+
61+
- num
62+
Allows to limit the number of pages to display (10 by default). This is used
63+
only when there are no limitation (no keys or a range of ids).
64+
65+
For links, a specific argument is available:
66+
67+
- titles
68+
It allows to choose alternative title (generally shorter) for links. This is
69+
usefull when shortcodes are used to build alternative menus in blocks.
70+
71+
All arguments are optional.
72+
73+
74+
Warning
75+
-------
76+
77+
Use it at your own risk.
78+
79+
It's always recommended to backup your files and database regularly so you can
80+
roll back if needed.
81+
82+
83+
Troubleshooting
84+
---------------
85+
86+
See online issues on the [Simple Pages issues] page on GitHub.
87+
88+
89+
License
90+
-------
91+
92+
This plugin is published under [GNU/GPL].
93+
94+
This program is free software; you can redistribute it and/or modify it under
95+
the terms of the GNU General Public License as published by the Free Software
96+
Foundation; either version 3 of the License, or (at your option) any later
97+
version.
98+
99+
This program is distributed in the hope that it will be useful, but WITHOUT
100+
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
101+
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
102+
details.
103+
104+
You should have received a copy of the GNU General Public License along with
105+
this program; if not, write to the Free Software Foundation, Inc.,
106+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
107+
108+
109+
Contact
110+
-------
111+
112+
Current maintainers:
113+
114+
* Roy Rosenzweig Center for History and New Media
115+
116+
117+
Copyright
118+
---------
119+
120+
* Copyright Roy Rosenzweig Center for History and New Media, 2010-2014
121+
* Copyright Daniel Berthereau, 2014 (improvements, see [Daniel-KM])
122+
123+
124+
[Omeka]: https://omeka.org
125+
[Simple Pages]: http://omeka.org/codex/Plugins/SimplePages
126+
[dedicated page]: http://omeka.org/codex/Plugins/SimplePages_2.0
127+
[Simple Pages issues]: http://omeka.org/forums/forum/plugins
128+
[GNU/GPL]: https://www.gnu.org/licenses/gpl-3.0.html "GNU/GPL v3"
129+
[Daniel-KM]: https://github.com/Daniel-KM "Daniel Berthereau"

0 commit comments

Comments
 (0)