[dokuwiki] Re: Name of page as title

Andreas Gohr wrote:

Hi!



Is it possible to show the name of the page (to which you link) as the
first title of the page when printing on paper? Because I have 150 wiki-pages I have to print (to learn) and I don't want to change them all to add a title. I want neither make the change in the config-file (useheading) because then, I also have to make 150 changes...(and I think a lot more, bewause I also have to change links)



I'm not sure I understood that correct but you should get what you want by modifying the print.css file.

Change the last line from

.toc, .footerinc, .header, .bar, .user {display:none}

to something like this

.toc, .footerinc, .bar, .user {display:none}
div.logo {display:none; width:0}
div.pagename {font-size: 160%; font-weight: bold;width:100%;text-align:center}


Andi


You understood it very well!!!!!!!!

I added it to tpl/sidebar (print.css) and it works. Is it possible only to show the last words (not the whole tree??) and delete the [[ and ]]...
But this is for an other time, for know, you did help me very well...


Wouldn't this be a feature Dokuwiki needs for standard?? Any opinions?

Thanks a lot,

koko

Other related posts: