Help - Search - Members - Calendar
Full Version: Bizzare Problem With Dynamic Publishing And Tags
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
Milohoss
This one is really blowing my mind:

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>


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>


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?
Milohoss
Actually, if anyone knows a better way to pull the *oldest* post from a particular author, that would work too! But this problem is so profoundly upsetting, I'd love to find a way to solve if as it probably indicates problems elsewhere!
Milohoss
In case anyone's curious - the problem came down to a single tag - one with a slash in it "/"

That single tag caused the whole problem. I also discovered that single numbers like "8" as a tag cause problems too. This has been reported.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.