Keyword

"000" appended to main class = "itemFullText"

  • Grant McWhirter
  • Grant McWhirter's Avatar Topic Author
  • Offline
  • New Member
More
9 years 7 months ago #140681 by Grant McWhirter
"000" appended to main class = "itemFullText" was created by Grant McWhirter
I've just installed the latest version of K2 on Joomla 3.3.

From installation I have had problems, in particular the 1146 issue that has been documented on here. I solved this issue by manually creating the tables, and I then performed an update.

I have no idea whether this previous issue has caused my current issue.

At the moment "000" is being appended to my main text. I've tried to different categories. In one I turned everything to hidden except title and full text, this category doesn't even show the dummy text I've created and only has "000", I then created a test category an made no changes to the settings, this does show the dummy text (as well is all of the category properties set on default).

Has anyone seen this, or is there a setting I have missed?

<div class="itemBody">

<!-- Plugins: BeforeDisplayContent -->

<!-- K2 Plugins: K2BeforeDisplayContent -->


<div class="itemHeader">
<!-- Item title -->
<h2 class="itemTitle"><span>

For employers

</span></h2>





</div>
<!-- Item Header end -->

<div class="clr"></div>



<!-- Item text -->
<div class="itemFullText">
000
</div>


<div class="clr"></div>



<!-- Plugins: AfterDisplayContent -->

<!-- K2 Plugins: K2AfterDisplayContent -->

<div class="clr"></div>
</div>

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #140695 by Krikor Boghossian
Replied by Krikor Boghossian on topic "000" appended to main class = "itemFullText"
Make sure that the "000" is not hardcoded in your template overrides.
This post will assist with which files you need to check getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #140869 by Grant McWhirter
Replied by Grant McWhirter on topic "000" appended to main class = "itemFullText"
Thanks, I had a look in item.php and there doesn't appear to be any hard coded text. Could it be coming from somewhere else?

<?php if(!empty($this->item->fulltext)): ?>
<?php if($this->item->params->get('itemIntroText')): ?>
<!-- Item introtext -->
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>
<?php if($this->item->params->get('itemFullText')): ?>
<!-- Item fulltext -->
<div class="itemFullText">
<?php echo $this->item->fulltext; ?>
</div>
<?php endif; ?>
<?php else: ?>
<!-- Item text -->
<div class="itemFullText">
<?php echo $this->item->introtext; ?>
</div>
<?php endif; ?>

<div class="clr"></div>

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #140900 by Krikor Boghossian
Replied by Krikor Boghossian on topic "000" appended to main class = "itemFullText"
Send a me a link please so I can take a look at it.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum