Support Forums

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

Your Time: Our Time:

Joomla Search showing SP Pagebuilder HTML code

Featured Lock Resolved Issue
I have a search on my page but it shows the following article title in the search results rather than just the highlighted title

1. <span class="highlight">Hawfinch</span> (LBRC) (Species) xxxxxxxx

(Species) is the category and xxxxxx is the article text

I have the highlight plugin enabled and added

span.highlight {background: #9BCC56; color: #fff; padding:0 3px;}

To my custom.css

In the rest of the text xxxxxx the word is highlighted but not the article title

How do i fix this?

Also do you now have a more permanent way of removing all the search criteria than this

https://www.joomshaper.com/blog/how-to-improve-search-results-page-in-joomla-3-4

As this will be changed back on an update i think

18 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi,

Please following the instruction.

1. Go to the file location and open the default_results.php file
templates/shaper_helix3/html/com_search/search/default_results.php
2. Find out the code

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


And replace with this code

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


-Thanks

pepperstreet

More than a month ago #Permalink
1. ) To my knowledge, the article title highlighting has been added/changed in recent Joomla versions.
If you got HTML CODE displayed, you might find the background infos and a Joomshaper comment over here:
https://github.com/joomla/joomla-cms/issues/16979

This should fix your results display.

2. ) Template overrides are the best way to customize your results page. The changes are save on updates. However, you should always check yourTemplate/html/... folder for "outdated" files and code. Over time, some things might get incompatible or deprecated.

Colin Casey

More than a month ago #Permalink
From what i can read the issue is ongoing and JooTheme have had to fix their template, are you sure this is not a template issue as it does not happen with the standard template

pepperstreet

More than a month ago #Permalink
...are you sure this is not a template issue as it does not happen with the standard template


Not 100% sure. I have to admit, I have overlooked that "Glamour" is Helix v2 based. And there is no html override in place... so it could be another issue or culprit.

The J! issue seem to be closed. I could not find any other topic.
Funnily, I can see the same issue in PROTOSTAR / J!3.8.1

---

FYI: I have tried the latest JoomlaShack WRIGHT framework update, and it does work. I have copied the override to Protostar and Helix2. It works.

But you are right with the missing highlight CSS styles. You have to add a background color rule as well.

pepperstreet

More than a month ago #Permalink
@Joomshaper
I guess I have found the culprit. There is a modified default_results.php inside the Helix2 system plugin. Please, update the file with the necessary fix:
https://github.com/JoomShaper/Helix-Joomla/blob/master/plugins/system/html/com_search/search/default_results.php

BTW, the system plugin is so persistant, that it even overrides the J! core output for Protostar or any other template without a proper override. You have to disable or remove the entire plugin, if you switch to another template.

Colin Casey

More than a month ago #Permalink
Sorry to say that did not fix it for me, so it looks like this is another SP Template problem that may be fixed sometime. Its starting to take for to long to even bother with

This all started as my client wanted to use SPpagebuilder addon in his site so it looks the same as SP Glamour. I rebuilt the site from SP Newskit to Glamour because no one would answer from support the simple question "How do i use fancy box in Newskit"

Now i am in the position that even a standard seach does not work

Using Joomshaper stuff can be such a nightmare, I really dont understand why i keep trying

Very annoyed yet again

pepperstreet

More than a month ago #Permalink
Sorry to say that did not fix it for me, so it looks like this is another SP Template problem that may be fixed sometime.


See my previous comment. The issue is in the HELIX2 system plugin files.
You would have to modify that Helix "core" file...
Or copy and fix it as a template override inside your Helix2 /html folder.

I have created a github issue:
https://github.com/JoomShaper/Helix-Joomla/issues/16

---

PS: Frankly speaking, the HELIX2 framework is quite out-dated. And you might notice the important difference to v3 and some other frameworks: It seem to override many J! core views and files. Not ideal. BTW, even the solid WARP frameworks have the same issues, because they include a copy of every J! core view. This was nice in the pre-HTML5 era... but nowadays... ;)

Colin Casey

More than a month ago #Permalink
So if I am using Shaper_glamour as my template, and that uses the Fancy Box addon, if I change to a later Helix 4 template a lot of site stops working.

This is rather poor design in SP Pagebuilder as a main part of Joomla is that you can change templates and not affect your site.

How do i change Shaper_Glamour to later template but keep my fancy box content?

pepperstreet

More than a month ago #Permalink
Shaper_glamour as my template, and that uses the Fancy Box addon...

Please, would you mind to use the existing topic and question. This is pretty off-topic...
https://www.joomshaper.com/forums/sp-pagebuilder-fancy-image-link-and-another-question

Colin Casey

