David M 2 Posted August 24, 2021 Share Posted August 24, 2021 Where are the site builder .tpl files called, and where are they located ? I successfully added some <script> to the standard blog pages via: blog/blog_post.tpl But cant seem to find the equivalent .tpl files for site builder pages. Quote Link to post Share on other sites
Forum Support 5 Posted August 25, 2021 Share Posted August 25, 2021 site builder locks are all dynamic. you can edit the main tpl files for it in /application/views/site/site_pages/default_site_builder.tpl Quote Link to post Share on other sites
David M 2 Posted August 26, 2021 Author Share Posted August 26, 2021 Thanks for the location of: default_site_builder.tpl However, it does not look like the correct .tpl file for adding script files to a Site Builder generated page. By comparison, to add script to a non-site builder page, it can be done via Admin Menu / Design Layout / Layouts and Themes / Templates Manager / Site Pages / site_page.tpl OR Blog / blog_post.tpl In this case adding script files that enable VideoJS such as: <link href="{{base_url}}videojs/skins/videojs.min.css" rel="stylesheet"> Where would I find the appropriate Site Builder page .tpl file (or equivalent) to add such scripts ? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.