Experience the Published Site
Browse to New Site on Publish
Now that the newly created communities site has been published, browse to the URL displayed when creating the site, but on the publish server, e.g.
- Author URL = http://localhost:4502/content/sites/engage/en.html
- Publish URL = http://localhost:4503/content/sites/engage/en.html
To minimize confusion as to which member is signed in on author and publish, it is suggested to use different browsers for each instance.
When first arriving at the published site, the site visitor would typically not already be signed in and would be anonymous.
Anonymous Site Visitor
An anonymous site visitor sees the following in the UI:
- Title of the site. Which is Getting Started Tutorial
- No profile link
- No messages link
- No notifications link
- Sarch field
- Log in link
- The brand banner
- Menu links for the components included in the Reference Site Template
If you select various links, you will find they are in read-only mode.
Prevent anonymous access on JCR
A known limitation exposes the community site content to anonymous visitors through jcr content and json , though allow anonymous access is disabled for the site's content. However, this behavior can be controlled using Sling Restrictions as a workaround.
To protect your community site's content from access by anonymous users through jcr content and json , follow these steps:
- On AEM Author instance, go to https://<host>:<port>/editor.html/content/site/<sitename>.html.Do not go to the localized site.
- Go to Page Properties .
- Go to Advanced tab.
- Enable Authentication Requirement .
- Add the path of the login page. For example, /content/......./GetStarted .
- Publish the page.
Trusted Community Member
This experience assumes Aaron McDonald was assigned the roles of community manager and moderator . If not, return to the author environment to modify the site settings and select Aaron McDonald as both community manager and moderator.
In the upper right corner, select Log in , and sign with username " firstname.lastname@example.org " and password "password". Notice the ability to sign in with Twitter or Facebook credentials.
Once signed in, notice there is a new menu item, Administration , which appears because the member was given the role of Moderator. Now selecting various links is more interesting.
Notice the Calendar page is the home page because the chosen Reference Site Template included the Calendar function first, followed by Activity Stream function, Forum function, and so on. This structure is visible from the Site Template console or when modifying site properties in the author environment:
After logging out, it is possible to create a new user registration.
- Select Log In
- Select Sign up for a new account
By default, the email address is the login id. If unchecked, the visitor is able to enter their own login id (user name). The user name must be unique in the publish environment.
After specifying the user's name, email, and password, selecting Sign Up will create the user and enable them to sign.
Once signed in, the first page presented is their Profile page, which they can personalize.
If the member forgets their login id, it is possible to recover is using their email address.