About Custom Templates
PreviewWhat are custom templates?
Partner Custom Templates (PCT) are IDX Broker’s way of allowing you to create your own templates for details pages, search results, rosters and more, all while using the same templating language we do – twig.
This system, a template engine for PHP, lets you create custom templates in PHP without having mastered fluency with the programming language. Still, some level of comfortability will help. The templates you code within the IDX Broker Partner UI can make your work simple and your results repeatable, saving you some time by being able to reuse and/or repurpose your own work for multiple clients.
Note, there is no drag-and-drop UI or wizard at this time; however, “starter example templates” are provided and you can find other examples here.
Before you begin: HTTPS is required on any client level account you would like to preview in the template editor.
Twig fiddle is also a good resource for experimenting with twig.
Quick variables reference for templates:
- Details Page
- Map Search Page
- Address Search Page
- Listing ID Search Page
- Basic Search page
- Advanced Search Page
- Roster Page
Why create custom templates?
Simply put, you can save time and give your clients a true “custom fit” experience, built exclusively by you!
While we have default templates available for your use, you may opt to expand the functionality or design of the “regular” IDX Broker page experience. You can create, store, and access these templates in client accounts that carry your specific DevPartner code.
Requirements and things to remember
- This is for IDX Broker Partners ONLY. Clients will not be allowed to create templates.
- IDX Broker will support the templating system; however, the functionality and custom work you apply to your clients’ sites will not be supported.
- Versioning is not completely supported at this time. We will make every attempt to ensure as much compatibility as we can.
- Once you create a template, it will be available for all your clients. At this time, there is no functionality to limit template availability by account ID.
- IDX Broker will not be involved in any disputes over templates.
- HTTPS is required on any client level account you would like to preview in the template editor.
Support
IDX Broker will expect you to support your custom template. Any questions from clients will be sent to the developer of the custom template. Any bugs with the underlying IDX system can be addressed via normal developer email support.