News html
Jump to navigation
Jump to search
| (2 intermediate revisions by the same user not shown) | |||
| Line 510: | Line 510: | ||
$ci(function() { | $ci(function() { | ||
| − | var result = '</html>{{#ask: | + | var result = '</html>{{#ci_noparse_isHTML:{{#ask: |
[[Category:Organizations]] | [[Category:Organizations]] | ||
[[Organization name::{{#ci_userAffiliatedTo:}}]] | [[Organization name::{{#ci_userAffiliatedTo:}}]] | ||
| Line 517: | Line 517: | ||
|mainlabel=- | |mainlabel=- | ||
|format=array | |format=array | ||
| − | }}<html>'; | + | }}}}<html>'; |
| + | result = result.split('<PROP>'); | ||
| + | |||
| + | if(result.length) { | ||
| + | |||
| + | $ci('#select_country').val(result[0]) | ||
| + | $ci('#input_city').val(result[1]) | ||
| + | |||
| + | } | ||
Latest revision as of 19:14, 20 September 2020
This form is intended to create news of a given organization or to characterize as "news" whatever page of it (not containing already a form).
Once the key-data are created, as usual you might insert further data not foreseen by the form using the buttons "Edit" or "Edit source" in the top panel.
![]() | The form will be created in the current page (). If you want to create the form in a new page, go here. |