More than a month ago #Permalink
Its not off topic at all, the issue here is that Joomshaper seen to produce templates and components that they do not support for future versions and templates.

That other topic was mine also and the answer is not good enough.

If you produce an add on in SP Pagebuilder, you should not remove it later as this will mess up all upgrades. In the same way as the search issue should be made to work in all versions

pepperstreet

More than a month ago #Permalink
Its not off topic at all, the issue here is that Joomshaper seen to produce templates and components that they do not support for future versions and templates.


I partly understand your disappointment, if something does not work as expected...
But I don't see a real problem, where Joomshaper is to blame for?!
The Glamour template has been updated, the HELIX2 framework seem to work in latest Joomla, and the PageBuilder v2 seem to work as well. Or what do you mean by "future versions"?

That other topic was mine also and the answer is not good enough.

I have read your topic. Actually, you were asking for a customization: Moving an Addon and its style from one template to a total different template (and framework version). Also it is PageBuilder related, it's no trivial task. Support is meant to be for product issues and general help.

If you produce an add on in SP Pagebuilder, you should not remove it later as this will mess up all upgrades.

As far as I can see, nothing has been removed. The "Fancy Image Link" is a special AddOn variant shipped with/for the "Glamour" template. I have the v1.5 template and the AddOn is in place. It comes with a special styling. This styling is bound with the template style and design.

Is there any issue with the latest PageBuilder version? Does the AddOn need a fix/update itself?

In the same way as the search issue should be made to work in all versions

Sure Helix2 is not the latest and greatest, but it is still maintained. Official support has not dropped. I guess it should work until J!4 is released. Regarding the global Search: IMHO, this is a minor cosmetic issue. The highlight CSS style was missing... And the recent J!3.7.x issue with the title highlight, was caused by the Joomla core changes! Obviously, this could need a quicker fix, but as mentioned earlier: Probably it simply slipped through. The staff might focus on current Helix3, and upcoming Helix and PageBuilder releases. Frankly, I can understand that not so crucial an older stuff might get lost in the daily business. This is no excuse, I just want to point out, that there was no crucial bug or something that breaks the site or compatibility.

Colin Casey

More than a month ago #Permalink
I still think you are missing the point, the fancy image was part of SP Pagebuilder and you dropped it in later versions so anyone who made a site using it cannot change the site to another Template from your range. Being able to change a template is a basic part of Joomla.

Understand that I use Joomshaper because my clients like the looks of the sites in the demo, but they look through and want bits from each.

I had used the fancy image on several sites, but wanted to use it on a Newskit site but it was gone, why remove a good addon, it seems silly to me.

All i want is a image with and effect like Fancy Image in Glamour or something similar so i can use one of your later templates rather than having to rebuild the site again to use helix 3.

May i suggest that you update your site templates to use Helix 3 and add fancy image addon back.

As to the search, try it yourself, its looks rubbish with the HTML being shown, very un-professional and it needs fixing as its a template issue.

I try to support Joomshaper when talking to other site builders but they all say the same, great demos that are difficult to achieve and too many changes in basics.

I have 5 orders for sites today and have to build them with other components as i simple cant wait for the answers.

May i suggest that you split the templates into Helix3 and others so I can show clients just the ones that you are fully supporting.

That is all I want to say, best of luck to you

bruece

More than a month ago #Permalink
This fixed the search results formatting error I was receiving in the Educon theme as well.

Thank you.

Hi,

Please following the instruction.

1. Go to the file location and open the default_results.php file
templates/shaper_helix3/html/com_search/search/default_results.php
2. Find out the code

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


And replace with this code

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


-Thanks

Toufiq - Staff

More than a month ago #Permalink
This fixed the search results formatting error I was receiving in the Educon theme as well.

Thank you.

Hi,

Please following the instruction.

1. Go to the file location and open the default_results.php file
templates/shaper_helix3/html/com_search/search/default_results.php
2. Find out the code

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


And replace with this code

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


-Thanks



Hi, Thanks for your reply. Yes, this fixes the educon also. :)

Colin Casey

More than a month ago #Permalink
Educon is Helix 3 and Glamour is Helix 2 and i had already tried this

Toufiq - Staff

More than a month ago #Permalink
Educon is Helix 3 and Glamour is Helix 2 and i had already tried this


Hi, Send me access of glamour template site via pm. Thanks

Paul Frankowski - Staff

More than a month ago #Permalink
In new version of Helix3 "default_results.php" file doesn't exist.
So you can delete that file as well.


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 114
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 114
Toufiq

Toufiq

Total Accepted Answers: 73
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 5
FUTURECLIENT

FUTURECLIENT

Total Accepted Answers: 2

115

Templates

296439

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