{"id":1226,"date":"2014-08-11T14:45:38","date_gmt":"2014-08-11T21:45:38","guid":{"rendered":"http:\/\/hellbach.us\/blog\/?p=1226"},"modified":"2023-07-31T22:02:46","modified_gmt":"2023-08-01T05:02:46","slug":"masterpage-template-php","status":"publish","type":"post","link":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/","title":{"rendered":"Masterpage, template for PHP"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:3628,&quot;href&quot;:&quot;http:\\\/\\\/www.smarty.net&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251011220750\\\/https:\\\/\\\/www.smarty.net\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:31:21&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:31:21&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3629,&quot;href&quot;:&quot;http:\\\/\\\/framework.zend.com&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250925165249\\\/https:\\\/\\\/framework.zend.com\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:31:22&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:31:22&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3630,&quot;href&quot;:&quot;http:\\\/\\\/framework.zend.com\\\/manual\\\/en\\\/zend.layout.html&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20120904185900\\\/http:\\\/\\\/framework.zend.com:80\\\/manual\\\/en\\\/zend.layout.html&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:31:24&quot;,&quot;http_code&quot;:500}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:31:24&quot;,&quot;http_code&quot;:500},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3631,&quot;href&quot;:&quot;http:\\\/\\\/stackoverflow.com\\\/questions\\\/1933168\\\/php-equivalent-of-master-page-in-asp-net&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20240424161010\\\/https:\\\/\\\/stackoverflow.com\\\/questions\\\/1933168\\\/php-equivalent-of-master-page-in-asp-net&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:31:25&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:31:25&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3632,&quot;href&quot;:&quot;http:\\\/\\\/stackoverflow.com\\\/questions\\\/10653831\\\/implementing-master-pages-functionality-php&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20160228020902\\\/http:\\\/\\\/stackoverflow.com:80\\\/questions\\\/10653831\\\/implementing-master-pages-functionality-php?&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:31:27&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:31:27&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3633,&quot;href&quot;:&quot;http:\\\/\\\/spinningtheweb.blogspot.com\\\/2006\\\/07\\\/approximating-master-pages-in-php.html&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250218135659\\\/http:\\\/\\\/spinningtheweb.blogspot.com\\\/2006\\\/07\\\/approximating-master-pages-in-php.html&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:36:53&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:36:53&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3634,&quot;href&quot;:&quot;http:\\\/\\\/php.net\\\/manual\\\/en\\\/ini.core.php#ini.auto-prepend-file&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251012113924\\\/https:\\\/\\\/www.php.net\\\/manual\\\/en\\\/ini.core.php&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:36:55&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:36:55&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3635,&quot;href&quot;:&quot;http:\\\/\\\/www.php.net\\\/manual\\\/en\\\/ref.outcontrol.php&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250914203501\\\/https:\\\/\\\/www.php.net\\\/manual\\\/en\\\/ref.outcontrol.php&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:36:56&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:36:56&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:3636,&quot;href&quot;:&quot;http:\\\/\\\/code.google.com\\\/p\\\/phpmasterpages&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20160820022432\\\/https:\\\/\\\/code.google.com\\\/p\\\/phpmasterpages\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-11-19 07:36:57&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2025-11-19 07:36:57&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<ul>\n<li>\n<div><a href=\"https:\/\/web.archive.org\/web\/20220701010537\/http:\/\/hoolihan.net\/blog-tim\/2008\/09\/24\/simple-masterpages-with-php\/\" target=\"_blank\" rel=\"nofollow noopener\">Simple MasterPages with PHP<\/a><\/div>\n<\/li>\n<li>\n<div><a href=\"https:\/\/web.archive.org\/web\/20220522095847\/http:\/\/hoolihan.net\/blog-tim\/2011\/08\/31\/more-on-using-masterpages-layouts-patterns-in-languages-like-php\/\" target=\"_blank\" rel=\"nofollow noopener\">More on Using Masterpages (Layouts) Patterns in Languages Like PHP<\/a><\/div>\n<\/li>\n<li><a href=\"http:\/\/www.smarty.net\" target=\"_blank\" rel=\"nofollow noopener\">Smarty<\/a> Template Engine<\/li>\n<li><a href=\"http:\/\/framework.zend.com\/\" target=\"_blank\" rel=\"nofollow noopener\">Zend Framework<\/a> &gt; <a href=\"http:\/\/framework.zend.com\/manual\/en\/zend.layout.html\" target=\"_blank\" rel=\"nofollow noopener\">Zend_Layout<\/a><\/li>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/1933168\/php-equivalent-of-master-page-in-asp-net\" target=\"_blank\" rel=\"nofollow noopener\">PHP Equivalent of Master page in ASP.NET<\/a><\/li>\n<li><a href=\"http:\/\/stackoverflow.com\/questions\/10653831\/implementing-master-pages-functionality-php\" target=\"_blank\" rel=\"nofollow noopener\">Implementing master pages functionality. PHP<\/a><\/li>\n<li><a href=\"http:\/\/spinningtheweb.blogspot.com\/2006\/07\/approximating-master-pages-in-php.html\" target=\"_blank\" rel=\"nofollow noopener\">Approximating Master Pages in PHP<\/a>\u00a0(You can use <a href=\"http:\/\/php.net\/manual\/en\/ini.core.php#ini.auto-prepend-file\" target=\"_blank\" rel=\"nofollow noopener\">auto_prepend_file and auto_append_file<\/a> together with <a href=\"http:\/\/www.php.net\/manual\/en\/ref.outcontrol.php\" target=\"_blank\" rel=\"nofollow noopener\">output buffering<\/a>.)<\/li>\n<li><a href=\"http:\/\/code.google.com\/p\/phpmasterpages\/\" target=\"_blank\" rel=\"nofollow noopener\">http:\/\/code.google.com\/p\/phpmasterpages\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Simple MasterPages with PHP More on Using Masterpages (Layouts) Patterns in Languages Like PHP Smarty Template Engine Zend Framework &gt; Zend_Layout PHP Equivalent of Master page in ASP.NET Implementing master pages functionality. PHP Approximating Master Pages in PHP\u00a0(You can use &hellip; <a href=\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,2],"tags":[],"class_list":["post-1226","post","type-post","status-publish","format-standard","hentry","category-dev","category-tech"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Masterpage, template for PHP - Hellbach blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Masterpage, template for PHP - Hellbach blog\" \/>\n<meta property=\"og:description\" content=\"Simple MasterPages with PHP More on Using Masterpages (Layouts) Patterns in Languages Like PHP Smarty Template Engine Zend Framework &gt; Zend_Layout PHP Equivalent of Master page in ASP.NET Implementing master pages functionality. PHP Approximating Master Pages in PHP\u00a0(You can use &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/\" \/>\n<meta property=\"og:site_name\" content=\"Hellbach blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-11T21:45:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-01T05:02:46+00:00\" \/>\n<meta name=\"author\" content=\"alex\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"alex\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/\"},\"author\":{\"name\":\"alex\",\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507\"},\"headline\":\"Masterpage, template for PHP\",\"datePublished\":\"2014-08-11T21:45:38+00:00\",\"dateModified\":\"2023-08-01T05:02:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/\"},\"wordCount\":64,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507\"},\"articleSection\":[\"Dev\",\"Technology\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/\",\"url\":\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/\",\"name\":\"Masterpage, template for PHP - Hellbach blog\",\"isPartOf\":{\"@id\":\"https:\/\/hellbach.us\/blog\/#website\"},\"datePublished\":\"2014-08-11T21:45:38+00:00\",\"dateModified\":\"2023-08-01T05:02:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hellbach.us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Masterpage, template for PHP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hellbach.us\/blog\/#website\",\"url\":\"https:\/\/hellbach.us\/blog\/\",\"name\":\"Hellbach blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hellbach.us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507\",\"name\":\"alex\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9868a7f8fd709cd74cf51d978359a3ce66a47a17cd57185a9e1a4774d288e228?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9868a7f8fd709cd74cf51d978359a3ce66a47a17cd57185a9e1a4774d288e228?s=96&d=mm&r=g\",\"caption\":\"alex\"},\"logo\":{\"@id\":\"https:\/\/hellbach.us\/blog\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Masterpage, template for PHP - Hellbach blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/","og_locale":"en_US","og_type":"article","og_title":"Masterpage, template for PHP - Hellbach blog","og_description":"Simple MasterPages with PHP More on Using Masterpages (Layouts) Patterns in Languages Like PHP Smarty Template Engine Zend Framework &gt; Zend_Layout PHP Equivalent of Master page in ASP.NET Implementing master pages functionality. PHP Approximating Master Pages in PHP\u00a0(You can use &hellip; Continue reading &rarr;","og_url":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/","og_site_name":"Hellbach blog","article_published_time":"2014-08-11T21:45:38+00:00","article_modified_time":"2023-08-01T05:02:46+00:00","author":"alex","twitter_card":"summary_large_image","twitter_misc":{"Written by":"alex"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/#article","isPartOf":{"@id":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/"},"author":{"name":"alex","@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507"},"headline":"Masterpage, template for PHP","datePublished":"2014-08-11T21:45:38+00:00","dateModified":"2023-08-01T05:02:46+00:00","mainEntityOfPage":{"@id":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/"},"wordCount":64,"commentCount":0,"publisher":{"@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507"},"articleSection":["Dev","Technology"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/","url":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/","name":"Masterpage, template for PHP - Hellbach blog","isPartOf":{"@id":"https:\/\/hellbach.us\/blog\/#website"},"datePublished":"2014-08-11T21:45:38+00:00","dateModified":"2023-08-01T05:02:46+00:00","breadcrumb":{"@id":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/hellbach.us\/blog\/tech\/masterpage-template-php\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hellbach.us\/blog\/"},{"@type":"ListItem","position":2,"name":"Masterpage, template for PHP"}]},{"@type":"WebSite","@id":"https:\/\/hellbach.us\/blog\/#website","url":"https:\/\/hellbach.us\/blog\/","name":"Hellbach blog","description":"","publisher":{"@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hellbach.us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/9bf1a63e253268c42a6e9db64611c507","name":"alex","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9868a7f8fd709cd74cf51d978359a3ce66a47a17cd57185a9e1a4774d288e228?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9868a7f8fd709cd74cf51d978359a3ce66a47a17cd57185a9e1a4774d288e228?s=96&d=mm&r=g","caption":"alex"},"logo":{"@id":"https:\/\/hellbach.us\/blog\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/posts\/1226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/comments?post=1226"}],"version-history":[{"count":0,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/posts\/1226\/revisions"}],"wp:attachment":[{"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/media?parent=1226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/categories?post=1226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellbach.us\/blog\/wp-json\/wp\/v2\/tags?post=1226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}