From: Samuel L. <sam...@gm...> - 2013-05-29 10:01:40
|
Hi Yaron(or someone else who can answer), Is there any way to edit red links that appear in a specific field(of type "Page") in a templated page, with the form that would correspond to the category of those pages? I.e, that by specifying a category or form name for that field, you would get that form for creating the non-existing pages? BR // Samuel |
From: Samuel L. <sam...@gm...> - 2013-05-29 10:33:59
|
Never mind, I'm obciously *very* rusty on SMW user stuff nowadays. Just changed the template, for my (multiple input) field, from: {{#arraymap:{{{Genes|}}}|,|x|[[Genes::x]]}} ... to: {{#arraymap:{{{Genes|}}}|,|#|[[Genes::#]] ([[Special:FormEdit/Gene/#|edit with form]])}} (changed 'x' to '#' too, so that 'x' in 'index' didn't get substituted :) ) // Samuel On 05/29/2013 12:01 PM, Samuel Lampa wrote: > Hi Yaron(or someone else who can answer), > > Is there any way to edit red links that appear in a specific field(of > type "Page") in a templated page, with the form that would correspond > to the category of those pages? > > I.e, that by specifying a category or form name for that field, you > would get that form for creating the non-existing pages? > > BR > // Samuel -- Developer at SNIC-UPPMAX www.uppmax.uu.se Developer at Dept of Pharm Biosciences www.farmbio.uu.se |
From: Samuel L. <sam...@gm...> - 2013-05-29 11:13:01
|
Ok, so the rustiness continues to manifest itself. Just bought Yarons excellent MW / SMW book, and found out it was even more simple: Added, in the property page in question: [[has default form::Gene]] ... and it was all set! [1] http://workingwithmediawiki.com/ BR // Samuel On 05/29/2013 12:33 PM, Samuel Lampa wrote: > Never mind, > > I'm obciously *very* rusty on SMW user stuff nowadays. > > Just changed the template, for my (multiple input) field, from: > > {{#arraymap:{{{Genes|}}}|,|x|[[Genes::x]]}} > > ... to: > > {{#arraymap:{{{Genes|}}}|,|#|[[Genes::#]] > ([[Special:FormEdit/Gene/#|edit with form]])}} > > (changed 'x' to '#' too, so that 'x' in 'index' didn't get substituted > :) ) > > // Samuel > > On 05/29/2013 12:01 PM, Samuel Lampa wrote: >> Hi Yaron(or someone else who can answer), >> >> Is there any way to edit red links that appear in a specific field(of >> type "Page") in a templated page, with the form that would correspond >> to the category of those pages? >> >> I.e, that by specifying a category or form name for that field, you >> would get that form for creating the non-existing pages? >> >> BR >> // Samuel > > -- Developer at SNIC-UPPMAX www.uppmax.uu.se Developer at Dept of Pharm Biosciences www.farmbio.uu.se |
From: Jamie T. <ja...@th...> - 2013-05-29 13:00:44
|
Yep, that's the right way to do it. :-) Jamie Thingelstad ja...@th... mobile: 612-810-3699 find me on AIM Twitter Facebook LinkedIn On May 29, 2013, at 6:12 AM, Samuel Lampa <sam...@gm...> wrote: > Ok, so the rustiness continues to manifest itself. Just bought Yarons > excellent MW / SMW book, and found out it was even more simple: > > Added, in the property page in question: > > [[has default form::Gene]] > > ... and it was all set! > > [1] http://workingwithmediawiki.com/ > > BR > // Samuel > > On 05/29/2013 12:33 PM, Samuel Lampa wrote: >> Never mind, >> >> I'm obciously *very* rusty on SMW user stuff nowadays. >> >> Just changed the template, for my (multiple input) field, from: >> >> {{#arraymap:{{{Genes|}}}|,|x|[[Genes::x]]}} >> >> ... to: >> >> {{#arraymap:{{{Genes|}}}|,|#|[[Genes::#]] >> ([[Special:FormEdit/Gene/#|edit with form]])}} >> >> (changed 'x' to '#' too, so that 'x' in 'index' didn't get substituted >> :) ) >> >> // Samuel >> >> On 05/29/2013 12:01 PM, Samuel Lampa wrote: >>> Hi Yaron(or someone else who can answer), >>> >>> Is there any way to edit red links that appear in a specific field(of >>> type "Page") in a templated page, with the form that would correspond >>> to the category of those pages? >>> >>> I.e, that by specifying a category or form name for that field, you >>> would get that form for creating the non-existing pages? >>> >>> BR >>> // Samuel >> >> > > > -- > Developer at SNIC-UPPMAX www.uppmax.uu.se > Developer at Dept of Pharm Biosciences www.farmbio.uu.se > > > ------------------------------------------------------------------------------ > Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET > Get 100% visibility into your production application - at no cost. > Code-level diagnostics for performance bottlenecks with <2% overhead > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap1 > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user |