Help - Search - Members - Calendar
Full Version: Category Links
Movable Type Community Forum > Additional Resources > Tips and Tricks
kiraboshi
Hi!

I've been going through the documentation and plug ins and such and have yet to find a solution to my simple problem.

I have a site where there are 2 authors. Each of these authors have a category for themselves so visitors can find entries by one of them very easily. What I'd like to do is be able to do something like this:

Author #1 <- and have that as a link to their category index
[x]site
[x]blah

Author #2 <- another category link
[x]blah

I haven't been able to do individual links for these categories, and was wondering how to do this. I can use plug-ins, but don't currently use php.

Thanks!
cathy
QUOTE
I haven't been able to do individual links for these categories, and was wondering how to do this. I can use plug-ins, but don't currently use php.


You don't necessarily need to use php to use plugins.

QUOTE
I have a site where there are 2 authors. Each of these authors have a category for themselves so visitors can find entries by one of them very easily.


So, what you want is a link for each author as their name? Or I'm not understanding what you're asking.
kiraboshi
Yes. When you use the default Category listing code, it gives a list of the categories, ie, the authors' names. I want to have individual links for them so I can add links between the names.
trialanderror
The code to get links to individual entries is

CODE
<MTEntryLink archive_type="Individual">

If you want an href with title anchor text

<a href="<MTEntryLink archive_type="Individual">"><MTEntryTitle></a>


So if you want Entries by author and even category this might work..

CODE
<MTEntries author="Foo" category="Bar">
<a href="<MTEntryLink archive_type="Individual">"><MTEntryTitle>
</MTEntries>


Maybe this is what you are looking for?

t&e
kiraboshi
That seems to work. Not exactly what I was looking for, but I think I can use that.

And so you know. The author's names are also categories, and I wanted to make it so when you clicked the name, you'd be brought to the entries in that category.
girlie
CODE
<MTCategories>
<a href="<$MTCategoryArchiveLink$>"><$MTCategoryLabel$></a><br>
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-2009 Invision Power Services, Inc.