|
|
| __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# Follow the ((CartoGraf_Setup|profile Setup instructions)) |
+ | # Select and apply this __CartoGraf_15__ profile from tiki-admin.php?page=profiles# Follow the ((CartoGraf_15_Setup|profile Setup instructions)) |
| We hope you like it and feel free to join the Tiki community! | | We hope you like it and feel free to join the Tiki community! |
| ! Theme | | ! Theme |
- | * As for ongoing theme development, code is on https://sourceforge.net/p/tikiwiki/code/HEAD/tree/users/cartograf/ ( -+svn checkout https://svn.code.sf.net/p/tikiwiki/code/users/cartograf cartograf+- ) |
+ | * As for ongoing theme development, the code is on https://sourceforge.net/p/tikiwiki/code/HEAD/tree/users/cartograf/cartograf_tiki15/* You can also use SVN to get all the latest code developed by using the following command:{CODE()}svn checkout https://svn.code.sf.net/p/tikiwiki/code/users/cartograf cartograf{CODE} |
| ! Pages included by this profile | | ! Pages included by this profile |
| * ((CartoGraf_HomePage)) | | * ((CartoGraf_HomePage)) |
| * ((CartoGraf_Footer)) | | * ((CartoGraf_Footer)) |
- | * ((CartoGraf_Setup)) |
+ | * ((CartoGraf_15_Setup)) |
| * ((CartoGraf_Help)) | | * ((CartoGraf_Help)) |
- | * ((CartoGraf_Map)) |
+ | * ((CartoGraf_15_Map)) |
| * ((CartoGraf_MapCanvasShare)) | | * ((CartoGraf_MapCanvasShare)) |
| * ((CartoGraf_MapCanvasSolo)) | | * ((CartoGraf_MapCanvasSolo)) |
| !! 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 browsertitle: CartoGraf Project |
+ | allowRegister: n browsertitle: CartoGraf Demo |
| tracker_refresh_itemlink_detail: y | | tracker_refresh_itemlink_detail: y |
| geo_always_load_openlayers: y | | geo_always_load_openlayers: 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")} |
| {CODE(caption=YAML)} | | {CODE(caption=YAML)} |
| preferences: | | preferences: |
- | theme: CartoGraf.css |
+ | theme: CartoGraf |
| feature_fixed_width: n | | feature_fixed_width: n |
| jquery_ui_selectmenu: y | | jquery_ui_selectmenu: y |
| 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" |
| - | | - |
| groups: [ Anonymous ] | | groups: [ Anonymous ] |
| params: | | params: |
| + | bootstrap: n |
| id: $CartoGraf_RightEdge_menu | | id: $CartoGraf_RightEdge_menu |
| menu_id: RightEdgeMenu | | menu_id: RightEdgeMenu |
| feature_mytiki: n | | feature_mytiki: n |
| feature_trackers: y | | feature_trackers: y |
- | geo_tilesets: [mapquest_street, mapquest_aerial, google_street, google_satellite, google_physical, google_hybrid, blank] |
+ | geo_tilesets: [openstreetmap, google_street, google_satellite, google_physical, google_hybrid, blank] |
| geo_google_streetview: y | | geo_google_streetview: y |
| geo_google_streetview_overlay: y | | geo_google_streetview_overlay: y |
| 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 |
| validation: regex | | validation: regex |
- | validation_param: \\w* |
+ | validation_param: \w* |
| validation_message: Only letters and numbers are allowed in share codes | | validation_message: Only letters and numbers are allowed in share codes |
| - | | - |
| !! 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: |
| owner: admin | | owner: admin |
| archives: 5 | | archives: 5 |
- | flags: [] |
+ | flags: [visible] |
| init_files: | | init_files: |
| - https://profiles.tiki.org/pics/icons/plugin.png | | - https://profiles.tiki.org/pics/icons/plugin.png |
| description: Post-Profile Setup Instructions | | description: Post-Profile Setup Instructions |
| lang: en | | lang: en |
- | content: wikicontent:CartoGraf_Setup |
+ | content: wikicontent:CartoGraf_15_Setup |
| - | | - |
| type: wiki_page | | type: wiki_page |
| data: | | data: |
| name: Map | | name: Map |
- | content: wikicontent:CartoGraf_Map |
+ | content: wikicontent:CartoGraf_15_Map |
| - | | - |
| type: wiki_page | | type: wiki_page |
| 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 |
| Moved to [https://dev.tiki.org/CartoGraf]. | | Moved to [https://dev.tiki.org/CartoGraf]. |
| + | -=Aliases=- |
| + | (alias(CartoGraf-15)) | (alias(CartoGraf for Tiki 15)) |