Last post by augras -
Hi, i didn't find the word "Insert" in any files. It's the Insert to insert a file in the editor : For me it must be in the post.english.php but not ! Thank you for your help, Philippe
Last post by Bloc -
New question..is there a way to add a hook only to be executed when a theme is run? That is, not permanently added.
I'd like to try adding the sidebar code but am a bit lost as to how the theme would be able to integrate with hooks. I don't want to make a mod for this either.
I've seen from the source code that adding Theme.php inside the custom theme apparantly makes Elkarte use that..and that seems to be interesting as a way to customize the theme engine(possibly), but it still calls the Templatelayers.class which seems not be fecthed from anywhere else that Sources anyway.
I am kind of deterred by the fact the subtemplates is not so easily managed by the theme in Elkarte. I mean, I see the reasons for it, but it does limit what a theme could do. You are kind of stuck with the order they are presented in. But I acknowledge that there is probably not a high demand for it ...other than for myself ..so I guess its a non-priority. I'll keep tugging at it until I find a work-around because I think Elkarte is by far the better of all forked SMF scripts, including SMF(2.1) itself.