4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 14, 2018, 11:30:03 PM

Login with username, password and session length
Search:     Advanced search
Follow 4images on twitter: Click here to follow!
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 196 times)
hismaimai2000
Pre-Newbie

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« on: September 20, 2018, 08:57:03 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

Dịch vụ  *Link Removed*  tận tâm công ty  *Link Removed*  chuyên nghiệp
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.174 seconds with 19 queries.
Post your comments here