Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Is it possible to add a custom bit of html to every template that I want to add it to?

Quote Reply
Is it possible to add a custom bit of html to every template that I want to add it to?
Hi,

Is it possible for me to write out some html coding in one file (let's call it custom1.html) and somehow include that in every template that I want to include it in by calling it in by like maybe <%include custom1.html%>?

My thoughts on this is that I have many template pages in Links sql that reuse the same html coding and it's quite extensive. What I'd like to be able to do is to only change the contents of the custom1.html page and have that included in the (details.html, modify_success.html etc) template pages, instead of having to cut and paste it into each template that uses the same bit of html coding.

Would this be possible without some elaborate plugin?

Thanks,
Subject Author Views Date
Thread Is it possible to add a custom bit of html to every template that I want to add it to? Westin 2688 Jun 2, 2009, 4:01 PM
Post Re: [Westin] Is it possible to add a custom bit of html to every template that I want to add it to?
Westin 2549 Jun 2, 2009, 5:30 PM
Post Re: [Westin] Is it possible to add a custom bit of html to every template that I want to add it to?
Andy 2556 Jun 2, 2009, 11:21 PM