my17560 / dokuwiki-template-readthedokus

"Read the Docs" flavored DokuWiki template
MIT License
14 stars 11 forks source link

footer and header not showing up #10

Closed fthommen closed 3 years ago

fthommen commented 3 years ago

Hi,

I have created a footer.html and a header.html in _dokuwikiroot/lib/tpl/readthedokus/. They read

<h1>HEADER</h1>

and

<i>FOOTER</i>

respectively. However on the page these two elements don't show up, while the content of pagefooter.html (reading <i>PAGEFOOTER</i>) does:

readthedokus_no_header_or_footer

I must add, that we don't use the template as a general template. Instead we plan to use it via the loadskin plugin only for one specific namespace. I.e we can't directly configure the "Template Style Settings" in the Admin panel. But in case the issue is related to these configurations, then there is perhaps a way to configure them otherwise? I wouldn't mind changing the settings directly in the plugin code, but I don't know where :-)

my17560 commented 3 years ago

Hi!

As you noticed you need to set header/footer height in "Template Style Settings". You can also change these settings directly by editing a file "(dokuwiki folder)/conf/tpl/readthedokus/style.ini". However if you can't access "Template Style Settings", you might not find the file. Then you need to manually create above file and paste below.

[replacements]
__height_header__ = "50px"
__height_footer__ = "50px"

These settings should open up header and footer space 50px respectively. Change those heights as you want.

fthommen commented 3 years ago

Thanks a lot!