Re: [SMW-devel] Database question

2012-07-01 Thread Marcelo Chiaradía
Thanks a lot. Marcelo. 2012/7/1 Yaron Koren > Hi, > > Try replacing {{{ClassificationList|No Instances}}} with > {{#if:{{{ClassificationList|}}}||No > Instances}} . > > -Yaron > -- Live Security Virtual Conference Excl

Re: [SMW-devel] Database question

2012-07-01 Thread Yaron Koren
Hi, Try replacing {{{ClassificationList|No Instances}}} with {{#if:{{{ClassificationList|}}}||No Instances}} . -Yaron -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and

Re: [SMW-devel] Database question

2012-07-01 Thread Marcelo Chiaradía
Hi Yaron, I could make it work. It was my semantic form distribution version. Thanks a lot for the help. I have one last thing to ask though. I have a template A that includes several instances of another template B. I have setted up my template A, so when It has no instances of B, it should loo

Re: [SMW-devel] Database question

2012-07-01 Thread Yaron Koren
Hi Marcelo, That really looks like it should work... is this problem happening on a public wiki? If not, could you try to replicate it on a public wiki, like http://scratchpad.referata.com? Thanks, Yaron On Sat, Jun 30, 2012 at 9:52 AM, Marcelo Chiaradía < chiaradiamarc...@gmail.com> wrote: > I

Re: [SMW-devel] Database question

2012-06-30 Thread Marcelo Chiaradía
Im sorry, i wrote my semantic form code wrong, it is like this: And the code of my semantic form is this: Este es el formulario '' MyForm ''. Para crear una página con este formulario, ingrese el nombre de la página a continuación; si la página con ese nombre ya existe, será dirigido al formular

Re: [SMW-devel] Database question

2012-06-30 Thread Marcelo Chiaradía
Hi Yaron, I've been looking at the page you pointed me. Im having some difficulties to do it. Maybe it is something worng in my code. I have a main template call "Relations", which must have inside of him several instances of another template called " Relation". The code of "Relation" is this:

Re: [SMW-devel] Database question

2012-06-29 Thread Yaron Koren
Hi, Yes, you can do that via the "embed in field" and "holds template" parameters - see here: http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#Form_markup_language -Yaron On Fri, Jun 29, 2012 at 3:55 PM, Marcelo Chiaradía < chiaradiamarc...@gmail.com> wrote: > Hi Yaron, >

Re: [SMW-devel] Database question

2012-06-29 Thread Marcelo Chiaradía
Hi Yaron, Ok, I'll give it a try, thanks a lot. One other question, does the semantic forms extension support nested templates? For example, I have a template A, which must have several instances of a template B. I would like to complete the data for A, and create several instances of B within A

Re: [SMW-devel] Database question

2012-06-29 Thread Yaron Koren
Hi Marcelo, If I understand your question correctly - I would strongly recommend using the Semantic Internal Objects extension to store the data in that multiple-instance template, instead of just regular SMW property tags: http://www.mediawiki.org/wiki/Extension:Semantic_Internal_Objects That w

[SMW-devel] Database question

2012-06-28 Thread Marcelo Chiaradía
Hello everyone, I have a page that uses a semantic form. This semantic form allows to complete several instances of a same template I defined, I wanna know if there is some table in the wiki database, which relates each instance of the template which its field values. Thanks in advance, Marcel