I'm trying to create a custom Search Results template that matches the look of the index page, etc. I'm stymied about how to eliminate the part of the results that shows the author's icon and when the returned result was posted. Those elements just aren't relevant in this particular case. Where do I find this stuff so I can remove it safely, without messing up the rest of the template?
Thanks...
Reported on Movable Type 4.3
think its a global template module that goes by the name "Userpic". It gets sourced in through the Comment Detail template module, which in turn gets included by Comment Listing.
1. Author's Icon
The author's icon is filled in from the "Userpic" template module. You will have to remove it's reference. I will explain you how to do it.
First let me say that the reply provided by "Web Nomad" above is partly true, in the sense that the "Userpic" module is not provided only on the "Comment Detail" module, but also on the "Entry Metadata" module which is relevant in your case.
Let me guide you on how to get rid of the author's photo on your "Search Results" system template.
When you go to this system template you would see that it includes a module called "Entry Summary", that module itself includes "Entry Metadata" and this one references itself the "Userpic" module.
If you get rid of the "Userpic" module reference from inside the "Entry Metadata" module this change would be applied also to other page types and you may not like that.
So, you could either:
1.1. remove the mt:include coding referencing "Userpic" from "Entry Metadata", but be aware that this change would be reflected also on other page types (main page and entry listing).
1.2. just replace the mt:include coding referencing "Entry Summary" from the "Search Results" system template with the coding from inside the "Entry Summary" (also replacing the mt:include coding referencing "Entry Metadata" with the coding from inside "Entry Metadata" excepting "Userpic").
1.3. a third solution and the easiest for less technical people is to clone "Entry Summary" and "Entry Metadata" and add to the cloned versions the suffix "(Without Author Icon)".
On the "Search Results" system template you would change:
mt:Include module="Entry Summary"
With:
mt:Include module="Entry Summary (Without Author Icon)"
Then on the "Entry Summary (Without Author Icon)" template module you would replace:
mt:Include module="Entry Metadata"
with:
mt:Include module="Entry Metadata (Without Author Icon)"
Finally, on the "Entry Metadata (Without Author Icon)" template module you would REMOVE:
<$mt:Include module="Userpic" userpic_size="36"$>
2) When the returned result was posted
If you've followed the solution 1.3 that I've explained above, you would have to remove the EntryDate tag from the "Entry Metadata (Without Author Icon)" template module.
Thanks! That's very clear and very helpful, and just what I need.
You're welcome and I'm glad it's helpful for you ;)