Thanks for answering - sorry I didn't explain it well.
I have one tiddler with an iframe for each homepage respectively...
All of them run from "localhost" when I open them.

To open my TW on the network the users have to know my ip in the first
place.
Next I need the to input the ip once more in a tiddler - which will
populate all the iframed homepages with the correct ip-address
automatically...
I have one tiddler for Moodle another one for TiddlyHome and so on -
each of them have the same prefix: "http.//<<tiddler IpGoesHere>>" and
a different suffix ie name of the directory where the index-file is
located...

I would like to make a tiddler IpGoesHere - where the user input the
ip once.
When he/she opens the tiddler containing the iframe of the site - it
has already fetched the correct prefix from the tiddler IpGoesHere..

That's why - now I need the "how" - to do it..

I wonder if I understand what you wrote correctly:::
Can I make a tiddler called [[ipGoesHere]] containing: <<tiddler
Moodle, MediaWiki, Elgg, TiddlyHome, TiddlySpeck with: "1.2.3.4">>
Then I make the other tiddlers called [[Moodle]], [[MediaWiki]],
[[Elgg]], [[TiddlyHome]] and [[TiddlySpeck]] containing:
Moodle: <html><div align="center"><iframe src="http://$1/moodle/";
frameborder="0" width="100%" height="600"></iframe></div></html>
MediaWiki:  <html><div align="center"><iframe src="http://$1/
mediawiki/"
frameborder="0" width="100%" height="600"></iframe></div></html>

and so on??

Maybe it would be easier (and maybe you can't even specify a
commaseparated list of tiddlers either?) to focus on tiddlers with a
tag?
<<tiddlers tagged with "iframeUsbServer" with: "1.2.3.4">> ??? Is this
possible?

YS Måns Mårtensson




On May 11, 10:53 pm, Eric Shulman <[email protected]> wrote:
> > I was just wondering if I could replace %0 with a wikified
> > tiddlervalue instead?
> > This way I would only have to input the ip once, thereby inputting the
> > correct ip-address in many tiddlers at once...
>
> huh?  I don't quite understand what you are asking...
>
> However... you don't actually need to use the <<wikify>> macro if all
> you are trying to do is insert an IP address stored in another
> tiddler.  Instead of <<wikify>>, you should use 'tiddler transclusion
> with parameters', like this:
>
> First, create a tiddler called [[MoodleFrame]], containing:
> -----------------------
> <html><div align="center"><iframe src="http://$1/moodle/";
> frameborder="0" width="100%" height="600"></iframe></div></html>
> -----------------------
> Note the use of "$1" as a substitution marker in [[MoodleFrame]].
> This is equivalent to the %0 used in <<wikify>> and will automatically
> substitute a passed in value wherever the marker occurs.
>
> Then, to substitute a particular IP value, you can write in another
> tiddler:
>    <<tiddler MoodleFrame with: "1.2.3.4">>
>
> Or, if you want to enter the IP address as a value in a separate
> tiddler, you could write:
>    <<tiddler MoodleFrame with: {{store.getTiddlerText("MoodleIP")}}>>
>
> where the tiddler [[MoodleIP]] contains just:
>    1.2.3.4
>
> -e
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to