Home : Products : Links 2.0 : Customization :

Products: Links 2.0: Customization: Tree mod and nonenglish, together at last!: Edit Log

Here is the list of edits for this post
Tree mod and nonenglish, together at last!
Well, after quite a bit of fiddlin' around, I got the (template-based) tree mod to build using category names from the nonenglish mod! Looking at the changes, it's sad it took so long to do, when it's so easy! The update is still not perfect, as I could not get it to do both (if/else) regular and nonenglish names, so for it to look right, you need an entry in the nonenglish field for ALL of you cats and subcats. Here is an example of what happens if you don't (last in list): History & Doctrine (42)
  • Apologetics (4)
  • Bible Lands (0)
  • History and Doctrine : Creation (14)
But as long as you have a nonenglish entry, you can use anything for the cat name:
  • Teen's (4)
  • Women's (4)
  • TV, Movies, Music & Games (2)
OK, here is the code, from site_html_templates.pl, changes in red:

EDIT: CODE FURTHER DOWN

Note that there is a lot of CSS code in there that is specific to my site; you will need to change them to match your site. See it in action:

http://theonetruechurch.com/links/map/index.html


Leonard
aka PerlFlunkie


Leonard
aka PerlFlunkie

Last edited by:

Andy: Nov 24, 2004, 11:47 PM

Edit Log: