Webmastersite.net
Register Log In

Removing Separator for {CATTITLENAV}

Comments on Removing Separator for {CATTITLENAV}

mspergel
Member

Usergroup: Member
Joined: Mar 04, 2008

Total Topics: 5
Total Comments: 13
Posted Apr 11, 2008 - 1:37 PM:

I'm totally missing it. I read the docs, but still can't figure it out. How does one go about removing the very first separator for {CATITLENAV}? Right now my code looks like {CATTITLENAV[> ]}. It's using a carrot for the separator and adding a single space which is perfect. But I can't figure out how to remove the very first separator.

Any help would be appreciated.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Apr 13, 2008 - 5:23 AM:

scripts.webmastersite.net/w...category-variables-11.html says
{CATTITLENAV} - The navigation, but without HTML, suitable for use in the language item title_categories.
-- Optional parameters: navseperator, trimseparator


So I believe {CATTITLENAV[ > <,> true]} should trim separators from the edges. Doesn't seem to be trimming the leading one when I test though... looking into it.

Edit: Fixed so the above works in next release. I think the reason it doesn't in the current may be related to having to reproduce the exact spacing.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.