Not logged in. · Lost password · Register
Forum: General Help and Support Syntax and Usage RSS
How to insert same text in different pages
Avatar
gliderman #1
Member for 2 months · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: How to insert same text in different pages
Hello,
a very simple question but I couldn't find the answer in the forum.
I have a bunch of pages starting with exactly the same text. How to refer to this text to avoid copying it hard in all the pages ?
Thanks, G
Avatar
pop (Moderator) #2
Member since Nov 2016 · 221 posts · Location: near Basel. Switzerland
Group memberships: Global Moderators, Members
Show profile · Link to this post
Have a look at the include plugin. There's also a plugin which I believe is snippets
Avatar
turnermm (Moderator) #3
Member since Oct 2009 · 4755 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
In reply to post #1
I think you might find the textinsert plugin convenient for this kind of task: https://www.dokuwiki.org/plugin:textinsert
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
gliderman #4
Member for 2 months · 3 posts
Group memberships: Members
Show profile · Link to this post
I've adopted the include plugin which perfectly doesn't the job. I 've tested the textinsert plugin, which for simple uses does the same as 'include'. Many thanks, G
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: 2020-01-18, 06:52:56 (UTC +01:00)