DevAtlas Viewport and Customization Engine
  • API Overview
  • Documentation Notes
  • Reserved Features
  • Viewport Engine
    • Loading Windows
      • changeViewport()
      • Loading Customization Engine Plugins
    • Account Functions
      • logInAPI()
  • Customization Engine
    • Viewport Window
      • Viewport Window Definition
      • Viewport Window JS Object
      • Viewport Window JSON
    • Sidebar Icon
    • Announcements
Powered by GitBook
On this page
  1. Customization Engine

Announcements

This is a feature only available to registered and approved plugins.

You can make an announcement by placing the following code in the announcements.html file in your plugin's code folder.

<div class="announcement" id="announcement_ID" style="height:195px;">
        <image style="border-radius:5px;width:260px;height:194px;object-fit:contain;" src='path/to/announcement/image.png'></image>
        <h2 style="position:relative;left:280px;top:-220px;width:calc(100% - 275px) !important;">YOUR HEADLINE</h2>
        <p style="position:relative;left:280px;top:-220px;width:calc(100% - 275px) !important;">YOUR BODY TEXT<br><br><span style="color:#30363D;">DATE IN MM/DD/YYYY FORMAT</span></p>
</div>

WARNING: It is SUPER important that you DO NOT edit anything but the text fields in the announcement code!!! There is a lot of CSS work happening to ensure that announcements display properly. Editing the style code will break the announcement.

NOTE: These announcements are displayed in the user's dashboard. In order to keep that area from getting cluttered by various plugins, only approved plugins can use this feature. An application process will be available soon to apply for this feature.

PreviousSidebar Icon

Last updated 4 months ago