iBoard Core Layout Settings
iBoard Core Layout Settings are used to manage shared layout sections, scripts, and styles that apply to iBoard board pages. This Core is different from the Page Core used by normal website pages.
This feature controls common areas used by boards. For example, if you want to display the same banner, advertisement, notice, script, or style across multiple board pages, configure it here.
Overview
The iBoard Core controls shared board layout areas. These settings are applied around board-related screens, such as board lists, post views, write forms, notices, voting areas, menus, and other board components.
Instead of editing each board skin or board page one by one, you can manage common board sections from this screen.
| Core Type | Purpose |
|---|---|
| Page Core | Controls the shared layout of general website pages. |
| iBoard Core | Controls shared layout sections, scripts, and styles used by board pages. |
When to Use iBoard Core
Use iBoard Core Layout Settings when you want the same content or behavior to appear across board-related pages.
- Display a common banner above all board pages.
- Display an advertisement below board content.
- Add shared JavaScript behavior to all boards.
- Add shared CSS styling for board layouts.
- Add common notice content above or below notice sections.
- Customize common menu areas used by board skins.
- Apply reusable HTML to voting or recommendation sections.
If the change should affect board pages, use iBoard Core. If the change should affect normal website pages, use Page Core.
Screen Structure
The Core Layout Settings screen is divided into the left guide menu and the main editor area. The main editor contains multiple tabs for different board layout sections.
| Area | Description |
|---|---|
| Menu | Shows the current Core Layout Sections menu. |
| Editor Guide | Explains whether the selected area is HTML, JavaScript, or CSS. |
| Core Layout Sections | Tabs used to edit shared board layout sections. |
| Code Editor | The editor where HTML, JavaScript, or CSS code is entered. |
| Create SQL | Generates SQL for backup, migration, or deployment. |
Core Layout Sections
Each tab represents a shared area used by iBoard board pages. The content entered in each section is rendered in the related board layout position.
| Section | Where It Applies | Common Use |
|---|---|---|
| Top Area | Top area of board pages. | Common board banner, announcement, advertisement, or introduction. |
| Bottom Area | Bottom area of board pages. | Footer message, advertisement, related links, or board notice. |
| Main Top Area | Above the main board content. | Content displayed before the board list, post view, or board body. |
| Main Bottom Area | Below the main board content. | Content displayed after board content, such as notices, links, or ads. |
| Vote Top Area | Above voting or recommendation sections. | Instruction text or promotional content before voting features. |
| Vote Bottom Area | Below voting or recommendation sections. | Additional explanation or related content after voting features. |
| Menu Top Area | Above board menu sections. | Menu header, guide text, category introduction, or custom HTML. |
| Menu Bottom Area | Below board menu sections. | Additional links, guide text, or promotional content. |
| Notice Content | Notice-related content area. | Common notice message or shared notice layout content. |
| Notice Top Area | Above notice sections. | Important message displayed before notices. |
| Notice Bottom Area | Below notice sections. | Additional information displayed after notices. |
| Script | Board pages using this iBoard Core. | Shared JavaScript behavior for board pages. |
| Style Sheet | Board pages using this iBoard Core. | Shared CSS styling for board layouts and components. |
Example: Adding a Banner to All Boards
If you want to display the same banner at the top of all board pages, add the banner HTML to the Top Area.
<div class="iboard-common-banner">
<strong>Announcement</strong>
<p>Please review the latest updates before posting.</p>
</div>
Then add styling in the Style Sheet section if needed.
.iboard-common-banner {
padding: 18px 20px;
margin-bottom: 20px;
border: 1px solid #dbe7f5;
background: #f3f8ff;
border-radius: 12px;
}
.iboard-common-banner strong {
display: block;
margin-bottom: 6px;
}
Example: Adding JavaScript to All Board Pages
If you need common JavaScript behavior for board pages, add it to the Script section.
document.addEventListener("DOMContentLoaded", function () {
console.log("iBoard common script loaded.");
document.querySelectorAll(".iboard-common-banner").forEach(function (banner) {
banner.setAttribute("data-loaded", "true");
});
});
JavaScript added here can affect all board pages using this iBoard Core. Test carefully before applying scripts to production.
Example: Adding a Bottom Advertisement
If you want to display an advertisement below all board content, use the Bottom Area or Main Bottom Area, depending on the desired position.
<div class="iboard-bottom-ad">
<a href="/promotion">
<img src="/iBoard/Media/banner/board-ad.jpg" alt="Promotion">
</a>
</div>
Save Settings
After editing a section, click Save Settings to save the iBoard Core Layout configuration.
| Button | Description |
|---|---|
| List | Returns to the previous list or management screen. |
| Save Settings | Saves the current iBoard Core Layout changes. |
| Create SQL | Creates SQL for backup, migration, or deployment. |
Recommended Workflow
- Decide whether the content should apply to board pages only.
- Open Admin > iBoard > Setting Core.
- Select the layout section that matches the target position.
- Add HTML to layout areas such as Top Area, Bottom Area, or Main Top Area.
- Add JavaScript to the Script section only if common board behavior is required.
- Add CSS to the Style Sheet section for board-specific styling.
- Click Save Settings.
- Open different board pages and confirm that the content appears correctly.
- If the change affects production boards, test with multiple board skins and board types.
Common Use Cases
| Use Case | Recommended Section |
|---|---|
| Show a banner above every board | Top Area |
| Show an ad below board content | Bottom Area or Main Bottom Area |
| Add a message above board lists | Main Top Area |
| Add a notice explanation | Notice Top Area or Notice Content |
| Add common JavaScript behavior | Script |
| Change common board styling | Style Sheet |
| Add content around voting or recommendation features | Vote Top Area or Vote Bottom Area |
| Add content around board menu areas | Menu Top Area or Menu Bottom Area |
Important Notes
- This Core is for iBoard board layouts, not normal page layouts.
- Changes may affect multiple boards at the same time.
- Scripts added here may run on all board pages using this Core.
- CSS added here may override board skin styles.
- Banner and media paths should be checked before saving.
- Some board skins may render layout sections differently.
- Always test with the actual board skin used by the website.
Troubleshooting
| Problem | Possible Cause | Solution |
|---|---|---|
| Content does not appear on the board | The selected board skin may not render that layout section. | Check the board skin and test another section such as Top Area or Main Top Area. |
| Banner image is broken | The image path may be wrong or the file may not exist. | Check the Media Manager and verify the image URL. |
| JavaScript does not work | The script may contain an error or run before the board elements exist. | Use DOMContentLoaded and check the browser console. |
| CSS affects more than expected | The selector may be too broad. | Use more specific class names for iBoard layout elements. |
| Only some boards show the content | Different board skins or board types may render Core sections differently. | Test each board skin and confirm section support. |
Best Practices
- Use this screen only for content shared across board pages.
- Do not put page-specific content here unless it should appear on all related boards.
- Use clear CSS class names such as
iboard-common-banner. - Keep JavaScript small and board-specific.
- Back up existing code before making large changes.
- Test with multiple board types and skins.
- Use Create SQL before deployment if you need a backup or migration script.
iBoard Core Layout Settings are useful when you want consistent board-level content or behavior. Use it for shared board banners, ads, notices, scripts, and styles � not for normal page-level layout editing.