This is simple repository to share the front-end code for a custom designed homepage that we built for our IT Help Center using the TeamDynamix TDClient portal application.
In order to make the needed changes to the homepage of your TDClient portal application, you will need an system administrator account with the permission Create/Modify Unsanitized HTML Modules enabled (see the TeamDynamix documentation HTML Content Allowlists). If you do not have this permission, please contact your system administrator to enable it or contact TeamDynamix Support to request access.
The code included in this repository is a template for your own TDClient portal application. We've used double curly brace {{variable}} syntax to make it easier to replace the values with your own. You'll need to replace each of these placeholders with actual values when implementing the Search Bar, Homepage, and Footer.
Many of the UI components use fonts/icons from Google Fonts and Font Awesome. The ones we used are included in the code already, replace them with your own if you want to use different ones. Those components are under their respective copyrights. We are not responsible for any issues that may arise from using these components.
- Obtain your Client Portal Application variables from TDAdmin
- Get your specific search bar code from TDClient
- Go to your TDClient portal application in your browser
- On the page, right click and select "Inspect"
- Inspect the default search bar code (see image below)

- Find your unique
IDfor the search bar in the HTML code, typically looks likeSiteSearch-xxxxxxxxxin the class namepull-left topLevelSearch input-group. This is yourSearch Bar ID. - Copy just the unique
IDstring that is trailingSiteSearch-and save it for later
- When done, you should have the following variables:
Client Application IDPartial URLSearch Bar ID
- Clone this repository
git clone https://github.com/BYUI-Information-Technology/TDClient-Portal.git
-
Open the
index.htmlfile in the cloned repository -
Replace the following variables in the
<script>tag with your own:Client Application IDPartial URLSearch Bar ID<script> $(function () { var siteSearch = new TeamDynamix.SiteSearch({ searchUrl: "/TDClient/{{Client Application ID}}/{{Partial URL}}/Shared/Search", enableAutocompleteSearch: true, autocompleteSearchUrl: "/TDClient/{{Client Application ID}}/{{Partial URL}}/Shared/AutocompleteSearch", searchTextBoxSelector: "#SiteSearch-text-{{Search Bar ID}}", searchComponentFilterButtonSelector: "#SiteSearch-filter-{{Search Bar ID}}", searchButtonSelector: "#SiteSearch-button-{{Search Bar ID}}", searchFilterDropdownSelector: "#SiteSearch-dropdown-{{Search Bar ID}}", showKnowledgeBaseOption: true, showServicesOption: true, showForumsOption: false, autoFocusSearch: false, containerExtraWidth: 0 }); }); </script>
- Replace the
search-containerHTML element,IDwith your own#SiteSearch-text-{{Search Bar ID}} - Replace the
button-tileHTML elements with your own links such as:Submit Ticket- Standard ticket request form linkView My Tickets- My Tickets page linkSystem Status- System Status (if applicable)Ask Question- Ask Question page linkKnowledge Base- Knowledge Base page link
- Replace the
support-optionstiles with your own links such as:Call Us- Phone number link (usestel:protocol)Chat- Chat link (if applicable)Email- Email link (usesmailto:protocol)
- Replace the
business-hourstext with your own business hours - Save the file
- Preview the changes (if using an IDE, you can preview the changes by clicking the "Preview" button)
The code for the footer is located in the footer.html file. We've used double curly brace {{variable}} syntax to make it easier to replace the values with your own. You'll need to replace each of these placeholders with actual values when implementing this footer in your application.
- Open the
footer.htmlfile in the cloned repository - Replace the following variables in the
footercontainer with your own:Organization NameAddressHome Page LinkSite Policies LinkContact Us LinkAbout LinkFacebook LinkInstagram LinkWhatsApp LinkYear
- Go to TDAdmin > Applications > Select the Client Portal Application > Modules & Pages > HTML Modules > + New
- Select
Client Portalfrom theCategorydropdown - Provide a new page name (such as "Main Content")
- Click the
Sourcebutton in the content editor - Copy and paste your updated
index.htmlfile content into the source editor - Deselect
Show Border,Show Name, andSanitize Content - Click the
Savebutton
- Go to TDAdmin > Applications > Select the Client Portal Application > Modules & Pages > Pages > + New
- Provide a new page name and description (such as "Home") and click the "Save" button
- Open the
Contenttab after saving - Click
Edit Layoutand select100%layout option - Drag and drop the new HTML module into the layout
- Click the
Savebutton
- Go to TDAdmin > Applications > Select the Client Portal Application > Settings > Client HTML Footer
- Deselect the
Use Default Client Footercheckbox - Click the
Savebutton
This project was created as a public repository by engineers at Brigham Young University-Idaho. For more open source projects, please visit our GitHub Homepage.
