Unwanted microdata itemprop='text' string after Survey title

brandnew
brandnew
  • brandnew
  • 7 months ago

Hi maverick.

I'm using CommunitySurveys as a plugin to comment some articles, by add {LOADSURVEY ["id": x]} code.

After update CommunitySurveys form version 4.7.4 to 5.0.5 I have itemprop='text' string right after Survey title.

The whole code is:

<h1 class="no-space-top margin-bottom-10 survey-title">
<a href="link-to-survey.html"><span itemprop="headline">Survey title</span></a></h1>
<div class="survey-description">itemprop='text'</div>

I found that this is generated by line 63 of file:

/components/com_communitysurveys/layouts/default/survey/survey_intro.php

"echo $microdata->content($data->item->text)->property('text')->display();"

I don't know how can I fix this, except comment out this line.

 

I will be grateful for suggestions.

 

Best regards,

Brand New

 

Edit:

Joomla 3.8.13

PHP 5.6.31


Access to viewing replies is restricted.
Showing 2 of 2 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai