Not logged in. · Lost password · Register
Forum: General Help and Support Plugins RSS
custom page titles [solved]
Avatar
radiotime #1
Member since Apr 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: custom page titles [solved]
Hi all,

One of the ugly requirements for a doku install I'm setting up is that any given page must be capable of rendering a title that might be different from both the first heading and/or the ID of the page.  Ideally I'd write a syntax plugin that would allow page editors to add something like <customtitle>Custom Title</customtitle>, but because rendering of the HTML head block is in main.php of templates, I wouldn't have the data available to display.

Is it possible to write a plugin that will save custom metadata on page edit based on syntax in the markup?  Or is there a better way?

Apologies in advance if this is covered elsewhere; I couldn't find anything quite on it.
This post was edited on 2007-04-19, 17:27 by radiotime.
chi #2
Member since Jun 2006 · 1851 posts · Location: Munich Germany
Group memberships: Members, Super Mods, Wiki Managers
Show profile · Link to this post
See http://wiki.splitbrain.org/plugin:meta
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
radiotime #3
Member since Apr 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Perfect!  I had to fix a typo in the plugin, but otherwise it does the job splendidly.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-22, 03:12:48 (UTC +02:00)