Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: ConfusedToday on November 30, 2021, 04:02:38 PM

Title: Add code linking to SSL certificate on log-in page
Post by: ConfusedToday on November 30, 2021, 04:02:38 PM
I'd like to insert code on the log-in page to show a secure site. The code links to a https page (to grab a small banner). I'm looking through the SMF files, but having trouble finding the correct page. Do you have any ideas?
Title: Re: Add code linking to SSL certificate on log-in page
Post by: Kindred on November 30, 2021, 04:16:21 PM
the login page is  built from a function within Login.template.php -- but that is only PART of the page contents. The surrounding page itself (e.g. all the stuff that stays the same from page to page) is generated in index.template.php.
Title: Re: Add code linking to SSL certificate on log-in page
Post by: ConfusedToday on November 30, 2021, 05:42:12 PM
Thanks! Got it working.