Help - Search - Members - Calendar
Full Version: Category Icons not working
Movable Type Community Forum > Additional Resources > Tips and Tricks
medic119
I am trying to enable Category icons
the code I use is
CODE
<IMG SRC="http://www.seadoc.net/sd/icon/<$MTEntryCategory$ dirify='1'>.gif" alt="<$MTEntryCategory$>" border=0>


When I rebuild I don't have any errors and the code is inside the correct container

When I view the page I get an icon Placeholder but no GIF.
Viewing the source gives:
CODE
<IMG SRC="http://www.seadoc.net/sd/icon/<$MTEntryCategory$ dirify='1'>.gif" alt="Perspective" border=0>


MT is parsing the ALT tage but not the SRC tag

Any help??
medic119
never mind.  I found the error.
For the future:
CODE
<$MTEntryCategory$ dirify='1">
needed to be
CODE
<$MTEntryCategory dirify='1"$>


stupid typos
kadyellebee
Yes, your $ needed moving, but you also should have double quotes " on both sides of the 1 - like this:

CODE
<$MTEntryCategory dirify="1"$>

smile.gif
Kristine
medic119
typos, typos, typos... smile.gif
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.