<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html" />
  <link rel="self" type="application/atom+xml" href="http://forums.movabletype.org/atom.xml" />
  <id>tag:forums.movabletype.org,2009://24/tag:forums.movabletype.org,2009://24.12044-</id>
  <updated>2009-11-28T12:32:18Z</updated>
  <title>Comments for This is terrific?</title>
  
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.25</generator>
  <entry>
    <id>tag:forums.movabletype.org,2009://24.12044</id>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.movabletype.org/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=24/entry_id=12044" title="This is terrific?" />
    <published>2009-01-13T21:06:21Z</published>
    <updated>2009-01-13T22:11:20Z</updated>
    <title>This is terrific?</title>
    <summary>I just discovered that it&#8217;s impossible to make a dynamic schema with the new &#8220;Module into Module&#8221; schema. In fact, each page is built statically, no matter if there&#8217;re dynamic code included among the templates. I love to do examples...</summary>
    <author>
      <name>Luciano G.</name>
      <uri>http://www.lucianogiustini.org</uri>
    </author>
    
    <category term="Design, Templates, &amp; Tags" />
    
    <content type="html" xml:lang="en" xml:base="http://forums.movabletype.org/">
      <![CDATA[<p>I just discovered that it&#8217;s impossible to make a dynamic schema with the new &#8220;Module into Module&#8221; schema. In fact, each page is built statically, no matter if there&#8217;re dynamic code included among the templates.</p>

<p>I love to do examples to make better understand what I say:</p>

<p>Let&#8217;s say there&#8217;re 1 entries and 1 comment. </p>

<p>Previous MT versions: 
    &#8220;Main Index&#8221; includes &#8220;Recent<em>entries&#8221; 
    &#8220;Indidivual Entry&#8221; includes &#8220;Recent</em>entries&#8221;
    Recent<em>entries is is a snippet-code in MT language, rebuilt each time and outputting to &#8220;Recent</em>entries.shtml&#8221;.</p>

<p>One entry more is published, and 1 comment done.
Result:
    dynamic code is executed. &#8220;Main Index&#8221; shows now 2 entries, 2 comments.
    As all entries that show 2 entries, 2 comments </p>

<p>MT 4.x: 
    &#8220;Template&#8221; includes &#8220;other-Template&#8221; that includes &#8220;Recent_entries&#8221;</p>

<p>Result:
    dynamic code is NOT executed. &#8220;Main Index&#8221; shows 2 entries, 1 comments. 
    All entries show 1 entries, 1 comments.</p>

<p>In other words, only the page interested by a rebuild show the changes. All other pages remains unchanged because they not include the Recent_entries.shtml file. </p>

<p>The only way with the new MT  having own website updated, is to rebuild whole website each time! 
(In my blog, it means  wait 1 hour each time I post an entry. )</p>

<p>This is amazing. Not, it&#8217;s terrific.  I hope I&#8217;m missing something! </p>
]]>
      

    </content>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12044-comment:16270</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12044" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html#c16270" />
    <title>Comment from Mike T on 2009-01-13</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>You are missing something. I explained this in the previous post you did about this issue, and how to get around it. I explained how to do this with PHP, and why using &lt;mt:Include&gt; will not meet your needs if what you said is true about it not generating the proper SHTML or PHP include statements.</p>]]>
    </content>
    <published>2009-01-13T21:11:59Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12044-comment:16274</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12044" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html#c16274" />
    <title>Comment from Luciano G. on 2009-01-13</title>
    <author>
        <name>Luciano G.</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>No, the fact is that I cannot explain properly what happen, and you don't understand, in my sensation. The shtml file do CONTAINS the 2 entries and the 2 comments correctly! Instead, the index, the entries, etc etc, are built statically: they keep on reporting 1 entries and 1 comment until I rebuild them!</p>

<p>I apologize. Now I will graphical a little UML diagram to render what I want to say... :)</p>]]>
    </content>
    <published>2009-01-13T21:26:43Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12044-comment:16278</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12044" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html#c16278" />
    <title>Comment from Mike T on 2009-01-13</title>
    <author>
        <name>Mike T</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>The only reason why they would report that is if they aren't properly loading your SHTML file, such as would likely be the case if &lt;mt:Include&gt; is not generating the right statements for loading the SHTML file.</p>]]>
    </content>
    <published>2009-01-13T21:31:35Z</published>
  </entry>

  <entry>
    <id>tag:forums.movabletype.org,2009://24.12044-comment:16282</id>
    <thr:in-reply-to ref="tag:forums.movabletype.org,2009://24.12044" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html"/>
    <link rel="alternate" type="text/html" href="http://forums.movabletype.org/2009/01/this-is-terrific.html#c16282" />
    <title>Comment from Luciano G. on 2009-01-13</title>
    <author>
        <name>Luciano G.</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>()<br />
(http://www.lucianogiustini.org/misc/uml-mt.png)</p>]]>
    </content>
    <published>2009-01-13T22:11:20Z</published>
  </entry>

</feed>
