How to disable tag cloud
Moderator: Thorsten
Re: How to disable tag cloud
Hello,
I've commented out the following lines in artikel.tpl and I still see the tag cloud, is there something I'm missing?
# [tagsAvailable]
# {renderTags}
# [/tagsAvailable]
I'm currently on version 2.8.1
I've commented out the following lines in artikel.tpl and I still see the tag cloud, is there something I'm missing?
# [tagsAvailable]
# {renderTags}
# [/tagsAvailable]
I'm currently on version 2.8.1
-
- Posts: 40
- Joined: Fri Apr 05, 2013 7:46 pm
Re: How to disable tag cloud
You have to use HTML comments, not bash-style commenting.
http://www.w3schools.com/tags/tag_comment.asp
http://www.w3schools.com/tags/tag_comment.asp
Re: How to disable tag cloud
Thanks for that info.
I commented out each line as explained in the linked document and the tagcloud still displays, I also removed all content from tagcloud.tpl. Any other ideas?
I commented out each line as explained in the linked document and the tagcloud still displays, I also removed all content from tagcloud.tpl. Any other ideas?
-
- Posts: 40
- Joined: Fri Apr 05, 2013 7:46 pm
Re: How to disable tag cloud
All I did in /assets/template/default/artikel.tpl:
Make sure you're editing the right file, especially if you have more than one template/theme installed.
Code: Select all
<!-- Commented out to disable tag clouds
[tagsAvailable]
{renderTags}
[/tagsAvailable]
-->
Re: How to disable tag cloud
I added that in and restarted apache, still seeing the Tags option on the right. If I remove all tags I no longer see the tags option on the right when viewing an individual FAQ, but I also lose the "Records in this category section", which is something I want to keep.
I haven't installed any additional themes, I just have the default.
I haven't installed any additional themes, I just have the default.
-
- Posts: 40
- Joined: Fri Apr 05, 2013 7:46 pm
Re: How to disable tag cloud
Sorry, I can't help you more than that... I don't know the application that much.
Re: How to disable tag cloud
Hi,
just delete
from the template file instead of hiding it.
bye
Thorsten
just delete
Code: Select all
[tagsAvailable]
{renderTags}
[/tagsAvailable]
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: How to disable tag cloud
I removed all 3 of the lines and restarted apache again, same result. When I view individual FAQs I still see the FAQ cloud on the right, is there anywhere else to look?
Re: How to disable tag cloud
Hi,
check catandtag.tpl, too
bye
Thorsten
check catandtag.tpl, too
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: How to disable tag cloud
I commented out the following:
<!-- <section class="well">
<header>
<h3>{writeTagCloudHeader}</h3>
</header>
<div id="tagcloud-content">
{writeTags}
</div>
</section>
-->
And it appears to have fixed the issue. Thanks for the help.
<!-- <section class="well">
<header>
<h3>{writeTagCloudHeader}</h3>
</header>
<div id="tagcloud-content">
{writeTags}
</div>
</section>
-->
And it appears to have fixed the issue. Thanks for the help.