« Return to Thread: Thoughts on {maketoc} behaviour

Thoughts on {maketoc} behaviour

by Mike Kerr :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

I was just thinking…  Many people use

 

!Page Title

{maketoc}

 

!!Sub-heading

Blahblah

 

!!Sub-heading2

Blah…

 

as a standard template.  I’ve always thought that this wasted a layer of headings.  Would a more logical approach to {maketoc} processing be to ignore any ! markup before {maketoc} appears?  This way you can still take advantage of the heading formatting for the text, but you also save an entire heading hierarchy.  Not to mention you don’t end up clicking on the link and going backwards for the first heading.

 

I can probably make this an option like {maketoc|ignoreprev} or {maketoc|-} or something.

 

Any thoughts on this?  Would that break anything outside of a specific page?  (eg. The Tiki book using structures)

 

Mike.

 

 

 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tikiwiki-devel mailing list
Tikiwiki-devel@...
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

 « Return to Thread: Thoughts on {maketoc} behaviour

LightInTheBox - Buy quality products at wholesale price!