Templates and Design
The Templates and Design module allows administrators to heavily customize the visual functionality and branding of the User Portal. Its primary purpose is to structure the visual layout around your core page content, ensuring the portal accurately reflects your corporate branding and provides a seamless user experience. This article is intended for OPS-COM administrators.
OverviewSetup and Configuration
Configuring your portal's design involves creating a foundational layout and then building specific templates within that layout.
Admin Side:
Creating a Layout
-
Hover over System Configuration and click Templates and Design.
-
Click the Create Layout button located at the top right of the page.
-
Enter a descriptive name for your new layout in the provided field.
-
Click the Save Changes button. The layout will now appear in your Layouts list.
-
Click the Non-Default drop-down menu and select Default if you wish to make this the active layout for your system.
Creating Templates
-
Hover over System Configuration and click Templates and Design.
-
Click Toggle Templates next to your newly created layout to display its available templates.
-
Click the Create button to begin adding specific section templates to the layout, including bilingual support for English and French.
User Side: End-users do not interact with the setup of templates. They will simply view the customized layout when navigating the User Portal system allows your clients to register, add vehicles, purchase permitspermits, andor pay violations.
Using this Feature
The OPS-COM User Portal is ansplit importantinto extensionspecific visual sections using templates. All core text content is added through Pages and Content Blocks, while templates wrap around that content to provide styling and structure.
Template Sections
-
Header: The top of your
business,page containing the header image, logos, andit should reflect your corporate branding.Pages and TemplatesThe OPSCOMprimary userPagenavigation.will -
Content_Header: An upper section to place content, such as alerts or user information, before the
functionalitymainandbody. -
Content: The core content of your
mainpages.page,Thiswhilecannot be added from theTemplatestemplateswillmodulebeand requires you to navigate to the system messaging tools. -
Content_Footer: A lower section appearing after the core content. You can use this to display subsequent alerts, messages, or additional context.
-
Footer: The bottom of your page used to
changeadvertise important information, provide contact details, or display software versioning.
Available Actions & Buttons
-
Toggle Templates: Click this button to instantly display all of the
functionalitysectionoftemplatesyourcurrentlypages as well as the content around the Page.Whereattached toFindaTemplatesspecific layout. -
Edit: Click this button next to a layout or section name to modify its details and
Designsource code. -
Archive: Click
SystemthisConfiguration,Templates & Designbutton toaccesssafelytheseretirefeatures.aAll Default TemplatesIf at any point you feellayout that youhaveareadjustedno longer using without permanently deleting its history.
Default System Templates
If you adjust the Default <scripts> and <styles> to the point of breaking your site, or you are simply unsure what your changes have done, you can refer to thesethe default templates below to quickly restore your pagespage's functionality and style.
UnderstandingBest TemplatesPractices &and Design Considerations
Templates & Designs are the visual functionality of your web page structured around your Page content. OPSCOM provides you with default templates which allow you to get started easily without having to know any code.
OnceyouAvoid
arecomplexoncodethechangeslandingifpage fornon-technical:Templates & Design,you can view a list of your current templates, or create a new one.Templatescontain all of the sections found on yourUser Portalexcept for thePagecontent found in the middle of the page. To adjust this you will have to leave Templates & Design and navigate toSystem Messaging.
OPSCOM gives you a total of 12 section templates, 6 in English and 6 in French. (Of course, you will have to create the French content yourself as we do not provide a translator).
Clicking onToggle Templateswill display all of the sections attached to that template. Templates can be created in English and French.The contents of our pages are split into four separate sections. Header(1),Content Header(2), Content Footer(4), and Footer(5). SeeTemplate Layoutright below this guide to get a better understanding of the OPSCOM layout.To edit a templateSection,simply clickEditnext to the section name.
Template Layout
Below is a visual example of how your Pages are split into Sections using Templates. All of the Content (3) of our Pages are added through the System Messages under Pages.
Header- The header of your page, where you can find your header image and user navigation.Content_Header- Another header section for you to place content into, such as alerts or user information. Everything placed here will appear before the Content and Content Footer.Content- The content of your pages. Content may not be added from Templates & Designand will require you to navigate toSystem Messaging.Content_Footer- The footer of your Content. Everything placed here will appear after the Content Header and Content. Again, you can use this to display alerts, messages, or additional content to your Template.Footer- The footer of your page is where you can find useful information. You can use this area to advertise important information your users might need while using your system.
Page Layouts and Templates
Creating Layouts
To create a layout simply click the Create Layout button found at the top right of the Layouts page.
You will be presented with the Add Layout system message.
Provide the name of your layout. In this example, we are going to create our own Summer Layout to be used, instead of the default layout.ClickSave Changeswhen you are happy with the name of your layout. Once theLayouthas been created, you can see it under the Layouts list.If you wish to cancel the creation of your layout simply clickClose.You can see that ourSummer Layoutwas added to the end of our Layouts Listwith no sections yet.You can choose whether or not your template is theDefaulttemplate at any time by clicking theNon-Defaultdrop-down and selectingDefault.Anytime you add sectionsto your Templates it will display how many are attached next toToggle Templates. As you can see, we don't have anySectionscreated yet so there are no numbers to be displayed, otherwise, clicking onToggle Templateswould show you a list of all the templates currently attached to thatLayout.
7. You can edit the layout name by clicking on the Edit button next to archive.
8. If you would like to archive a layout that you are no longer using, you can click the Archive button next to edit.
Creating Templates
Now that you have a better understanding of how Templates work with Layouts we can start creating our own.
Click on Toggle Templates.Clicking this will display the available Templates attached to theSummer Layout.You can nowCreatea variety of templates for your page, including bilingual support.- If you are non-technical, it is highly advised not to change the raw code for Scripts, Styles,
Header,andFooter Templates. You can use the default Style, Script,Header, and FooterTemplates from All DefaultTemplates.These can still be edited according to your company and their style guides. SeeEdit the Page StyleandInstead,Edit the Page Behaviourbelow for more information.
Edit the Page Style (CSS)
Important
This guide is used if you intend to adjust the Templates provided to you by OPSCOM. If you choose to rewrite your own Templates you can choose to ignore this.
|
|
stability.
Edit the Page Behavior (Scripts)
Disclaimer
Please review the list of supported scripting languages below. If a Javascript vendor is unverified it may break the functionality of your site.
API Integration
Additionally, you can use ourOPS-COM API to integrate with pay stations and other devicesdevices. thatThis will allowallows you to securely grab and display useful information from your users.users directly within your portal templates.







