I've just put a nice natty Sharethis bar at the bottom of my site:
http://www.yourswisslifeline.com/
but since I added in this functionality, my friendly URLs have stopped working. I'm using Revo 2.1.5.
My template code is this:
[[$ysl_template_header]]
[[$ysl_template_sidebar]]
<div id="content">
[[*content]]
</div>
<script>
var options={ "publisher": "ed2c904e-ff0c-49d7-892d-5e46f26f0b9e", "logo": { "visible": false, "url": "", "img": "http://sd.sharethis.com/disc/images/demo_logo.png", "height": 45}, "ad": { "visible": true, "openDelay": "10", "closeDelay": "5"}, "livestream": { "domain": "", "type": "sharethis", "customColors": { "widgetBackgroundColor": "#707070", "articleLinkColor": "#ffffff"}}, "ticker": { "visible": false, "domain": "", "title": "", "type": "sharethis", "customColors": { "widgetBackgroundColor": "#707070", "articleLinkColor": "#FFFFFF"}}, "facebook": { "visible": true, "profile": "YourSwissLifeline"}, "fblike": { "visible": true, "url": ""}, "twitter": { "visible": false, "user": "sharethis"}, "twfollow": { "visible": true, "url": "http://twitter.com/swiss_lifeline"}, "custom": [{ "visible": false, "title": "Custom 1", "url": "", "img": "", "popup": false, "popupCustom": { "width": 300, "height": 250}}, { "visible": false, "title": "Custom 2", "url": "", "img": "", "popup": false, "popupCustom": { "width": 300, "height": 250}}, { "visible": false, "title": "Custom 3", "url": "", "img": "", "popup": false, "popupCustom": { "width": 300, "height": 250}}], "chicklets": { "items": ["facebook", "twitter", "linkedin", "sharethis", "googleplus", "email", "evernote"]}, "shadow": "solid", "background": "#acacac", "color": "#555555"};
var st_bar_widget = new sharethis.widgets.sharebar(options);
</script>
[[$ysl_template_footer]]
and my header chunk is this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>[[++site_name]] | [[*pagetitle]]</title>
<base href="[[++site_url]]" />
<link href="assets/Style/style.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html; charset=[[++modx_charset]]" />
<meta name="keywords" content="[[*meta-keywords]]" />
<meta name="description" content="[[*meta-description]]" />
</head>
<script type="text/javascript">var switchTo5x=true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript" src="http://s.sharethis.com/loader.js"></script>
<body>
<div id="container">
<div id="topimg">
</div>
<div id="tabsE">
<ul>
<li><a href="[[~1]]" title="Home"><span>Home</span></a></li>
<li><a href="[[~10]]" title="Contact us"><span>Contact us</span></a></li>
</ul>
</div>
Thanks in advance if anyone has any thoughts or ideas why this might be happening and how to rectify it!