Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround: Add tags on search page's title #94

Open
Naguissa opened this issue Mar 2, 2021 · 0 comments
Open

Workaround: Add tags on search page's title #94

Naguissa opened this issue Mar 2, 2021 · 0 comments

Comments

@Naguissa
Copy link

Naguissa commented Mar 2, 2021

Hello,

I've cloned repository on local and made a change, but as it's not cloned on my GitHub account I cannot do a pull-request.

I've added search tags on search results page title. It's useful for SEO purpose.

As I cannot do the push request now, I indicate the only 2 changes.

On controller/main.php, around lines 133 and 172 (my editor changes indentations to fit my style), search for:

return $this->helper->render('show_tag.html'

And change whole line to:

return $this->helper->render('show_tag.html', $this->user->lang('RH_TOPICTAGS_TAG_SEARCH') . ": " . implode(' ' . $mode . ' ', $tags));

You can enhance it and inject into translations, but I wanted a quick and easy fix to be able to donload new versions and reapply if it's not integrated in the extension....

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant