[dokuwiki] Re: Name of page as title
- From: Spinodo - Charles Mougel <charles.mougel@xxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Mon, 30 May 2005 23:28:10 +0200
Koen Huybrechts a écrit :
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
I'm agree, I want to show the only last word too... And it's not easy.
For the [[ and ]] , I've juste deleted them in the correct php file...
Charles.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Name of page as title
- From: Koen Huybrechts
- [dokuwiki] Re: Name of page as title
- From: Andreas Gohr
- [dokuwiki] Re: Name of page as title
- From: Koen Huybrechts
Other related posts:
- » [dokuwiki] Name of page as title
- » [dokuwiki] Re: Name of page as title
- » [dokuwiki] Re: Name of page as title
- » [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
I'm agree, I want to show the only last word too... And it's not easy. For the [[ and ]] , I've juste deleted them in the correct php file...
- [dokuwiki] Name of page as title
- From: Koen Huybrechts
- [dokuwiki] Re: Name of page as title
- From: Andreas Gohr
- [dokuwiki] Re: Name of page as title
- From: Koen Huybrechts