Hi Davide,
I agree with Will on this one: to convert the author instance into a
"public-author hybrid" will be some work.
You will have to look at the following aspects:
- Permissions
- Controlling Edit-Mode
- Caching, Cache-Control
Getting it all working cleanly will be some development.
It seems to me you gain very little:
- there's no need to activate content
- some features (like commenting, forum, etc...) involving user-generated
content will be easier to handle with only 1 instance
And the gain comes at quite a price:
- no way to prepare content without it being immediately visible
- no way to use workflow
- development effort to produce the "public-author hybrid"
- problems when upgrading to future versions
So my advice would be: use the standard 2 instance configuration, with an
author and a public instance. The editor will have to activate content, which
may seem like a drag, but:
- you can disable the workflow, so the editor does not also have to
"self-approve" his changes --> in this way the activation becomes immediate
- you can point out to the editor the advantages of:
- being able to edit several pages at once, and then put them all online
when everything is ready
- being able to stop editing in the middle, and come back to an edit at a
later time
neither of these is possible if everything is "instantly online"
Regards from Vienna,
Richard
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]]
Im Auftrag von Davide Montesin (via Magnolia Forums)
Gesendet: Montag, 26. März 2012 14:39
An: Magnolia User List
Betreff: [magnolia-user] Creating a single instance for small website magnolia
4.5.1 CE
I like to use only an instance for a small web site. Content can directly go
online. There is only one person that manage all the website.
I haven't found a tutorial about this. I have created myself a todo list for
creating a single instance. I have still a problem with the edit bar that is
always show even if not logged in. Is possible to fix this?
Do you find some problem in my list of steps?
01) download http://sourceforge.net/projects/magnolia/files/magnolia/Magnolia
CE 4.5.1/magnolia-empty-webapp-4.5.1.war/download
02) create an ROOT folder under webapps (of tomcat)
03) unzip the war into the ROOT folder
04) copy the author conf to the new folder name: cp -a
WEB-INF/config/magnoliaAuthor WEB-INF/config/ROOT
05) start the tomcat
06) check in the log for the right folder: [ServletContextPropertySource from
WEB-INF/config/ROOT/magnolia.properties]
07) open the browser and point url to localhost:8888 (or the port configured in
tomcat i.e. 8080)
08) do the "Magnolia modules need to be installed".
09) login into magnolia
10) CHANGE THE superuser password!!! Because this instance is visible in the
web!
11) follow this guide to creare a first template:
http://documentation.magnolia-cms.com/templates/introduction.html#Creatingapagedefinition
12) Go to website and create a new page with template main_template (should be
selected by default)
13) into the template put the freemarker [@cms.init /] for editing
14) check that system user anonymous is enabled
15) go to security - roles, double click anonymous. Go to "Access control list"
tab. ***
http://documentation.magnolia-cms.com/administration/deployment/changing-author-to-public-instance.html
16) On website choose Read only on /; On Url choose "Get & Post" for /* (not
for .magnolia)
17) Now the page can be browsed without be logged!
Still a problem with the bar that is always showed. A way to wrap it into a if
(edit) statement?
Is required to activate the page with a DummyActivationManager as explained in
http://wiki.magnolia-cms.com/display/WIKI/Single+Instance+Deployment ?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=1ecb3336-18a4-4dd8-a136-707b9ff32222
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------