[dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: "sports tg" <sportstg@xxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 30 May 2006 23:31:57 +0100
On 26/05/06, Chris Smith <chris@xxxxxxxxxxxxx> wrote:
sports tg wrote:
> I use the following hack to get rid of underscores in file names (though
> they still show in folder names),
>
> file: /inc/parser/xhtml.php
> function: _simpleTitle() (~ line #890)
>
> change the last line of the function from
> return $name;
> to
> return str_replace("_"," ", $name);
>
> Would it be possible to achieve this with a plug-in rather than with
this
> hack?
>
Links are tricky and probably more effort than they are worth. I think
I have done the same thing as you. The "use first heading" config
setting is a better option.
Thanks Chris. I tried adding
$conf['useheading'] = 1;
to my local.php but it did not do what was suggested in the help. Perhaps
the above hack effects it.
Cheers, Tom.
- Follow-Ups:
- References:
- [dokuwiki] Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Hacking to recognise line break?
- From: Terence J. Grant
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: Chris Smith
- [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: sports tg
- [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: Chris Smith
Other related posts:
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- » [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
sports tg wrote: > I use the following hack to get rid of underscores in file names (though > they still show in folder names), > > file: /inc/parser/xhtml.php > function: _simpleTitle() (~ line #890) > > change the last line of the function from > return $name; > to > return str_replace("_"," ", $name); > > Would it be possible to achieve this with a plug-in rather than with this > hack? > Links are tricky and probably more effort than they are worth. I think I have done the same thing as you. The "use first heading" config setting is a better option.
- [dokuwiki] Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: sports tg
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Hacking to recognise line break?
- From: Terence J. Grant
- [dokuwiki] Re: Hacking to recognise line break?
- From: Chris Smith
- [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: Chris Smith
- [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: sports tg
- [dokuwiki] Re: Line break plugin (formerly hacking to recognise line breaks) also (single line breaks)
- From: Chris Smith