I just discovered that it’s impossible to make a dynamic schema with the new “Module into Module” schema. In fact, each page is built statically, no matter if there’re dynamic code included among the templates.
I love to do examples to make better understand what I say:
Let's say there're 1 entries and 1 comment.
Previous MT versions:
"Main Index" includes "Recent_entries"
"Indidivual Entry" includes "Recent_entries"
Recent_entries is is a snippet-code in MT language, rebuilt each time and outputting to "Recent_entries.shtml".
One entry more is published, and 1 comment done.
Result:
dynamic code is executed. "Main Index" shows now 2 entries, 2 comments.
As all entries that show 2 entries, 2 comments
MT 4.x:
"Template" includes "other-Template" that includes "Recent_entries"
Result:
dynamic code is NOT executed. "Main Index" shows 2 entries, 1 comments.
All entries show 1 entries, 1 comments.
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.
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. )
This is amazing. Not, it’s terrific. I hope I’m missing something!
Reported on Movable Type 4.2
...