Thanks a lot for your help!

 

And I have to say that you all do an excellent job with the Wiki!

Keep it up everyone! I am sure you don't get enough thanks for your
efforts.

 

/Anders

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Davidson
Sent: den 11 oktober 2007 14:53
To: FlexWiki Users Mailing List
Subject: Re: [Flexwiki-users] Picture Gallery Feature

 

This is not fully tested but should look like this

ShowPicture:{picture |
 
["@@Presentations.Image(federation.LinkMaker.LinkToImage(",["\"content/u
pload/images/", picture,"\""].ToOneString, "))@@"].ToOneString 
}

where the picture resides in a directory like
/FlexWiki/content/upload/images (the web app adds the FlexWiki relative
directory)

The second requirement would be satisified by 

ShowPicture:{path, picture | 
 
["@@Presentations.Image(federation.LinkMaker.LinkToImage(",["\"", path,
"/", picture,"\""].ToOneString, "))@@"].ToOneString
}

where the path does not include the actual relative directory for
FlexWiki and does not include a trailing '/'

Hope this is what you are looking for

John Davidson

On 10/11/07, Anders Jarl - anja <[EMAIL PROTECTED]> wrote:

That looks really neat John!

I've been wanting a "procedure" for just showing a picture in the Wiki
and just having to give the name of the picture as a parameter. The
procedure would assume that it exists in a specific relative location on

the website. How would a procedure like that look like in WikiTalk?

Something like:

ShowPicture(<name of picture>)

And a second procedure with a relative path given:

ShowPicture(<relative path and name to picture>) 

Regards
Anders


This email has been scanned by the DefenderSoft Email Threat Protection.
For more information please visit www.emailthreatcenter.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to