4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2018, 09:44:54 PM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Discussion & Troubleshooting (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  How do I call a custom template inside another?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: How do I call a custom template inside another?  (Read 108 times)
hismaimai7777
Pre-Newbie

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


View Profile
« on: November 27, 2018, 07:43:36 AM »

For example, let's say I have a custom template, "bitofcode.html" , in my templates folder with a bit of code that I would like to include on other pages using a variable like {bitofcode} .

This way when "bitofcode" needs updating I can do it easily at bitofcode.html instead of fussing with the multiple templates I am displaying it on.

How to? Thanks!
Logged

hello everyone i'm new,Have a nice day!!!!
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.06 seconds with 19 queries.