Strange text on the page

  • celyn
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 1 month ago #34356 by celyn
I cannot track down where the text '_:default' is coming from.

unclesofgroove.co.uk/index.php/services

and

unclesofgroove.co.uk/index.php/music

Any ideas?

Thanks.

Jake

Please Log in to join the conversation.

More
11 years 1 month ago #34361 by ivan.milic
Replied by ivan.milic on topic Strange text on the page
Open:

templates\hot_responsive_portfolio\html\com_content\featured\default_item.php

this code (~line 154)
Code:
<p class="readmore"> <a href="<?php echo $link; ?>"> <?php if (!$params->get('access-view')) : echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE'); elseif ($readmore = $this->item->alternative_readmore) : echo $readmore; if ($params->get('show_readmore_title', 0) != 0) : echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit')); endif; elseif ($params->get('show_readmore_title', 0) == 0) : echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE'); else : echo JText::_('COM_CONTENT_READ_MORE'); echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit')); endif; ?></a> </p>

replace with:
Code:
<p class="readmore"> <a href="<?php echo $link; ?>"> <?php echo JText::_('COM_CONTENT_READ_MORE'); ?></a> </p>

Please Log in to join the conversation.

  • celyn
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 1 month ago #34363 by celyn
Replied by celyn on topic Strange text on the page
Thanks for your quick reply.

I have made the changes to the file, but I am afraid that the text is still appearing. I have flushed the browser's cache and used another browser.

Do you have another suggestion?

Thanks again.

Please Log in to join the conversation.

More
11 years 1 month ago #34370 by ivan.milic
Replied by ivan.milic on topic Strange text on the page
do the same for:

templates\hot_responsive_portfolio\html\com_content\category\blog_item.php

Please Log in to join the conversation.

  • celyn
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 1 month ago #34412 by celyn
Replied by celyn on topic Strange text on the page
Thanks again.

Again, no change.

If it helps, I used the hotstart installation to get this site up and running.

Regards.

Jake

Please Log in to join the conversation.

More
11 years 1 month ago #34420 by ivan.milic
Replied by ivan.milic on topic Strange text on the page
Only thing left are files in :

templates\hot_responsive_portfolio\html\com_content\article\

in all of them:
Code:
<p class="readmore"> <a href="<?php echo $link; ?>"> <?php $attribs = json_decode($this->item->attribs); ?> <?php if ($attribs->alternative_readmore == null) : echo JText::_('COM_CONTENT_REGISTER_TO_READ_MORE'); elseif ($readmore = $this->item->alternative_readmore) : echo $readmore; if ($params->get('show_readmore_title', 0) != 0) : echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit')); endif; elseif ($params->get('show_readmore_title', 0) == 0) : echo JText::sprintf('COM_CONTENT_READ_MORE_TITLE'); else : echo JText::_('COM_CONTENT_READ_MORE'); echo JHtml::_('string.truncate', ($this->item->title), $params->get('readmore_limit')); endif; ?></a> </p>

replace with:
Code:
<p class="readmore"> <a href="<?php echo $link; ?>"> <?php echo JText::_('COM_CONTENT_READ_MORE'); ?> </a> </p>

Please Log in to join the conversation.

Time to create page: 0.169 seconds
Powered by Kunena Forum