Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Common text areas across 5 pages
JackIntheBox
Hello,
We have 6 pages which share a common piece of text --this is in the form of a textarea which has to be editable by the content contributors. Is there some way to ensure that when content is changed in one place it is changed in the other 5 pages??
Thanks
Find more posts tagged with
Comments
Adam Stoller
Are the 6 pages all 1 DCR?
If so - why not just create one textarea and have the PT replicate it in the 6 places where its needed?
Or are you talking about 6 distinct DCRs all of which need to share common data? (I think that can be done too, but it takes more thinking - and if it's not what you're asking for ...)
--fish
(Interwoven, Curriculum Development)
JackIntheBox
Actually the 6 pages are JSP's and are not templated yet. Each of these pages also has several other editable elements unique to that page. But somehow the content of that one textarea has to be kept in sync with all the other 6 pages -- its a legal disclaimer of some sorts which has to be common!!
I really would appreciate it if you could suggest some tricks of the trade to achieve this!!
Adam Stoller
I hate to say this - but it sounds like a basic SSI would do the trick. Or if you're using a DB with your JSPs - accessing a common table/cell within the DB.
I'm not particularly expert at JSPs - but this doesn't sound like that difficult a situation - perhaps I'm misunderstanding something?
--fish
(Interwoven, Curriculum Development)
Gregg Faus
I'd go with ghoti's first suggestion. Output the textarea field into a server side include file and then use it on your six JSP pages. You wouldn't necessary have to generate the SSI file directly, it could be a byproduct of another generation you do.
I've done this several times with news pages. I've got three pages: article, article index, and a SSI file listing the 10 most recent articles. I generate all of these pages with just one template.
Gregg Faus
- Company39
Bowker
Look up the presentation template perl option of load_dcr. That will give you the option to open more than one DCR within a presentation template thus sharing one DCR amunst multiple output documents.