Quick Start¶
This guide is for a LabPress that is already installed, whose database has been imported, and whose includes/config.php connects successfully. It covers the minimum sequence needed to turn the sample site into a usable deployment.
Detailed module behavior lives in the chapter pages; this page focuses on order, verification, and the first-run decisions that are easy to postpone.
flowchart TD
A[Log in at /admin] --> B[Change the default password]
B --> C[Review site identity and homepage settings]
C --> D[Review navigation labels and URLs]
D --> E[Activate only the plugins you need]
E --> F[Verify admin and frontend locales]
F --> G[Edit or create one item per module]
G --> H[Verify the public pages and account entry]
H --> I[Take a backup] 1. Log In to the Admin Panel¶
Open:
Use the sample administrator:
| Field | Value |
|---|---|
| Username | root |
| Password | lab123456 |
After login, the dashboard shows the current content counts. A fresh sample database is not an empty site; it contains demo publications, slides, tools, projects, news, and users.

The dashboard after the first login. Content counts are read from the live database; the topbar shows the v1.1.1 admin language switcher and account chip.

The login page in v1.1.1. The 中文 / English control below the form belongs to Dynamic Multi-Language; it changes the admin interface, not the public site.
2. Secure the Default Administrator¶
The sample password is public. Change it before doing anything else:
- Open Users in the admin sidebar.
- Use Change My Password.
- Enter a strong password and confirm it.
- Reload the page and confirm the default-password warning is gone.
For a production site, create a separate administrator account and stop using root for daily editing. The root account can remain as a break-glass account, but its password must be unique.

User management contains the self-service password form and the administrator password reset form.
See Users Management for the permission model.
3. Review Site Settings¶
Open Settings → Site Config. Check:
- site name and browser title;
- default site language;
- About Us copy;
- statistics labels and values;
- research direction cards;
- footer text if FooterInfo is active.
The sample values are placeholders. Replace them before inviting visitors, because the homepage and every page title inherit these settings.

Site settings control the public identity of the site and several homepage sections.
See Site Settings for field-by-field guidance.
4. Review Navigation Before Content¶
Open Settings → Navigation Menus. Confirm that each menu item points to the intended page or external URL.
A typical first-run menu:
| Label | URL | Target |
|---|---|---|
| Home | /index.php | Same window |
| Publications | /publications.php | Same window |
| Tools | /tools.php | Same window |
| Projects | /projects.php | Same window |
| News | /news.php | Same window |
| Contact | External lab or university page | New window |
The navigation is stored in the database and rendered by includes/header.php. The header also renders the language switcher and the account entry; those are not separate menu records.
See Navigation Menus for CRUD and account-entry behavior.
5. Activate Only the Plugins You Need¶
Open Plugins → Installed Plugins.
LabPress ships with:
- FooterInfo — footer text and simple footer styling.
- Dynamic Multi-Language — database-content translation and the backend language switcher.
- hello-word — a development example, safe to leave inactive.
Activate FooterInfo if you need editable footer content. Activate Dynamic Multi-Language only if the site actually serves more than one content language; otherwise it adds an admin page and translation tables that are not being used.
If a plugin directory exists but is not listed, use Scan for new plugins first. If activation fails, check the plugin header and the plugins table before uploading a new copy.
6. Verify Both Language Contexts¶
LabPress 1.1.1 separates the frontend language from the admin language. Test both, not just the public switcher.
Frontend¶
- Open the homepage.
- Switch the language in the header.
- Reload. The selected locale should persist in the
langcookie. - Check that database content (slide text, nav labels) changes only when Dynamic Multi-Language is active and translations exist.
Admin¶
- Open
/admin/login.php?lang=zh_CN. - Confirm the login page renders Chinese text and
<html lang="zh-CN">. - Log in and confirm the admin topbar remains Chinese.
- Switch back to English from the admin topbar or login-page switcher.
- Reload the page. The admin locale should persist independently of the frontend cookie.
If the admin language does not change, see the locale-order troubleshooting in Core Language Packs.

The Dynamic Multi-Language page is where database-content translations are edited.
For the architecture, see Internationalization Overview.
7. Create or Edit One Item per Module¶
Do not start by bulk-importing production content. Exercise one item in each module first; this exposes field mapping, image upload, and permission issues while the sample data is still available.
Suggested order:
- Slides — replace one homepage slide and confirm the carousel updates.
- Publications — add one paper and check the public list.
- Projects — create one category and one project; confirm filtering.
- Tools — add one tool, its detail record, and one version.
- News — publish one Markdown item with an image.
- Users — create a non-admin editor with a limited permission set.
The module pages contain field tables and validation notes:
8. Verify the Public Account Entry¶
The public navigation is shared by all frontend pages. In 1.1.1 it contains an account entry in includes/header.php.
- Sign out of the admin panel.
- Open the homepage. The nav bar should show Sign in, not a username.
- Click Sign in. The link should include
redirect=home. - Log in. The browser should return to
/index.php, not/admin/index.php. - The nav bar should now show the username.
- Hover over the username. The dropdown should show Dashboard and only the admin modules permitted for that account.
- Click the username. It should open
/admin/index.php.
If the username does not appear, check $_SESSION['user'] and the cookie path. If the dropdown is empty, check the permissions array stored for the user.
9. Take a Baseline Backup¶
After the site identity, navigation, and one sample item per module are correct, export the database and archive uploads/. Store them outside the web root.
This baseline is useful for two reasons:
- it captures a known-good configuration before bulk content entry;
- it gives you a rollback point before plugin experiments or a future upgrade.
10. Next Steps¶
- Configure every field: Site Settings.
- Tune the menu and account entry: Navigation Menus.
- Understand plugin safety: Plugin Management.
- Read the release changes: Changelog 1.1.1.
- Harden the deployment: Security.