Hi BobRay,
I have installed NewsPublisher and it seems to be almost working.
I am having trouble getting NewsPublisher to work as per your instructions @
http://bobsguides.com/newspublisher-tutorial.html
My site currently has a button that says ’In noShow list’, and when I click it the page refreshes.
Is this a permissions issue? I tried adding ’allow_modx_tags’ to the Context Permissions list for the admin group as I thought that might have been the problem, but that hasn’t altered anything.
When I go straight to the NewsPublisher page I created I see the error message ’Create/Edit Resource
Sorry . . . There were one or more problems in producing the form:
You do not have permission to edit resources containing modx tags.’
I feel like I’m so close to solving this! Your help is very much appreciated.
For reference, I have included my code below:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Felix The Cat</title>
<base href="[[++site_url]]" />
<meta http-equiv="Content-Type" content="text/html; charset=[(modx_charset)]" />
<link href="assets/templates/felix/styles/felix.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js"></script>
<script type="text/javascript" src="http://dev.jquery.com/view/tags/ui/latest/ui/effects.core.js"></script>
<script type="text/javascript" src="http://dev.jquery.com/view/tags/ui/latest/ui/effects.slide.js"></script>
<script type="text/javascript" src="assets/templates/felix/styles/supersized.2.0.js"></script>
<script type="text/javascript">
$(function(){
$.fn.supersized.options = {
startwidth: 640,
startheight: 480,
vertical_center: 1,
slideshow: 1,
navigation: 1,
transition: 1, //0-None, 1-Fade, 2-slide top, 3-slide right, 4-slide bottom, 5-slide left
pause_hover: 0,
slide_counter: 1,
slide_captions: 1,
slide_interval: 7000
};
$('#supersize').supersized();
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17031994-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<!--Loading display while images load-->
<div id="loading"> </div>
<!--Slides-->
<div id="supersize">
<div><img src="/felixthecat/modx//assets/templates/felix/images/felix1.jpg" title="Felix Bar Interior" alt="Felix Bar Interior"></div>
<div><img src="/felixthecat/modx/assets/templates/felix/images/felix2.jpg" title="Felix Bar Interior" alt="Felix Bar Interior"></div>
<div><img src="/felixthecat/modx/assets/templates/felix/images/felix3.jpg" title="Felix Bar Interior" alt="Felix Bar Interior"></div>
<div><img src="/felixthecat/modx/assets/templates/felix/images/felix4.jpg" title="Felix Bar Interior" alt="Felix Bar Interior"></div>
<div><img src="/felixthecat/modx/assets/templates/felix/images/felix5.jpg" title="Felix Bar Interior" alt="Felix Bar Interior"></div>
<div><img src="/felixthecat/modx/assets/templates/felix/images/felix6.jpg" title="Felix Bar Interior" alt="Felix Bar Interior"></div>
<div><img src="/felixthecat/modx/assets/templates/felix/images/felix7.jpg" title="Felix Bar Interior" alt="Felix Bar Interior"></div>
<div><img src="/felixthecat/modx/assets/templates/felix/images/felix8.jpg" title="Felix Bar Interior" alt="Felix Bar Interior"></div>
</div>
<div id="logo">
<a href="index.php?id=1"><img src="/felixthecat/modx/assets/templates/felix/images/felixlogo.png" title="Felix Logo" alt="Felix Bar Logo"></a></div>
<!-- NAVIGATION -->
<div id="navigation">
<ul id="navlist">
<li class="button"><a href="javascript:void(0)" onClick="window.location.href='index.php?id=1'">HOME</a>
<li class="button"><a href="javascript:void(0)" onClick="window.location.href='index.php?id=3'">FUNCTIONS</a>
<li class="button"><a href="javascript:void(0)" onClick="window.location.href='index.php?id=4'">FOOD AND WINE</a>
<li class="button"><a href="javascript:void(0)" onClick="window.location.href='index.php?id=5'">WHAT'S ON</a>
<li class="button"><a href="javascript:void(0)" onClick="window.location.href='index.php?id=6'">CONTACT</a>
</ul>
</div>
<div id="facebookpng" style="height: 45px">
<a href="http://www.facebook.com/TheFelixBar" target="_blank"><img src="/felixthecat/modx/assets/templates/felix/images/facebookpng45.png" title="Facebook Link" alt="Felix Facebook Link"></a>
</div>
<div id="twitterpng" style="height: 45px">
<a href="http://twitter.com/FelixBarComedy" target="_blank"><img src="/felixthecat/modx/assets/templates/felix/images/twitterpng45.png" title="Twitter Link" alt="Felix Twitter Link"></a>
</div>
<!-- END NAVIGATION -->
<!-- CONTENT -->
<div id="content">
<div class="contentframe">
<p><h1>WELCOME TO THE FELIX BAR</h1></p>
<br>
[[*Content]]
</div>
<!-- CONTENT -->
<!--NewsPublisher BUTTON-->
[[!NpEditThisButton? &debug=`1`]]
</body>
</html>