Managing Content
This guide walks you through using LightNap’s Content Management System (CMS) web interface to create, edit, and publish content. You’ll learn how to work with both zones and pages, manage multilingual content, and configure access controls through the admin interface.
Prerequisites
- Understanding of Content Management System concepts
- User account in the
AdministratororContentEditorrole - Access to the content management interface
- Basic knowledge of Markdown or HTML formatting
Accessing the Content Management Interface
- Log in to your LightNap application with an account that has content editing permissions
-
Navigate to the Admin section Accessible from the **Content Manage** sidebar menu - You’ll see the content management dashboard with options to create, edit, and manage content
Creating Your First Content
Step 1: Create an Instructions Landing Page
Let’s start by creating a simple instructions landing page that can be sent out in email to new users.
- Click the Create button in the content management interface
- Set the key to
landing-instructionsin the dialog and press Create - Click the newly created key in the list of Contents available
Step 2: Add English Language Content
After creating the content item, you’ll be redirected to the content editor:
- Select the Languages Tab: Choose “English (en)” to start with the default language
- Click “Create Language Content” to create a default language stub
- Choose Content Format: Select “Markdown” for easy formatting
-
Enter Your Content:
# Welcome to Our Application We're glad you're here! [Get Started](/home) - Review the preview at the bottom of the page
- Save the Content: Click “Save” to store the English version
Step 3: Publish the Content
Once you’re satisfied with your content:
- Navigate back to the
landing-instructionseditor page - Change the “Status” from Draft to Published
- Change the “Read Access” from Explicit to Public
- Save the changes
The content is now live and accessible to everyone with access to your site.
Step 4: Test the page
Visit /content/landing-instructions.
- Copy the URL displayed below the Type
- Open a private browser window and navigate to the URL created for your page
- Review the content that matches your markdown and try the link, which should ask you to log in since it’s to a secured part of the app
Configuring Access Control
Creating Private Content for Authenticated Users
To create content that only logged-in users can see:
- Return to the
landing-instructionseditor if not already there - In the Settings tab update Read Access to Authenticated
- Save the content
- Visit the page from a private window to confirm that it now asks you to log in before you can see the page
This content will only be visible to users who are logged into your application.
Restricting Read Access for Specific Users
For content restricted to specific users:
- Return to the
landing-instructionseditor if not already there - In the Settings tab update Read Access to Explicit
- Save the content
- In the Readers tab use the Add User form to locate and add the specific users you want to grant read access to
Only those users (and those with edit permission for this item) will be able to see this item.
Allowing Editor Access for Specific Users
Just like the Readers tab, the Editors tab allows specific users to have editor access to this item. This is useful for scenarios where they need the ability to manage the specific item as well as its language content.
Allowing edit access to specific users should be used sparingly. If there are many content items they should have edit access for, consider adding them to the ContentEditor role.
Content Management Workflow
Content Lifecycle
Understanding the content lifecycle helps you manage content effectively:
- Draft: Content is being worked on, not visible to end users
- Published: Content is live and accessible based on permissions
- Archived: Content is no longer active but preserved
Organizing Your Content
Use Clear, Descriptive Keys:
- ✅ Good:
privacy-policy,marketing-hero-banner,help-getting-started - ❌ Avoid:
page1,content_2,banner
Group Related Content and Consider Locations for Zones:
public-index-banner
public-index-welcome
public-index-footer
Plan Content Types:
- Zones for reusable content blocks (welcome messages, announcements)
- Pages for standalone content (terms of service, help pages)
Working with Multiple Languages
- Start with your primary language (usually English)
- Create and publish content in the primary language first
- Add translations by clicking “Add Language” for each content item
- Consider cultural differences, not just direct translations
- Test language switching to ensure proper fallbacks
Content Formats
Choose the right format for your content:
- Markdown: Best for most content, easy to write and maintain
- HTML: When you need complex formatting or custom styling
- Plain Text: For simple messages and notifications
Searching and Managing Content
Using the Content Search
- Access the search function in the content management interface
- Enter search terms to find content by key, title, or content text
- Filter results by:
- Content type (Pages, Zones)
- Status (Draft, Published, Archived)
- Language
- Access level
- Sort results by creation date, modification date, or alphabetically
Best Practices
Content Creation
- Write clear, concise content that serves your users’ needs
- Use consistent styling and formatting across similar content types
- Include relevant links to other pages or resources
- Keep content up-to-date with regular reviews
- Test content in different contexts before publishing
Organization and Maintenance
- Regular content audits to identify outdated or unused content
- Consistent naming conventions for easy searching and management
- Document your content strategy for team members
- Plan translation workflows for multilingual content
- Back up important content before major changes
Performance Considerations
- Keep individual content pieces reasonably sized for fast loading
- Use zones appropriately - they’re cached for better performance
- Optimize images and media included in HTML content
- Monitor page load times for content-heavy pages
Troubleshooting
Common Issues
Content not appearing on the website
Check these items:
- Is the content status set to “Published”?
- Does the user have the required permissions to view the content?
- Is the content key correctly referenced in your templates?
- Are you using the correct language code?
Can’t edit content
Possible solutions:
- Verify you have
ContentEditororAdministratorrole - Check if you have specific edit permissions for that content
- Ensure you’re logged in with the correct account
- Clear your browser cache and try again
Translation not showing
Troubleshooting steps:
- Confirm the language file was created and saved
- Check the language code matches what your application expects
- Verify the content is published, not just saved as draft
- Test with a different language to isolate the issue
Getting Help
When you encounter issues:
- Check the application logs for any error messages
- Verify your user permissions with an administrator
- Test with a simple content item to isolate complex issues
- Document the steps that led to the problem for easier troubleshooting
The CMS interface is designed to be intuitive and user-friendly, making content management accessible to non-technical team members while providing the power and flexibility needed for complex content scenarios.