Hi Alberto,
I've got an example up and running at http://mjptest.tiddlyspot.com/, but
the contents of the tiddlers is not revealed in the slider. What have I
done wrong?
Thanks for your suggestion.
Matthew
On Sunday, February 1, 2015 at 7:30:10 PM UTC+4, Alberto Molina wrote:
>
> Hi Matthew,
>
> Question 1: Is there a way to expand each row to view the contents of each
>> tiddler listed? I would like to have a task tiddler with a title for a
>> summary, and the contents as notes on progress etc. I'd like to click to
>> expand one, then click again to fold.
>>
>
> yes, with a slider macro.
>
>
>> (Side note: what if the contents of a task tiddler contained links to
>> more task tiddlers? Recursion? )
>>
>
> depends on your slider macro.
>
>
>> Question 2: Is there a better way to manage the multiple levels of
>> priority? I want to be able shift my tasks easily to arrange them in the
>> order of attack.
>> As always, grateful for help.
>>
>
> yes, with a selector.
>
> Try this:
>
> \define sliderTask(task)
> <$reveal state=<<qualify "$:/state/task">> type="nomatch" text="$task$">
> <$button set=<<qualify "$:/state/task">> setTo="$task$"
> class="tc-btn-invisible">
> {{$:/core/images/right-arrow}} $task$
> </$button>
> </$reveal>
> <$reveal state=<<qualify "$:/state/task">> type="match" text="$task$">
> <$button set=<<qualify "$:/state/task">> setTo="" class="tc-btn-invisible">
> {{$:/core/images/down-arrow}} $task$
> </$button>
>
> <br>{{!!description}}
>
> </$reveal>
> \end
>
> <$list
> filter="[!title[TaskSkeleton]!title[JournalSkeleton]!has[draft.of]tag[task]!tag[done]!each[tasklist]]">
>
> !!! Tasklist: <$view field="tasklist"/>
> <table>
> <tr>
> <th></th>
> <th>Title</th>
> <th>Priority</th>
> </tr>
> <$list
> filter="[tasklist{!!tasklist}!title[TaskSkeleton]!title[JournalSkeleton]!has[draft.of]tag[task]!tag[done]sort[p]]">
> <tr>
> <td>
> <$checkbox tag="done"></$checkbox>
> </td>
> <td>
> <$macrocall $name="sliderTask" task={{!!title}}/>
> </td>
> <td>
> <$select field="p" default="0">
> <option>1</option>
> <option>2</option>
> <option>3</option>
> <option>4</option>
> <option>5</option>
> <option>6</option>
> <option>7</option>
> <option>8</option>
> <option>9</option>
> </$select>
> </td>
> </tr>
> </$list>
> </table>
> </$list>
>
>
> Best wishes,
>
> Alberto
>
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.