Here you have a good example of this nice module used on a page in Chinese:
http://fongcaifong.menwai.tw/node/22
Note that because of transliteration problems, the anchors are completely meaningless.
Here is the list of anchors generated for that page:
#header-1
#_
#_-2
#header-3
#._
#._NO.1
#._18
#._30-33.1F
#._B1
#._AB
#._121
#._98
#_-4
etc. ...
I don't know why some are of the style #header-n and others are different.
For that site, the best would be to have an option NOT to use the content of the headers within the anchor at all. Simply use #header-n everywhere, or, better, use an number of the levels in the anchor:
#section-1
#section-1-1
#section-1-2
#section-2
#section-2-1
#section-2-1-1
#section-2-1-2
#section-2-2
#section-3
etc.
The default (and only?) current option does not work on web sites with non-latin, not easily transliteratable scripts. For those site, the current behavior is buggy.
Thank you for this otherwise very nice module. :)
Comments
Comment #1
AlexisWilke commentedHi Jennifer,
I was thinking about something like that. Not specifically for Chinese, but to simply get what you show with the #section example. It should be easy enough to offer that option.
Nice website. Are the mountains the Himalaya?
Thank you.
Alexis
Comment #2
jennifer.chang commentedthanks.
The himalayas would be much higher, snow-capped mountains.
I don't know which mountains they are. The picture came with the contributed theme:
http://drupal.org/project/fourseasons
Comment #3
AlexisWilke commentedHi Jennifer,
Thank you for the info! It looks like a nice theme.
I have put a fix with capabilities to do what you mentioned in your first post (among other things.)
To answer your question about the "header-1", "header-2", etc. whenever the system tries to convert a title into an identifier and that fails, it then generates a default identifier such as "header-<number>".
Don't hesitate to reopen this issue if it does not work for you.
Thank you.
Alexis Wilke
Comment #4
jennifer.chang commentedThank you very much. I just upgraded to latest CVS. The implementation is very thorough! You can see the result of your work in the same page above.
While playing with the new settings, I ran into this bug:
#809756: List of tags allowed in table headers cannot exceed 128 chars.
I am grateful that you maintain this module so well.
Thanks again.
Comment #5
AlexisWilke commentedJennifer,
One thing I wanted to mention, you may want to change the CSS somewhere to make the table wider. You have several sentences that have a line break... because by default the table is made 50% the width of the page.
By changing this to 80%, it may look even better.
Thank you.
Alexis