I have some author archives for which I use smarty to pull author names. They look like this:
http://www.treehugger.com/authors/index.php?author=lloyd (for example)
They work great for the most part, except that I'm attempting to have the very first entry on the page be a particular post, tagged "first", which contains the authors bio. Right now I have temporarily used the most recent post, followed by 15 more, etc...
The trouble is, when I use tagging in conjunction with MTEntries on a dynamic page, I either get ignored, or get a bizarre error stating "unknown modifier 'c' "
For example - a dynamic template with *only* the following code:
CODE
<MTEntries author="`$smarty.request.author`" tag="first" lastn="5">
<$MTEntryBody$>
</MTEntries>
<$MTEntryBody$>
</MTEntries>
EXAMPLE - http://www.treehugger.com/authors/test.php?author=jessicar
...skunks me straight to that error.
If I remove the tag part then it works just fine.
Similarily, if I try another approach, such as:
CODE
<MTEntries author="`$smarty.request.author`">
<MTEntryIfTagged tag="first">
<$MTEntryBody$>
</MTEntryIfTagged>
</MTEntries>
<MTEntryIfTagged tag="first">
<$MTEntryBody$>
</MTEntryIfTagged>
</MTEntries>
Then the tagging part just seems to get ignored and nothing appears on the screen at all.
To make matters even more bizarre, I have created a new dummy blog and the all of the above works corectly as expected. Therefore, there is something deep in the bowls of this particular blog that is mucking things up. I have already opimized and repaired the db, I have set the .htaccess file back to default, I have punched the wall, and nothing seems to bring normal tagging behavior back to the dynamic templates.
Anyone got a clue where else to look?