|
Revision 1343, 0.6 kB
(checked in by rho, 1 year ago)
|
pages plugin integrated
- Allows custom static/dinamic pages for main site
- Allows pages per user/community
- Allows using keywords
- Allows php code only for administrators
- Allows editing legacy pages (terms,privacy police)
- Allows editing frontpage logged in/out pages
- Implements access restrictions
Signed-off: Rolando Espinoza La fuente <rho@prosoftpeople.com>
|
| Line | |
|---|
| 1 |
Custom Pages elgg plugin |
|---|
| 2 |
Pro Soft Resources Inc. |
|---|
| 3 |
www.prosoftpeople.com |
|---|
| 4 |
|
|---|
| 5 |
This plugin allow to administrators to create custom static/dinamic pages inside |
|---|
| 6 |
elgg. Supports executing php code and using elgg template keywords. |
|---|
| 7 |
|
|---|
| 8 |
To install copy this directory to your elgg/mod plugin's directory. |
|---|
| 9 |
|
|---|
| 10 |
Edit edit your .htaccess, add this line before RewriteBase around line 50: |
|---|
| 11 |
|
|---|
| 12 |
RewriteRule ^content\/?(.*)?$ mod/pages/index.php?page=$1 [QSA,L] |
|---|
| 13 |
RewriteRule ^([A-Za-z0-9]+)\/pages\/?(.*)?$ mod/pages/index.php?profile_name=$1&page=$2 [QSA,L] |
|---|
| 14 |
|
|---|
| 15 |
Now you can open, as elgg admin, in your browser: http://your.domain/elgg/content |
|---|
| 16 |
|
|---|
| 17 |
|
|---|