[SF]

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[SF]

Lists

Hi,


I've found the flag collapsible no more working in Semantic Forms (Version
2.4.1),

but it works in Semantic Forms (Version 2.2.1_1 [B83])

Example Code:

{{{for template|Template:Test|label=Test|multiple|collapsible}}}

Question A:

Is there any reason for this?

Question B:

Are there any working examples for:

{{Form:embeddedform|transcluded}}

?



c u stevie


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|

Re: [SF]

Yaron Koren-2
Hi Lists/Stevie,

The "collapsible" parameter was working for you before because you were
using the SMW+ version of Semantic Forms - it's a feature that they added
to their version.

If you definitely want to use the latest version of SF, though, you can
achieve a similar effect by putting:

<div class="mw-collapsible>
...
</div>

...around the {{{for template}}}...{{{end template}} section.

As to the 2nd question - I don't know what that call is, so I'm assuming
it's another SMW+-only feature.

-Yaron

On Wed, Mar 21, 2012 at 3:31 PM, Lists <[hidden email]> wrote:

>
> Hi,
>
>
> I've found the flag collapsible no more working in Semantic Forms (Version
> 2.4.1),
>
> but it works in Semantic Forms (Version 2.2.1_1 [B83])
>
> Example Code:
>
> {{{for template|Template:Test|label=Test|multiple|collapsible}}}
>
> Question A:
>
> Is there any reason for this?
>
> Question B:
>
> Are there any working examples for:
>
> {{Form:embeddedform|transcluded}}
>
> ?
>
>
>
> c u stevie
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>



--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|

Re: [SF] collapsible

Lists
Hi,

thanks for response...

I'm on MW 17.2 and can't update.
It seems not possible to integrate a collapsible div, even following this:

http://www.mediawiki.org/wiki/Manual:Collapsible_elements

...is there another approach to get collapsible sections in SF?
---------------------------------------------------------------
<includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px;
margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>

<div style='width:96%;border:1px solid #dfdfdf; padding: 0em 1em 1em 1em;
background-color:#efefef; align:left;margin-bottom: 2em;-moz-border-radius:
10px;border-radius: 10px;'>

<div style='background:red' class="mw-collapsible' >
{{{info|edit title=Add or change references}}}

{{{for template|Test|multiple|label=test}}}
{| class="formtable"
! Test1:
| {{{field|Test1}}}
|-
! Test2:
| {{{field|Test2}}}
|-
! Test3:
| {{{field|Test3}}}
|}
{{{end template}}}

'''Freitext:'''

{{{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}}}

</div>

</div>
</includeonly>


-----Ursprüngliche Nachricht-----
Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Yaron Koren
Gesendet: Mittwoch, 21. März 2012 21:13
An: Lists
Cc: [hidden email]
Betreff: Re: [Semediawiki-user] [SF]

Hi Lists/Stevie,

The "collapsible" parameter was working for you before because you were
using the SMW+ version of Semantic Forms - it's a feature that they added to
their version.

If you definitely want to use the latest version of SF, though, you can
achieve a similar effect by putting:

<div class="mw-collapsible>
...
</div>

