Jump to content

Topic on Extension talk:Semantic Page Series/Flow

Where can i found an example?

5
CrystianMarquez (talkcontribs)

Where can i found a functionally example to how works this extension?

i can not make to work, when i clic on the next link, it does not work

{{#serieslink:
form=EventSeries
|link text=Create event series
|link type=button

|iterator=date
|target form=Event
|target field=Event[Date]

|start=Event[Start]
|end=Event[End]
|unit=Event[Unit]
|period=Event[Period]
}}

before to click on the above link, sends me a page with this url:

Especial:SeriesEdit/EventSeries?iterator=date&target_form=Event&target_field=Event%5BDate%5D&start=Event%5BStart%5D&end=Event%5BEnd%5D&unit=Event%5BUnit%5D&period=Event%5BPeriod%5D&origin=9782

an this tag:

<seriesedit>
F.trott (talkcontribs)

First of all, make sure that you have Extension:SemanticForms and Extension:SemanticMediawiki installed and that you created the necessary forms and the template.

As you can see from the release date, this extension is quite old and it may well be, that it does not work with newer versions of Mediawiki or Semantic Mediawiki. The link looks generally alright. The only thing is, that I don't know where the origin parameter comes from.

What versions of Mediawiki, SemanticMediawiki, SemanticForms and Semantic Page Series are you using?

Mitchelln (talkcontribs)

I have it working on MW 1.19.18 and SMW 1.9.

I notice you are specifying two different forms EventSeries and Event. Do you both a SF form and a template? Do you have Date, Start, End, Unit and Period set up as SMW properties?

I have this on my site:

{{#serieslink:form=Activity Form |link text=Add a Multiple event |link type=button |iterator=date |target form=Activity Form |target field=Activity Template[Start Date] |start=Activity Template[Start Date] |end=Activity Template[End Date] |unit=Activity Template[Unit] |period=Activity Template[Period] |keep parameters }}

and it works.

CrystianMarquez (talkcontribs)

Hi Mitchelln:

may you tell me, what have into your template "Activity Template"? also, what type has the "unit" and "period" properties?

I spcifying two forms because sow that in the usage documentation... but maybe i misunderstood something

CrystianMarquez (talkcontribs)

Hi F.trott: i麓m using MW 1.22.3, SMW Versi贸n 1.9.1, SF Versi贸n 2.7, SPS Versi贸n 0.1 alpha, these extensions works ok! and yes i created the forms and template exactly than the example in to the usage section of the extension page. Maybe i missing something... i created three elements:

  1. Form:Event
  2. Form:EventSeries
  3. Template:Event

if you want, i can get you temporary user... with a e-mail

Reply to "Where can i found an example?"