>
> If you see tiddlers starting with "class=--" followed by numbers-- they
> seem to be created by tabs macros that don't have a state tiddler defined--
> yes, I was sloppy with the coding. They will appear in the list of the
> "Recent" tab and their text field will contain the title of a tiddler
> selected by the tabs macro.
>
__ANSWER__:
Improper tabs macro syntax.
1) Omitting values in the macro
see further below
2) Improper syntax for a macro value
class='tc-vertical" was used instead of just a value ("tc-vertical") so
along with the values omission, "class=" was attempted to be used as a
state tiddler name by the tabs macro.
> if you use "tc-vertical"/class="tc-vertical" instead of the default
> horizontal tabs which don't need any declaration, there's particular ways
> to do it, where it had to be the fourth "" parameter (parameter names not
> needed)-- ie you must have 3 sets of "" (filled or empty) before it
>
__REASON__:
Omitting values in a macro call:
The tabs macro definition: `\define
tabsaltlabelref(tabsList,default,state:"$:/state/tab",class,template,buttonTemplate,retain)`
When a name is listed in a macro, it must have a value defined in its place
even if its an empty value ("") if any further values follow after it in a
macro call. Otherwise the value after an omitted value takes the
omitted values place and won't make sense to the macro and won't be applied
or break the macro.
ie: Omitting the proper state value makes the class (tc-vertical) value
take its place and the macro will try to use it for a state tiddler name.
Any values after your last desired value for a macro can be omitted
in most cases, but not ones in between.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/b5ab9264-842b-4cb2-a7bf-e3a30c92b748%40googlegroups.com.