Hi all,

I just wanted to do a quick "show and tell" of our latest success in 
building TiddlyCRM on TiddlyWiki. We're quite proud of what we've achieved, 
and wanted to share our ideas and code back to the TiddlyWiki user 
community.

We've been heavily customising the default TiddlyWiki user interface, and 
making it toggle-able, so that our users will see the stripped-down, sleek 
interface we're building on top of TiddlyWiki instead of the default TW5 
interface. But they can still bring up elements of the default interface at 
will, using radio buttons in our configuration system. Here's a screenshot 
to demonstrate...


<https://dl.dropboxusercontent.com/s/pqns3p2zwcm81lv/160422_0533_showandtell_interface.png>

To hide and show the tiddler titles, subtitles and tags, we're simply 
toggling the  $:/tags/ViewTemplate  tag from the 
$:/core/ui/ViewTemplate/title, .../subtitle, and .../tags system tiddlers 
respectively. This is achieved using the *<$radio>* widget, as in the 
example below...

<$radio  tiddler="$:/core/ui/ViewTemplate/title" field="tags" 
value="">Hide</$radio>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<$radio 
 tiddler="$:/core/ui/ViewTemplate/title" field="tags" 
value="$:/tags/ViewTemplate">Show</$radio>

Hiding and showing the SideBar search was a little more complex. We found 
that the basic search functionality in the default TW5 SideBar seems to 
come from the $:/core/ui/SideBarLists shadow tiddler. We excised lines 3 
through 40 of that tiddler into another tiddler, calling it 
$:/core/ui/SideBarLists/search. We then transcluded it back into 
$:/core/ui/SideBarLists, wrapped in a *<$reveal>* widget, like so...

<$reveal type="match" 
state="$:/_Data/globaloptions!!show-default-sidebar-search" text="Show">
{{$:/core/ui/SideBarLists/search}}
</$reveal>

We then toggle the value of the *show-default-sidebar-search* field of our 
$:/_Data/globaloptions tiddler to hide or show the SideBar Search. 
Eventually, the idea is to replace the default TW5 search feature in 
TiddlyCRM with our own search system based on Eric Shulman's *<<combobox>>* 
macro. It will only allow searching of the entities we've defined within 
the system, such as those tagged as  Person  or  Organisation , etc.

I hope you found this useful. As always, feel free to make use of our code, 
and any feedback, suggestions, dire warnings of our ineptitude, or even 
compliments, would be most welcome.

Hegart.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5264849b-cdd2-4824-8a8e-abc6bfaa2503%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to