ElkArte Community

Project Support => Support => Topic started by: 8v_Chris on May 11, 2020, 12:30:51 pm

Title: Where is the code controlling the header?
Post by: 8v_Chris on May 11, 2020, 12:30:51 pm
I would like to add a pair of thumbnails that will link to various social media profiles and would like to place them in the header beside the search bar. Which file should I be looking at to this? I was expecting to find a header.php the same as PHPBB as thats my background but can't seem to find the right file. Thanks!
Title: Re: Where is the code controlling the header?
Post by: badmonkey on May 11, 2020, 12:55:43 pm
/themes/index.template.php 


Alternatively, there are a couple of existing addons that could be used to achieve this as well. Simple Ads, while geared toward displaying ads obviously, simply injects code at the selected location. And it's hook based to boot, so "changes" survive upgrades gracefully. Or, Simple Portal opens a whole new world for modding a site. Just a couple of things to consider. ;)