Select to view content in your preferred language

adding Twitter and Facebook links

3464
4
02-06-2014 09:31 AM
JosephCartier
Emerging Contributor
Hello,
Where can I add the URLs for our Facebook and Twitter accounts using Story Maps Tour?  I see where in the config file the true/false statements are but where is the URL found?

/ Control display of Facebook and Twitter links
HEADER_SOCIAL: {
  facebook: true, 
                             twitter: true,
  bitly: {
   enable: true,
   login: "esristorymaps",
   key: "R_14fc9f92e48f7c78c21db32bd01f7014"
  }
},
  },


Thanks,
Joe
0 Kudos
4 Replies
GregoryL_Azou
Deactivated User
Hi,

That's not possible by configuration.
But you can certainly hide buttons and use the configurable link for that:

// Header top right link
HEADER_LINK_TEXT: "A story map <a href='http://twitter.com'><img src='https://g.twimg.com/Twitter_logo_blue.png' width='12px' /></a> <a href='http://facebook.com/'>Facebook</a>",
HEADER_LINK_URL: "",


It should be possible to use image there
0 Kudos
JosephCartier
Emerging Contributor
ok I will see if I can do that.

Thanks,
Joe
0 Kudos
JosephCartier
Emerging Contributor
Hi,

That's not possible by configuration.
But you can certainly hide buttons and use the configurable link for that:

// Header top right link
HEADER_LINK_TEXT: "A story map <a href='http://twitter.com'><img src='https://g.twimg.com/Twitter_logo_blue.png' width='12px' /></a> <a href='http://facebook.com/'>Facebook</a>",
HEADER_LINK_URL: "",


It should be possible to use image there


That worked!! Thank You Very Much!!
Joe
0 Kudos
GregoryL_Azou
Deactivated User
You are welcome.
By the way it is also possible to apply that same configuration in the hosted version through Settings > Header.
We recommend using the hosted version to benefits from periodic updates.
0 Kudos