Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (21 votes)

85% thumbs up 14% thumbs down

How would you rate this answer?



Thank you for rating this answer.

How do I disable blogs from my site?

In Interspire Website Publisher NX 2.0 and above, there is a 'Disable blogs' option on your settings page under the 'Content Settings' tab.

If you are using Interspire Website Publisher NX 1.7 or below, you'll need to make some manual changes:

To disable blogs in Interspire Website Publisher, you just need to edit a few places in the templates. Using the Default template as an example, open up /templates/{your-template}/Default.html and find and remove:

%%Panel.RecentBlogsPanel%%
then open up /templates/{your-template}/Panels/SiteMenuPanel.html and find and delete:

<li class="viewblogs"><a href="%%GLOBAL_siteURL%%/%%LNG_urlBlogs%%">%%LNG_hpViewBlogs%%</a></li>

then open up /templates/Default/Panels/ViewAccountPanel.html. Firstly, find:

<li class="tablink"><a href="#" id="tab0" onClick="ShowTab(0)">%%LNG_authMyArticles%%</a></li>
 <li class="tablink"><a href="#" id="tab1" onClick="ShowTab(1)">%%LNG_authMyBlogs%%</a></li>
 <!-- Note: PagingBlog uses snippets starting with 'Paging' -->
 <li class="navlinks" id="paging1"><div style="display:%%GLOBAL_ShowPagingDividerBlog%%" class="TabPaging">%%GLOBAL_PagingBlog%%</div><li>
 <li class="navlinks" id="paging0" style="display:none">
 <!-- Note: Paging uses snippets starting with 'Paging' -->
 <div style="display:%%GLOBAL_ShowPagingDivider%%">%%GLOBAL_Paging%%</div>
 <li>


and change it to:

<li class="tablink"><a href="#" id="tab0" onClick="ShowTab(0)">%%LNG_authMyArticles%%</a></li>

 <!-- Note: PagingBlog uses snippets starting with 'Paging' -->

 <li class="navlinks" id="paging0" style="">
 <!-- Note: Paging uses snippets starting with 'Paging' -->
 <div style="display:%%GLOBAL_ShowPagingDivider%%">%%GLOBAL_Paging%%</div>
 <li>

Then find and remove:

<div style="display: %%GLOBAL_HideBlogPanel%%" id="div1">
 <h3>%%LNG_authMyBlogs%%</h3>
 <div class="Blogs">%%SNIPPET_BlogsList%%</div>
</div>

Also remove:

ShowTab(%%GLOBAL_ShowTab%%);
then open up /templates/Default/Panels/ViewAuthorPanel.html, find:

<ul id="tabnav">
 <li class="tablink"><a href="javascript:ShowTab(1)" id="tab1" >%%LNG_authBlogsByThisAuthor%%</a></li>
 <li class="tablink"><a href="javascript:ShowTab(0)" id="tab0" >%%LNG_authArticlesByThisAuthor%%</a></li>
</ul>
<div id="paging1" style="display:%%GLOBAL_ShowPagingDividerBlog%%" class="Paging">%%GLOBAL_PagingBlog%%</div>
<div id="paging0"style="display:%%GLOBAL_ShowPagingDivider%%" class="Paging">%%GLOBAL_Paging%%</div>

<div style="display: %%GLOBAL_HideArticleList%%" id="div0">   
 <h3><a align="left" valign="absmiddle" href='%%GLOBAL_siteURL%%/articlerss/author/%%GLOBAL_AuthorID%%' target='_blank'><img src="%%GLOBAL_imagePath%%/icon_Rss.gif" border="0" /></a>  %%LNG_authArticlesByThisAuthor%%</h3>
 <div class="Articles">%%SNIPPET_ArticleList%%</div>
</div>

<div style="display:%%GLOBAL_HideBlogList%%" id="div1">
 <h3> <a align="left" valign="absmiddle" href='%%GLOBAL_siteURL%%/blogrss.php?authorid=%%GLOBAL_AuthorID%%' target='_blank'><img src="%%GLOBAL_imagePath%%/icon_Rss.gif" border="0" /></a>   %%LNG_authBlogsByThisAuthor%%</h3>
 <div class="Blogs">%%SNIPPET_BlogsList%%</div>
</div>

Then change it to:
<ul id="tabnav">
 <li class="tablink"><a href="javascript:ShowTab(0)" id="tab0" >%%LNG_authArticlesByThisAuthor%%</a></li>
</ul>
<div id="paging0"style="display:%%GLOBAL_ShowPagingDivider%%" class="Paging">%%GLOBAL_Paging%%</div>

<div style="display: %%GLOBAL_HideArticleList%%" id="div0">   
 <h3><a align="left" valign="absmiddle" href='%%GLOBAL_siteURL%%/articlerss/author/%%GLOBAL_AuthorID%%' target='_blank'><img src="%%GLOBAL_imagePath%%/icon_Rss.gif" border="0" /></a>  %%LNG_authArticlesByThisAuthor%%</h3>
 <div class="Articles">%%SNIPPET_ArticleList%%</div>
</div>

Also remove:

ShowTab(%%GLOBAL_ShowTab%%);
The next step is to open up /includes/classes/class.page.php and remove these two lines:

$GLOBALS["sitemapText"] .= '<div class="HorizontalRule"> </div>';
$GLOBALS["sitemapText"] .= AL_TEMPLATE::_GetPanelContent("BlogMapPanel");

Then, open /templates/{your template}/Panels/SmallSearchPanel.html and remove (if this following line isn't there, don't worry about it, its template dependant if its there or not):

<option value="searchBlogs">%%LNG_hpBlogs%%</option>
Then, open /templates/{your template}/Panels/AdvancedSearchPanel.html and remove:

<input type="checkbox" name="searchWhat[]" value="searchBlogs" %%GLOBAL_searchBlogs%%>%%LNG_hpBlogs%%

That should remove any trace of the blogs on your site.

Lastly, open  /templates/{your template}/Panels/SyndicatePanel.html and remove:

<h1>%%LNG_hpBlogs%%</h1>
<p><a href='%%GLOBAL_siteURL%%/blogrss.php' target='_blank'>%%LNG_synBlogsRss%%</a> <a href="%%GLOBAL_siteURL%%/blogrss.php"><img src="%%GLOBAL_imagePath%%/icon_Rss_Small.gif" border=0></a></p>
<p>%%LNG_synBlogsIntro%%</p>

and in the same file:

<link href="%%GLOBAL_siteURL%%/blogrss.php" rel="alternate" type="application/rss xml" title="Blogs on %%GLOBAL_SiteName%%"/>
If you have any troubles, please send in a support ticket via your client area.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software