EyeOnTech
lost in the underflow




NetNewsWire: More news, less junk. Faster

Subscribe to "EyeOnTech" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


Friday, March 8, 2002
 

This is just the fix for an issue I was having this a.m.

Eldon Brown sent me an email to point out that category-specific stories do not carry the category's name or description in the banner. Eldon is right! I did a little digging around and have a nice quick fix.

To get the category name and description on your story banner edit your category's #prefs.txt file. There should be a #categoryName entry present. If not, add one (e.g. #categoryName "My Good Category"). Also add a categoryDescription directive (e.g. #categoryDescription "Everything You'll Ever Need"). Save #prefs.txt. Now edit the #template.txt file - you will probably need just one of these, shared across all of your categories (so plop it in the "category" directory). Look for the <%siteName%> macro. Change it to <%categoryName%>. Close by you will find a <%description%> macro. Change it to <%categoryDescription%>. That should do it. [On The Mark]
12:20:45 PM    



Click here to visit the Radio UserLand website. © Copyright 2003 George Herndon.
Last update: 2/27/03; 10:36:35.
March 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Feb   Apr