#known 2021-11-14
2021-11-14 UTC
[schmarty], pchinjr, kimberlyhirsh[d], sayanarijit[d] and MarkJR84[d] joined the channel
#
Seb[d] jeremycherfas: I have no experience with Known, but this seems to be *a* file with headers https://github.com/idno/known/blob/41335c968b4639a6a10dc36c48cc9c19b07743ad/templates/default/shell.tpl.php
#
Seb[d] and if I read line 26 correctly, it also renders other files there, so I think you can just create a template file as `shell/head.tpl.php` and then use that? seems like that would be included there.
#
Seb[d] It does not exist in the repo so I think that's the way you are supposed to do it, as a hook of sorts.
#
Seb[d] does that help?
#
jeremycherfas Maybe. But there are definitely other templates that do contain information that ends up in the head. I'll have to keep digging, I think, but that is a good clue.

#
jeremycherfas So many of the templates that it calls to dra just are not there in my install. I suppose they must be present in other themes.

#
Seb[d] Ok but does the `head.tpl.php` exist in your theme?
#
Seb[d] if not, try creating that file and putting the tag you want to add in that file (just that tag alone is fine it seems).
#
jeremycherfas It is in a bunch of plugins, and some themes but not, as far as I know, in my current theme. But it must be, somewhere.

#
[KevinMarks] There is a ux for this, hang on, let me look

#
Seb[d] like I said: I would try creating that file in your theme and see if that solves it.
#
Seb[d] Oh that's even better.
#
jeremycherfas I currently use the Solo theme.

#
[KevinMarks] Under site configuration/custom javascript there's a box called "header code"

#
jeremycherfas Interesting; I do not have custom javascript under site configuration.

#
jeremycherfas I'll check my plugins. Maybe I don't have it enabled.

#
[KevinMarks] Hm. I'm on hosted known, maybe that's a different build

#
jeremycherfas Maybe. I have a custom CSS plugin, but that's clearly not it. No custom javascript.

#
Seb[d] 'solo theme known' is very hard to DuckDuckGo... but here's one that says it's based on it, and indeed, it added a head.tpl.php:
#
[KevinMarks] I'm using solo 1.0

#
jeremycherfas Everything about Known is hard to DDG!

#
jeremycherfas Lunchtime, so I'm going to take a break. Thanks.

#
jeremycherfas Seb[d]++ [KevinMarks]++

#
jeremycherfas I looked at all the bundled themes, and they use head.tpl.php to load the stylesheet and sometimes fonts and background images. There is one in Solo, I was looking in the wrong place. So I'm going to have a play with that.

#
jeremycherfas Yup, that's the solution. Edit `Themes/Solo/templates/default/solo/shell/head.tpl.php`

#
jeremycherfas There is a plugin, linked from /Aperture

MarkJR84, jamietanna, [chrisaldrich], barryf[d] and grantcodes[d] joined the channel