...around the {{{for template}}}...{{{end template}} section.

As to the 2nd question - I don't know what that call is, so I'm assuming
it's another SMW+-only feature.


-Yaron


On Wed, Mar 21, 2012 at 3:31 PM, Lists <[hidden email]> wrote:



        Hi,
       
       
        I've found the flag collapsible no more working in Semantic Forms
(Version
        2.4.1),
       
        but it works in Semantic Forms (Version 2.2.1_1 [B83])
       
        Example Code:
       
        {{{for template|Template:Test|label=Test|multiple|collapsible}}}
       
        Question A:
       
        Is there any reason for this?
       
        Question B:
       
        Are there any working examples for:
       
        {{Form:embeddedform|transcluded}}
       
        ?
       
       
       
        c u stevie
       
       
       
----------------------------------------------------------------------------
--
        This SF email is sponsosred by:
        Try Windows Azure free for 90 days Click Here
        http://p.sf.net/sfu/sfd2d-msazure
        _______________________________________________
        Semediawiki-user mailing list
        [hidden email]
        https://lists.sourceforge.net/lists/listinfo/semediawiki-user
       




--
WikiWorks · MediaWiki Consulting · http://wikiworks.com



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|

Re: [SF] collapsible

david-217
Its not the same but maybe using one of these solution could be useful
for you:

Using tabs in the form with HeaderTabs extension:
http://www.mediawiki.org/wiki/Extension:Header_Tabs

Use "show on select" parameter to show or hide some fields or help text
inside divs in the form:
http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27field.27_tag (look for show on select=)

El dj 22 de 03 de 2012 a les 05:01 +0100, en/na Lists va escriure:

> Hi,
>
> thanks for response...
>
> I'm on MW 17.2 and can't update.
> It seems not possible to integrate a collapsible div, even following this:
>
> http://www.mediawiki.org/wiki/Manual:Collapsible_elements
>
> ...is there another approach to get collapsible sections in SF?
> ---------------------------------------------------------------
> <includeonly>
> <div id="wikiPreview" style="display: none; padding-bottom: 25px;
> margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
>
> <div style='width:96%;border:1px solid #dfdfdf; padding: 0em 1em 1em 1em;
> background-color:#efefef; align:left;margin-bottom: 2em;-moz-border-radius:
> 10px;border-radius: 10px;'>
>
> <div style='background:red' class="mw-collapsible' >
> {{{info|edit title=Add or change references}}}
>
> {{{for template|Test|multiple|label=test}}}
> {| class="formtable"
> ! Test1:
> | {{{field|Test1}}}
> |-
> ! Test2:
> | {{{field|Test2}}}
> |-
> ! Test3:
> | {{{field|Test3}}}
> |}
> {{{end template}}}
>
> '''Freitext:'''
>
> {{{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}}}
>
> </div>
>
> </div>
> </includeonly>
>
>
> -----Ursprüngliche Nachricht-----
> Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Yaron Koren
> Gesendet: Mittwoch, 21. März 2012 21:13
> An: Lists
> Cc: [hidden email]
> Betreff: Re: [Semediawiki-user] [SF]
>
> Hi Lists/Stevie,
>
> The "collapsible" parameter was working for you before because you were
> using the SMW+ version of Semantic Forms - it's a feature that they added to
> their version.
>
> If you definitely want to use the latest version of SF, though, you can
> achieve a similar effect by putting:
>
> <div class="mw-collapsible>
> ...
> </div>
>
> ...around the {{{for template}}}...{{{end template}} section.
>
> As to the 2nd question - I don't know what that call is, so I'm assuming
> it's another SMW+-only feature.
>
>
> -Yaron
>
>
> On Wed, Mar 21, 2012 at 3:31 PM, Lists <[hidden email]> wrote:
>
>
>
> Hi,
>
>
> I've found the flag collapsible no more working in Semantic Forms
> (Version
> 2.4.1),
>
> but it works in Semantic Forms (Version 2.2.1_1 [B83])
>
> Example Code:
>
> {{{for template|Template:Test|label=Test|multiple|collapsible}}}
>
> Question A:
>
> Is there any reason for this?
>
> Question B:
>
> Are there any working examples for:
>
> {{Form:embeddedform|transcluded}}
>
> ?
>
>
>
> c u stevie
>
>
>
> ----------------------------------------------------------------------------
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
>
>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
Reply | Threaded
Open this post in threaded view
|

Re: [SF] collapsible

Lists
Thank you,

meanwhile I found a hinted script fo jQuery makeCollapsible on MW 1.17.

-----Ursprüngliche Nachricht-----
Von: david [mailto:[hidden email]]
Gesendet: Donnerstag, 22. März 2012 09:54
An: Lists
Cc: [hidden email]
Betreff: Re: [Semediawiki-user] [SF] collapsible

Its not the same but maybe using one of these solution could be useful for
you:

Using tabs in the form with HeaderTabs extension:
http://www.mediawiki.org/wiki/Extension:Header_Tabs

Use "show on select" parameter to show or hide some fields or help text
inside divs in the form:
http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms#.27fie
ld.27_tag (look for show on select=)

El dj 22 de 03 de 2012 a les 05:01 +0100, en/na Lists va escriure:

> Hi,
>
> thanks for response...
>
> I'm on MW 17.2 and can't update.
> It seems not possible to integrate a collapsible div, even following this:
>
> http://www.mediawiki.org/wiki/Manual:Collapsible_elements
>
> ...is there another approach to get collapsible sections in SF?
> ---------------------------------------------------------------
> <includeonly>
> <div id="wikiPreview" style="display: none; padding-bottom: 25px;
> margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
>
> <div style='width:96%;border:1px solid #dfdfdf; padding: 0em 1em 1em
> 1em; background-color:#efefef; align:left;margin-bottom:
2em;-moz-border-radius:

> 10px;border-radius: 10px;'>
>
> <div style='background:red' class="mw-collapsible' > {{{info|edit
> title=Add or change references}}}
>
> {{{for template|Test|multiple|label=test}}}
> {| class="formtable"
> ! Test1:
> | {{{field|Test1}}}
> |-
> ! Test2:
> | {{{field|Test2}}}
> |-
> ! Test3:
> | {{{field|Test3}}}
> |}
> {{{end template}}}
>
> '''Freitext:'''
>
> {{{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}}}
>
> </div>
>
> </div>
> </includeonly>
>
>
> -----Ursprüngliche Nachricht-----
> Von: [hidden email] [mailto:[hidden email]] Im Auftrag von Yaron
> Koren
> Gesendet: Mittwoch, 21. März 2012 21:13
> An: Lists
> Cc: [hidden email]
> Betreff: Re: [Semediawiki-user] [SF]
>
> Hi Lists/Stevie,
>
> The "collapsible" parameter was working for you before because you
> were using the SMW+ version of Semantic Forms - it's a feature that
> they added to their version.
>
> If you definitely want to use the latest version of SF, though, you
> can achieve a similar effect by putting:
>
> <div class="mw-collapsible>
> ...
> </div>
>
> ...around the {{{for template}}}...{{{end template}} section.
>
> As to the 2nd question - I don't know what that call is, so I'm
> assuming it's another SMW+-only feature.
>
>
> -Yaron
>
>
> On Wed, Mar 21, 2012 at 3:31 PM, Lists <[hidden email]> wrote:
>
>
>
> Hi,
>
>
> I've found the flag collapsible no more working in Semantic Forms
> (Version
> 2.4.1),
>
> but it works in Semantic Forms (Version 2.2.1_1 [B83])
>
> Example Code:
>
> {{{for template|Template:Test|label=Test|multiple|collapsible}}}
>
> Question A:
>
> Is there any reason for this?
>
> Question B:
>
> Are there any working examples for:
>
> {{Form:embeddedform|transcluded}}
>
> ?
>
>
>
> c u stevie
>
>
>
> ----------------------------------------------------------------------
> ------
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>
>
>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>
>
>
> ----------------------------------------------------------------------
> --------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure 
> _______________________________________________
> Semediawiki-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/semediawiki-user



------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Semediawiki-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/semediawiki-user