Forum Replies Created
-
AuthorPosts
-
Juraj Benak
ParticipantApologies, that did work! I just renamed the file and reuploaded the new one with the same name but SP automatically re-linked all CEWP to the old file so hence didn’t reflect!
Thanks Alex!
Juraj Benak
ParticipantUnfortunately that still shows incorrectly. I’ve tried using private mode but still the same result. Anything else I can try?
Juraj Benak
ParticipantYes it does. I hovered over the top and it shows 2.6.3
Or perhaps it’s because of this script you’ve given me?
<a href="//ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js">//ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js</a> var cBoxCommentTicker = 100; setInterval(function(){ cBoxCommentTicker = 3000; jQuery(".ms-blog-postBox").not(".commentBox").each(function(){ jQuery(this).addClass("commentBox"); var href = jQuery(this).find("a:first").attr("href"); var id = href.substring(href.lastIndexOf("/")); getCBoxCommentCount(this,id); }); },cBoxCommentTicker); function getCBoxCommentCount(elm,id){ jQuery.ajax({ "url": _spPageContextInfo.webServerRelativeUrl+"/_api/web/lists/getbytitle('SPJS-CommentBox')/items?$filter=substringof('"+id+"',Title)", "method": "GET", "headers": { "Accept": "application/json; odata=verbose" }, "success": function (data) { jQuery(elm).find(".ms-blog-command-noLeftPadding").html(data.d.results.length+" comments"); }, "error": function (err) { // console.log(err); } }); }
Juraj Benak
ParticipantI also wanted to add that I have blogmode enabled
Juraj Benak
ParticipantThanks Alexander – I do have the latest version but it still doesn’t seem to be working. Do I need to refresh or reindex? Or does it only work for new ones, not the old ones?
Attachments:
Juraj Benak
ParticipantThanks Alexander, I got that sorted but how do I enter it now into a blog and make sure that I can have a conversation after a each new blog, without intervening?
-
AuthorPosts