Hi Wade,

I assume this is the same issue that's already being handled on the
semediawiki-user mailing list?


On Thu, Nov 21, 2013 at 2:22 PM, Wade Courtney <wade.court...@sdmts.com>wrote:

>   Ok, sorry.
>
>  I really appreciate your help.
>
>  I changed my calendar page to this:
>
>
>  {{#ask:
>   [[Category:Event]]
>   |?has Event
>   |?Has Category
>   |format=calendar
>   |color=red
> }}
>
>  Still nothing displays on the calendar.
>
>
>  And my info line to this
>
>  {{{info|page name= <Maintenance Notification[Systems Impact]> <unique
> number;start=001> }}}
>
>  This works.
>
>
>
>
>
>   From: Yaron Koren <ya...@wikiworks.com>
> Date: Thursday, November 21, 2013 at 10:59 AM
>
> To: Wade Courtney <wade.court...@sdmts.com>
> Cc: "semediawiki-devel@lists.sourceforge.net" <
> semediawiki-devel@lists.sourceforge.net>
> Subject: Re: [SMW-devel] Calendar help
>
>   Hi Wade,
>
>  The first part of the "page name" parameter should instead look like
> "<template name[field name]>".
>
>  For your second question, you should replace "Was published on" with
> whatever the property name you're using is.
>
>  By the way, it's not relevant to this thread any more, but for general
> support questions like this you should use the semediawiki-user mailing
> list instead.
>
>  Also, try to keep unrelated questions in separate threads.
>
>  -Yaron
>
>
> On Thu, Nov 21, 2013 at 12:57 PM, Wade Courtney 
> <wade.court...@sdmts.com>wrote:
>
>>  Ok, I got the form to display correctly when I click the Add new Event
>> button on my calendar page. I can fill in the fields and it creates a new
>> page. That part is all good.
>>
>>  I have two remaining issues:
>>
>>  I have the following info line:
>>
>>  {{{info|page name= <template name> <unique number;start=001> }}}
>>
>>  The page title that it generates is only the number. I want it to say
>> Maintenance Notification – 001 for example
>>
>>  Secondly, no events that I create are being displayed in the calendar.
>> Here is my calendar code:
>>
>>
>>  {{#formlink:form=Maintenance Notification|link text = Add new
>> event|link type=post button| popup}}
>> {{#ask:
>>   [[Category:Event]]
>>   [[Was published on::>{{#calendarstartdate:}}]]
>>   [[Was published on::<{{#calendarenddate:}}]]
>>    |? Was published on
>>   |format=calendar
>>   |color=red
>> }}
>>
>>
>>   Thanks for the help.
>>
>>  Wade
>>
>>
>>   From: Yaron Koren <ya...@wikiworks.com>
>> Date: Wednesday, November 20, 2013 at 4:15 PM
>> To: Wade Courtney <wade.court...@sdmts.com>
>> Cc: "semediawiki-devel@lists.sourceforge.net" <
>> semediawiki-devel@lists.sourceforge.net>
>> Subject: Re: [SMW-devel] Calendar help
>>
>>    Hi Wade,
>>
>>  That doesn't sound like a calendar question, actually. :) I think the
>> issue is that, if you're using #formlink and not #forminput, you need to
>> set a "page name" formula for the form:
>>
>>
>> https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#The_one-step_process
>>
>>  -Yaron
>>
>>
>> On Wed, Nov 20, 2013 at 7:10 PM, Wade Courtney 
>> <wade.court...@sdmts.com>wrote:
>>
>>>  When I click the form link button on the calendar page, I get a popup
>>> with a titled page, but no form. I’ve been working on this for two days
>>> now. I’d really appreciate some help.
>>>
>>>  I am using MW 1.21.1
>>> PHP 5.3.24
>>> MySQL 5.1.70
>>> Semantic Bundle 1.8.0.5
>>> SMW 1.8.0.5
>>> Semantic Result forms 1.8
>>>
>>>  I have this on a page called IT Calendar
>>>
>>>
>>>  {{#formlink:form=Maintenance Notification|link text = Add new
>>> event|link type=post button| popup}}
>>>
>>>  {{#ask:[[Category:Event]][[Was published
>>> on::>{{#calendarstartdate:}}]][[Was published on::<{{#calendarenddate:}}]]
>>>   |format=calendar
>>> }}
>>>
>>>
>>>  I have the following as my add event form:
>>>
>>>  <noinclude>
>>> This is the "Maintenance Notification" form.
>>> To create a page with this form, enter the page name below;
>>> if a page with that name already exists, you will be sent to a form to
>>> edit that page.
>>>
>>>
>>>  {{#forminput:form=Maintenance Notification|link text=Add new
>>> event|link type=button}}
>>>
>>>  </noinclude><includeonly>
>>> <div id="wikiPreview" style="display: none; padding-bottom: 25px;
>>> margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
>>> {{{for template|Maintenance Notification}}}
>>> {| class="formtable"
>>> ! Notification Details:
>>> | {{{field|Notification Details}}}
>>> |-
>>> ! Maintenance Type:
>>> | {{{field|Maintenance Type}}}
>>> |-
>>> ! Maintenance Start:
>>> | {{{field|Maintenance Start}}}
>>> |-
>>> ! Maintenance End:
>>> | {{{field|Maintenance End}}}
>>> |-
>>> ! Systems Impact:
>>> | {{{field|Systems Impact}}}
>>> |-
>>> ! Work Effort:
>>> | {{{field|Work Effort}}}
>>> |-
>>> ! Work Order:
>>> | {{{field|Work Order}}}
>>> |-
>>> ! Other Information:
>>> | {{{field|Other Information}}}
>>> |-
>>> ! Notification List:
>>> | {{{field|Notification List}}}
>>> |-
>>> ! Contact Information:
>>> | {{{field|Contact Information}}}
>>> |}
>>> {{{end template}}}
>>>
>>>  '''Free text:'''
>>>
>>>  {{{standard input|free text|rows=10}}}
>>>
>>>
>>>  {{{standard input|summary}}}
>>>
>>>  {{{standard input|minor edit}}} {{{standard input|watch}}}
>>>
>>>  {{{standard input|save}}} {{{standard input|preview}}} {{{standard
>>> input|changes}}} {{{standard input|cancel}}}
>>> </includeonly>
>>>
>>>
>>>  Warmest Regards,
>>>
>>>  wade
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Shape the Mobile Experience: Free Subscription
>>> Software experts and developers: Be at the forefront of tech innovation.
>>> Intel(R) Software Adrenaline delivers strategic insight and game-changing
>>> conversations that shape the rapidly evolving mobile landscape. Sign up
>>> now.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Semediawiki-devel mailing list
>>> Semediawiki-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>>
>>>
>>
>>
>>  --
>> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>>
>
>
>
>  --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>



-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to