Since the last request for technical assistance was a resounding success, I’m hoping to duplicate the feat. The current question involves a moderately advanced (or at least, beyond my current skill) movable type question and a bit of HTML (the query string function). Here goes:
We currently have a lot of authors, and we’re getting a lot of guests. Right now individual author and guest pages have to be made by hand. The particularly annoying one is the guest page, which right now is coded:
. . .a bunch of coding for Ady’s entries. . .
. . .identical copy of the posting code . . .
. . .yet another identical copy of the posting code . . .
and so forth. This means that the guest page needs to be updated every two weeks, that I have to copy and paste the full MT post code (a page of code), modify it for the new guest author, and so on.
It dawned on me that, if I could get the MTEntries tag to work properly with a Query String function, it would make a lot of my work go away. (Also, it would cut down on the size of the guests page, which is getting miles and miles of identical code for each new guest).
I’m hoping for some way to do this; I don’t know enough about MT to make it work at the moment. Here is what I would like to eventually accomplish:
I’m hoping for a web address like:
to translate into MTEntries author=”nate” on a PHP index page designed for individual authors posts. Once it’s set up (if it works), the same page would work for all of the authors (with different query strings resulting in different author= values). After that, I’ll just have to update links, which will be so much easier.
So, my current needs are:
1. How to get a value into the MTEntries field. All of my current attempts, I’m embarrassed to say, have resulted in MT thinking that I was looking for an author named “value” rather than the variable I was trying to assign to “value.” (That is, I’ve tried typing “author_value = ‘adam’” in various places and then entering “MTEntries author=’author_value’”; every time so far, MT has thought the I want it to display posts by a person named author_value).
2. I can probably figure out query string rules (I hope), but any tips on that are also appreciated.
EDIT: I originally posted this with the > and < that MT puts into its code but they didn’t post properly, so they have been removed.