|
|
| __CartoGraf__ is an interactive web-based mapping application to enhance learning in history and geography classes in high schools. CartoGraf is mainly based on [https://doc.tiki.org/Maps|Maps], [https://doc.tiki.org/Drawings|Drawings], [https://doc.tiki.org/PluginAppFrame|PluginAppFrame] and [https://doc.tiki.org/Trackers|Trackers]. It is a great example of how to use profiles in a general purpose app to make a very specific application using Tiki as a ((dev:Framework)). | | __CartoGraf__ is an interactive web-based mapping application to enhance learning in history and geography classes in high schools. CartoGraf is mainly based on [https://doc.tiki.org/Maps|Maps], [https://doc.tiki.org/Drawings|Drawings], [https://doc.tiki.org/PluginAppFrame|PluginAppFrame] and [https://doc.tiki.org/Trackers|Trackers]. It is a great example of how to use profiles in a general purpose app to make a very specific application using Tiki as a ((dev:Framework)). |
- | {REMARKSBOX(type="information" title="Development notice" icon="bricks" close="y" width="80%")}When you apply the profile, you may see "Preference set: geo_tilesets=Array" in the response. This is a cosmetic error. The preference is set correctly. | |
- | {REMARKSBOX} | |
| To get your own copy of CartoGraf: | | To get your own copy of CartoGraf: |
| # Activate .htaccess by renaming _htaccess (even better is to link from .htaccess to _htaccess) {REMARKSBOX()}Note: rewrite rules are essential for this profile{REMARKSBOX} | | # Activate .htaccess by renaming _htaccess (even better is to link from .htaccess to _htaccess) {REMARKSBOX()}Note: rewrite rules are essential for this profile{REMARKSBOX} |
| # You need to get the CartoGraf theme first and copy it over to the -+themes/+- directory (see Theme section below) | | # You need to get the CartoGraf theme first and copy it over to the -+themes/+- directory (see Theme section below) |
- | # Select and apply the CartoGraf-15 profile from tiki-admin.php?page=profiles |
+ | # Select and apply this __CartoGraf_15__ profile from tiki-admin.php?page=profiles |
| # Follow the ((CartoGraf_15_Setup|profile Setup instructions)) | | # Follow the ((CartoGraf_15_Setup|profile Setup instructions)) |
| !! General Preferences | | !! General Preferences |
| {CODE(caption="YAML")} | | {CODE(caption="YAML")} |
- | instructions: Setup |
+ | #instructions: Setup |
| preferences: | | preferences: |
| feature_search_fulltext: n | | feature_search_fulltext: n |
| feature_search: y | | feature_search: y |
| feature_sefurl: y | | feature_sefurl: y |
- | allowRegister: y |
+ | allowRegister: n |
| browsertitle: CartoGraf Demo | | browsertitle: CartoGraf Demo |
| tracker_refresh_itemlink_detail: y | | tracker_refresh_itemlink_detail: y |
| toolbar_trackers: bold,list,numlist,wikiplugin_youtube | | toolbar_trackers: bold,list,numlist,wikiplugin_youtube |
| layout_add_body_group_class: y | | layout_add_body_group_class: y |
| + | layout_tabs_optional: n |
| feature_wiki_ext_icon: n | | feature_wiki_ext_icon: n |
| feature_syntax_highlighter: n | | feature_syntax_highlighter: n |
| + | search_error_missing_field: n |
| sitelogo_title: CartoGraf | | sitelogo_title: CartoGraf |
| sitelogo_alt: CartoGraf logo | | sitelogo_alt: CartoGraf logo |
| + | geo_enabled: y |
| {CODE} | | {CODE} |
| !! Temporary | | !! Temporary |
| {CODE(caption="YAML")} | | {CODE(caption="YAML")} |
| name: Setup | | name: Setup |
| url: ((Setup)) | | url: ((Setup)) |
| + | permissions: [ admin ] |
| + | - |
| + | name: Admin |
| + | url: tiki-admin.php |
| permissions: [ admin ] | | permissions: [ admin ] |
| - | | - |
| name: Register | | name: Register |
| url: tiki-register.php | | url: tiki-register.php |
| + | groups: [ Anonymous ] |
| - | | - |
| name: Demo | | name: Demo |
| nobox: y | | nobox: y |
| custom: "{if $prefs.language eq 'fr'}{wikiplugin _name='include' page='Footer' start='-FR-START-' stop='-FR-END-'}{/wikiplugin}{else}{wikiplugin _name='include' page='Footer' start='-EN-START-' stop='-EN-END-'}{/wikiplugin}{/if}" | | custom: "{if $prefs.language eq 'fr'}{wikiplugin _name='include' page='Footer' start='-FR-START-' stop='-FR-END-'}{/wikiplugin}{else}{wikiplugin _name='include' page='Footer' start='-EN-START-' stop='-EN-END-'}{/wikiplugin}{/if}" |
| + | - |
| + | type: module |
| + | ref: CustomDynamicCSS_module |
| + | data: |
| + | position: pagetop |
| + | order: 0 |
| + | name: Custom Dynamic CSS |
| + | groups: [ Anonymous, Registered ] |
| + | params: |
| + | nobox: y |
| + | custom: "{if $prefs.search_error_missing_field eq 'n'}{literal}<style type='text/css'>#error_report .alert {display: none}</style>{/literal}{/if}" |
| - | | - |
| type: module | | type: module |
| params: | | params: |
| id: $CartoGraf_Top_menu | | id: $CartoGraf_Top_menu |
- | type:horiz css:y menu_id:TopMenu translate:y nobox:y decorations:n notitle:y |
+ | type: horiz css: y menu_id: TopMenu translate: y nobox: y decorations: n notitle: y |
| style: "float: left; margin-left: 350px" | | style: "float: left; margin-left: 350px" |
| - | | - |
| name: Description | | name: Description |
| type: text_area | | type: text_area |
- | options: "1,,12" |
+ | options: toolbars: 1 height: 6 distinct: n wysiwyg: n samerow: 1 |
| tracker: $pointsOfInterest | | tracker: $pointsOfInterest |
| flags: [ public ] | | flags: [ public ] |
| name: Image | | name: Image |
| type: files | | type: files |
- | options: "2,image/*,1,img,,,1,n,$profileobject:imageBank$,2" |
+ | options: galleryId: 2 filter: image/* count: 1 displayMode: img replace: n uploadInModal: y image_x: 800 image_y: 800 |
| tracker: $pointsOfInterest | | tracker: $pointsOfInterest |
| flags: [ public ] | | flags: [ public ] |
| name: Description | | name: Description |
| type: text_area | | type: text_area |
- | options: "1,,12" |
+ | options: toolbars: 1 height: 6 distinct: n wysiwyg: n samerow: 1 |
| tracker: $zones | | tracker: $zones |
| flags: [ public ] | | flags: [ public ] |
| name: Instructions | | name: Instructions |
| type: text_area | | type: text_area |
- | options: "1,,15" |
+ | options: toolbars: 1 height: 6 distinct: n wysiwyg: n samerow: 1 |
| tracker: $maps | | tracker: $maps |
| order: 20 | | order: 20 |
| tracker: $maps | | tracker: $maps |
| flags: [ public, list, searchable ] | | flags: [ public, list, searchable ] |
- | options: "0,10,,,50 |
+ | options: "0,10,,,50" |
| order: 30 | | order: 30 |
| permname: shareCode | | permname: shareCode |
| !! File Galleries | | !! File Galleries |
- | User files needs to be added somewhere |
+ | User files need to be added somewhere |
| {CODE(caption=YAML)} | | {CODE(caption=YAML)} |
| objects: | | objects: |
| content: wikicontent:CartoGraf_MapSelector | | content: wikicontent:CartoGraf_MapSelector |
| {CODE} | | {CODE} |
| + | ! Known Issues |
| + | !! Regressions |
| + | (means it works fine in Tiki 12) |
| + | * Streetview images loaded remotely from Google after saving the marker do not load (403 forbidden even with API key filled in to control panels - seems missing lib reference in html head for some reason?) |
| + | * --Uploading files (images) via modal dialog does not work (returns error "File empty") ( see https://dev.tiki.org/item6350 )-- Workaround-ed by setting the height max size too. |
| ! Notes | | ! Notes |
- | * [https://tiki.org/TikiFestMontreal-Ottawa11#Maps_REAL_AMP_CartoGraf|CartoGraf was originally and officially launched on 2013-04-13 during the TikiFest Montréal/Ottawa in 2013] and is in production at https://cartograf.recitus.qc.ca/ (This site is in French) and at [https://cartograf.learnquebec.ca] (in English) |
+ | * [https://tiki.org/TikiFestMontreal-Ottawa11#Maps_REAL_AMP_CartoGraf|CartoGraf was originally and officially launched on 2013-04-13 during the TikiFest Montréal/Ottawa in 2013] and is in production at http://cartograf.recitus.qc.ca/ (This site is in French) and at [https://cartograf.learnquebec.ca] (in English) |
| ! Development Wiki | | ! Development Wiki |