- Posts: 13
- Thank you received: 0
QUESTION: How to set title of search results?
-
l.degroot01
Inactive member - Topic Author
- New Member
Less
More
11 years 9 months ago - 11 years 9 months ago #27450
by l.degroot01
QUESTION: How to set title of search results? was created by l.degroot01
On my website
www.lesliedegroot.nl
the title of the search results is displayed as h1, but i would like to change it to h2, so it would look the same as the rest of the website.
How can i accomplish that?
How can i accomplish that?
Last edit: 11 years 9 months ago by l.degroot01.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #27457
by ivan.milic
Replied by ivan.milic on topic QUESTION: How to set title of search results?
You can override
components\com_search\views\search\tmpl\default.php
by putting copy
to:
templates\hot_flashes\html\com_search\search\default.php
then edit second one
components\com_search\views\search\tmpl\default.php
by putting copy
to:
templates\hot_flashes\html\com_search\search\default.php
then edit second one
Please Log in to join the conversation.
-
l.degroot01
Inactive member - Topic Author
- New Member
Less
More
- Posts: 13
- Thank you received: 0
11 years 9 months ago - 11 years 9 months ago #27491
by l.degroot01
Replied by l.degroot01 on topic QUESTION: How to set title of search results?
I've tried this, but "templates\hot_flashes\html\com_search\search\default.php" does not exist.
I've got "templates/hot_flashes/html/mod_search/default.php" Do i have to overwrite that one?
I've got "templates/hot_flashes/html/mod_search/default.php" Do i have to overwrite that one?
Last edit: 11 years 9 months ago by l.degroot01.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #27506
by ivan.milic
Replied by ivan.milic on topic QUESTION: How to set title of search results?
Ok, you don't have it, so you put it there. That is called overriding so if file don't exist joomla default will be used. if you provide it then your will be used.
Please Log in to join the conversation.
Time to create page: 0.157 seconds