Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do Not Merge] Add Shared Themeing Functionality #28

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MarkhamShofner
Copy link

@MarkhamShofner MarkhamShofner commented Jul 13, 2016

Opening this to discuss how to bring shared themeing into app templates.

Shared Themes

Concept

The purpose of this forked repo is to streamline the process for developers to inherit theming from parent applications to child applications, and fulfill the shared-theme component of hub-ready apps. An example app and attached docs will allow internal Esri developers (and eventually Citizens) to create hub-ready applications in terms of shared-theming, whether they are starting from scratch or looking to make an existing app hub-ready.

Walkthrough


Observe the example site

  1. Clone this repo
  2. Run http-server from the directory (download http-server if you do not have it on your machine)
    • Another option is to run “python -m SimpleHTTPServer 8000” from the directory with the index.html file.
  3. Open up your locally hosted page and observe the example site, adding "/?theme=580".
e.g. - http://127.0.0.1:8080/?theme=580

Working sites ids to use in the query string (http://127.0.0.1:8080/?theme=9591)

  • 9593
  • 9594
  • 9595

An additional option to adjust the mixed-in configuration include urls (against the open data v2 API). Working urls to use pre-query string (indicate use with ?theme=current) [need to be enabled in /etc/hosts file]

  • logotesting2.dcdev.opendata.arcgis.com
  • logotesting3.dcdev.opendata.arcgis.com
  • logotesting4.dcdev.opendata.arcgis.com
e.g. - logotesting2.dcdev.opendata.arcgis.com:8080/?theme=current

Another option is adjust the config parameters of an existing application on ArcGIS Online. Working appIds (configs available for viewing in the Configuration Parameters section of the "settings" tab of the related appId)

e.g. - http://127.0.0.1:8080/?appid=06f0c9022dc6411598babb9cdbc768fc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant