I am using Movable Type Version: 4.21
I am trying to fetch the Author details based on display name specified as a condition.
The above code support to display only the Author name of the Authors Display name is 'Mathi'. But it displays all the Users in a blog.
How can I get this particular author details by having only display name.
code:
The above code should work fine..
Check this code:
hi sunil,
Thanks for the details. i have only the display name. i needs to fetch the author details from the display name of particular author. do you see any other options here to get the details?
In which template you are using the above code?
I would be curious to hear where are you trying to obtain that result. On what template type.
The coding you've provided:
<mt:Authors display_name="Mathi">
<mt:authorname>
</mt:Authors>
Should work just fine!
You may also like to try:
<mt:Authors id="999">
<mt:authorname>
</mt:Authors>
Where "999" is the user ID for "Mathi"...
i have tried as you said. but it does not work :-(
options 'id', 'display_name' and 'username' both doesnot work in 4.21 version. is something not defined in 4.21 version?