From: Ryan L. <urb...@gm...> - 2009-09-04 18:27:09
|
Thanks Yaron, That worked very well! How about if I wanted the same setup for a Video / Screencast? I guess Image:x would be replaced with something else.. On Fri, Sep 4, 2009 at 8:11 AM, Yaron Koren <ya...@gm...> wrote: > Hi, > If you upload an image to the wiki, it shouldn't be a URL at all; it should > be an internal link. Is your "Screen Shot" property of type "URL"? If so, > you should change it to type "Page". In any case, that probably still won't > display the image; you'll need to change the call to something like: > > {{#arraymap:{{{Screenshot|}}}|,|x|[[Screen Shot::x| ]] [[Image:x]]}} > > -Yaron > > > On Fri, Sep 4, 2009 at 2:24 AM, Ryan Leinweber <urb...@gm...>wrote: > >> Looking for a little assistance with a form field that allows users to >> upload a file. I've used the uploadable parameter in the fields declaration >> and it works great, the file is uploaded to my images directory and renamed >> appropriately however, only the file name is saved in the form field so when >> I save the form and reference it later the link goes to: >> http://filename.jpg rather then including the full path of the file IE: >> http://www.mysite.com/images/filename.jpg >> >> The guide located at: >> http://www.mediawiki.org/wiki/Extension:Semantic_Forms does say this will >> not work with fields contained in multiple-instance templates so this might >> be the issue. If my form field does allow multiple values will it cause this >> feature to break? If it will break due to this how to I change the field to >> only allow one value? Currently it shows up like so: >> >> ! Screenshot >> | {{#arraymap:{{{Screenshot|}}}|,|x|[[Screen Shot::x]]}} >> |} >> >> with thanks, >> Ryan >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Semediawiki-user mailing list >> Sem...@li... >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> >> > -- Regards, Ryan Leinweber Ryan@HoneycombWebworks.ca Honeycomb Webworks Phone: (250) 655-9202 HoneycombWebworks.ca 7081 Central Saanich Road Saanichton BC V8M 1Y3 |