Skip to content

Commit

Permalink
[TASK] Prevent search engine indexing of helpful links and comment form
Browse files Browse the repository at this point in the history
  • Loading branch information
Zillion01 committed Aug 29, 2019
1 parent c08f8ce commit 0458cbc
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Configuration/TypoScript/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ plugin.tx_jpfaq_faq {
page {
# First include jQuery! Unset tx_jpfaq_jquery if you have your own jQuery lib
includeJSFooter {
tx_jpfaq_jquery = https://code.jquery.com/jquery-3.3.1.min.js
tx_jpfaq_jquery = https://code.jquery.com/jquery-3.4.1.min.js
tx_jpfaq_jquery {
disableCompression = 1
excludeFromConcatenation = 1
Expand Down
6 changes: 5 additions & 1 deletion Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,17 @@

ChangeLog
=========
9.5.3
"""""
Prevent search engine indexing of helpful links and comment form (thx to Nemo64)

9.5.2
"""""
Some code improvements, added settings for manual

9.5.1
"""""
Added to packagist, updated schema.org
Added to packagist, updated schema.org (thx to Cristian Fries and Starkmann)

9.5.0
"""""
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# jpfaq
Frequently Asked Questions (FAQ) plugin. With categories, on-the-fly search, customer helpfulness tracking and comments.
Frequently Asked Questions (FAQ) plugin. Optional features: categories, on-the-fly search, customer helpfulness tracking and comments.

For TYPO3 9.5

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="jpfaqCatCommentContainerIntro">
<span class="jpfaqCatCommentContainerIntroText"><f:translate key="tx_jpfaq_category_commentform_trigger_intro"/></span>
<f:link.action action="comment" controller="Categorycomment" arguments="{catUids:restrictToCategories, pluginUid:currentUid}"
class="jpfaqCatCommentContainerLink">
class="jpfaqCatCommentContainerLink" rel="nofollow">
<f:translate key="tx_jpfaq_category_commentform_trigger_linktext"/>
</f:link.action>
</div>
Expand Down
2 changes: 2 additions & 0 deletions Resources/Private/Partials/Question/Helpfulness.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@

<f:link.action action="helpfulness" arguments="{question:question, helpful:1, pluginUid:currentUid}"
class="jpfaqQuestionHelpful"
rel="nofollow"
additionalAttributes="{f:if(condition:'{gtag.enable}', then: '{data-gtagevent: gtag.event, data-gtagcategory: gtag.category, data-gtaglabel: question.question, data-gtagvalue: gtag.valueHelpful}', else: '{data:0}')}">
<f:translate key="tx_jpfaq_domain_model_question.helpful"/>
</f:link.action>
/
<f:link.action action="helpfulness" arguments="{question:question, helpful:0, pluginUid:currentUid}"
class="jpfaqQuestionNotHelpful"
rel="nofollow"
additionalAttributes="{f:if(condition:'{gtag.enable}', then: '{data-gtagevent: gtag.event, data-gtagcategory: gtag.category, data-gtaglabel: question.question, data-gtagvalue: gtag.valueUnhelpful}', else: '{data:0}')}">
<f:translate key="tx_jpfaq_domain_model_question.notHelpful"/>
</f:link.action>
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'uploadfolder' => false,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '9.5.2',
'version' => '9.5.3',
'constraints' =>
array(
'depends' =>
Expand Down

0 comments on commit 0458cbc

Please sign in to comment.