Geebo Posted October 1, 2021 Posted October 1, 2021 Hi, I can't seem to find where to edit the url for the links site1name etc in the header. I've changed the text, but how to change the url? Quote
Tech Support Posted October 1, 2021 Posted October 1, 2021 Please go to Website UI -> Language files -> default and find these lines: header.network_name = header.network_sites.1.name = Site1name header.network_sites.1.link = http://google.com header.network_sites.2.name = Site2name header.network_sites.2.link = http://google.com These are where you can edit name and URL, and also you can easily add more items by using number 3, 4 and etc. Quote
HakaVelli Posted October 7, 2021 Posted October 7, 2021 Could you show us what code to add so the link is opened in a new window? @Tech Support Quote
Tech Support Posted October 7, 2021 Posted October 7, 2021 In Website UI -> Page components -> include_header_general.tpl find this block: {{foreach item="item" from=$lang.header.network_sites}} <li><a href="{{$item.link}}">{{$item.name}}</a></li> {{/foreach}} And add target="_blank" attribute into A tag: {{foreach item="item" from=$lang.header.network_sites}} <li><a href="{{$item.link}}" target="_blank">{{$item.name}}</a></li> {{/foreach}} Quote
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.
Note: Your post will require moderator approval before it will be visible.