Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Search fails to compile tag

Featured Lock Resolved Bug
Hi,

The template search doesn't seem to be able to compile the <span> tag on my local site, but also not on the JS Rhino demo (I haven't checked the other templates).

3. Here's Why the Head of Nike's Basketball <span class="highlight">business</span>
(Rhino)


http://demo.joomshaper.com/2017/rhino/index.php/component/search/?searchword=business&searchphrase=all&Itemid=437

6 Answers

Mohammed Ahmed

More than a month ago #Permalink
Having looked at the defaults_results.php file in the rhino -> html -> com_search folder, I've noticed the following to fix this;

Line 21 & 24 needs to go from:

<?php echo $this->escape($result->title);?>


Should be:

<?php echo $result->title; ?>

Paul Frankowski - Staff

More than a month ago #Permalink
Hi
You can also delete
templates\shaper_educon\html\com_search\search\default_results.php

Josh Douglas

More than a month ago #Permalink
Hi,

I've also had this issue. Mohammed's changes fixed this for me. Thanks!

Now after the results, I get a space and 3 dots ( ...)

Please see attached image and website

How do I get rid of this?

Thanks

Attachments (1)

  • Screen Shot 2018-11-29 at 16.00.21.png
    Screen Shot 2018-11-29 at 16.00.21.png 86.3 KB

Mohammed Ahmed

More than a month ago #Permalink
I think the item is called "About..."?

Josh Douglas

More than a month ago #Permalink
I think the item is called "About..."?


Hi Mohammed,

The menu item is just called "About" something in search is adding the space and the dots. This is happening with all my menu items apart from home.

Thanks


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 125
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 117
Toufiq

Toufiq

Total Accepted Answers: 62
Pavel

Pavel

Total Accepted Answers: 5
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us