Okay - that was quite a wishlist I presented...
I've figured out how to do most it myself - thanks to all the amazing
- plugins some really great programmers has made!!! -
Copy/Pasting and fiddling around with Mr. Shulmans costumized view-
and editTemplates + guessing a lot!!
It seems that everything I could dream of is possible :-)
I have completed the studentsViewTemplate - and put the toggletags
into the tiddlermenufield. It was a lot of trial and error putting the
htmlFormTemplate into and at last I had to resort to keeping it in the
viewtemplate - otherwise it would not populate the tiddler with the
neccesary data. But that's ok - The most important thing was to have
the image URL inputfield as a copy/paste option in the EditTemplate
(For a mobileapplication - it's essential - because You don't want to
write a lot!)
Now I'm trying to make the TeacherEdit-and ViewTemplates. They are
very different, because they use fET for the sortable tables. I need
to be able to fetch as many data from the students tiddlers, as
possible - and I must avoid having to write the same information twice
- fx. as data AND tags - to make it useable for someone who's not
me....
Therefore I have encountered some new problems - which I will post in
a new thread.
I need fET to be able only to fetch data from tiddlers, which contains
TeacherData:"the title of the tiddler holding the fET-code".
Something like this:
<<forEachTiddler
where
'tiddler.tags.contains ("Student") && tiddler.data("Teacher")== "the
title of this tiddler"'
The second problem is that I need to fetch data from tiddlers, which
are tagged with the names of only those students, which have data,
which contains TeacherData:"the title of the tiddler holding the fET-
code" . I need to pass these two obstacles- before I can proceed to
"cooking it all down" to a small mobile TW, which allows everyone
(also nonTW-afficionados!) to populate with students and teachers -
gettting an archive with all sorts of lists automagically.
I wonder if I could use http://www.TiddlyTools.com/#SplitTiddler to
copy/paste a list of students with "!-sectionmark" and tag: "Student"
and TeacherData: TeachersInitials(Tiddlername of teacher) and 2 more
datasets describing where they live (on the school).
If I could - it would only be a matter of seconds before everything
was populated - and I only need to copypaste the image URLs to the
edittemplates...
Sorry for my long postings(and bad english) - but I have been happy to
find so many answers and ideas from this Group - so I hope someone can
use some of my thoughts for their own projects - as I have done...
See Ya
Mås Mårtensson
On 7 Mar., 22:07, Måns <[email protected]> wrote:
> Hi
> I'm trying to implement a htmlform into a customized edittemplate.
> At the moment I'm using a htmltemplate from a formtiddler - which I
> publish in tiddlers tagged with a certain tag. (manually).
> I would like this htmlform to appear in editmode instead - for
> inserting <data>.
> If there is a way to insert <data> into the tiddler without the html -
> I would prefer that.
>
> I would like some/most of the data to be viewable wikified in viewmode
> - but also accessible as "data" for fET to fetch - from other
> tiddlers...
>
> I'm playing around with toggletags in a customized viewedittoolbar -
> but need to toggle (I use listboxplugin) and write data in predefined
> fields in the editviewtemplate too fx:<data>{"Tiddler title":"Name of
> tiddler","Somedata":"xx","Some data":"XX","Tiddler tags":"yyy","Some
> data":"yy","Some data":"YY","References":"xxx."}</data>
>
> Maybe I could use something like: <div class='editor' macro='select
> Somedata rows:1 width:100% allowBlank allowOther xx xX xy xY YY'></
> div>
> or
> <div class='editor' macro='select Sometag rows:1 width:100% allowBlank
> allowOther tag1 tag2 tag3 tag4 tag5'></div>
>
> Am I unrealistic?? Can I have all these different datafields in a
> customized editviewtemplate- dooing more than one type of entry at the
> same time? - fx. <div class='small'>XXname (tiddler name):</div>
> <div class='editor' macro='edit title'></div> also to appear in the
> <data> field?
> and fx.:
> <div class='small'>year:</div>
> <div class='editor' macro='edit year'></div> also to appear in the
> <data> field - beeing able to use fET to fetch the data for a table in
> another tiddler?
>
> If I knew the syntax for implementing my htmlform into my customized
> XXEditViewTemplate - I would get there some way or another... -
>
> YS Måns Mårtensson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---