Re: splitting wikiwords in page headings
"Philip J. Hollenback" <[email protected]> Mon, 12 Mar 2012 08:58:02 -0700
| Newsgroups | gmane.comp.web.wiki.phpwiki.talk |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the advice! Unfortunately I just want to split the page title, not the wikiwords on the rest of the page. :( On Mon, Mar 12, 2012, at 04:49 PM, Marc-Etienne Vargenau wrote: > Le 11/03/2012 21:49, Philip J. Hollenback a =E9crit : > > I'm using basically the stock phpwiki-1.4.0 sidebar theme on my website > > www.hollenback.net. I'd like the wikiword title to be expanded into > > regular words. So if you look at > > > > http://www.hollenback.net/FakingItAsAWindowsAdmin > > > > I'd like the largest title to read 'Faking It As A Windows Admin', not > > 'FakingItAsAWindowsAdmin'. > > > > I think I can do this by calling SplitPageName from stdlib.php in the > > appropriate place in my theme template. I messed around with this a > > bit, but I found it broke the backlinks functionality on the page name > > and generated errors in my phpwiki. > > > > Can someone suggest the simplest way to do this? > = > Hello Philip, > = > In file themes/<YourTheme>/themeinfo.php > do a: > $this->setAutosplitWikiWords(true); > = > This will do what you want in the title, but also in the whole > wiki page. > = > Best regards, > = > Marc-Etienne > = > -- = > Marc-Etienne Vargenau > Alcatel-Lucent France, Route de Villejust, 91620 NOZAY, FRANCE > +33 (0)1 30 77 28 33, [email protected] > = > -------------------------------------------------------------------------= ----- > Try before you buy =3D See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Phpwiki-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > = -- = Philip J. Hollenback www.hollenback.net @philiph ---------------------------------------------------------------------------= --- Try before you buy =3D See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2