- Posts: 21
COMMUNITY FORUM
Page title on search results page
- Sebastian van Greunen
-
Topic Author
- Offline
- Junior Member
Less
More
14 years 11 months ago #96321
by Sebastian van Greunen
Page title on search results page was created by Sebastian van Greunen
Hi fans
can anyone please tell me how to show a page title above the item lists. I assume it is a conent or component heading but it does not show. I would like the title to say:
"search results for: (whatever the search keywords were)". Is this at all possible?
thanks
can anyone please tell me how to show a page title above the item lists. I assume it is a conent or component heading but it does not show. I would like the title to say:
"search results for: (whatever the search keywords were)". Is this at all possible?
thanks
Please Log in or Create an account to join the conversation.
- Simon Wells
-
- Offline
- Platinum Member
Less
More
- Posts: 955
14 years 11 months ago #96322
by Simon Wells
Replied by Simon Wells on topic Page title on search results page
Hi,
You can add any specific code you like in to the generic.php file.
Try checking the com_search pages and borrow the relevant code and adapt it.
Feel free to come back and share your success.
Simon
You can add any specific code you like in to the generic.php file.
Try checking the com_search pages and borrow the relevant code and adapt it.
Feel free to come back and share your success.
Simon
Please Log in or Create an account to join the conversation.
- Sebastian van Greunen
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
14 years 11 months ago #96323
by Sebastian van Greunen
Replied by Sebastian van Greunen on topic Page title on search results page
Thanks Simon, I simply had to add ,1 after 'show page title' & adjust the css.
<?php if ( $this->params->get( 'show_page_title', 1 ) ) : ?>
<?php if ( $this->params->get( 'show_page_title', 1 ) ) : ?>
Please Log in or Create an account to join the conversation.
- Denise Montana
-
- Offline
- New Member
Less
More
- Posts: 13
13 years 4 months ago #96324
by Denise Montana
Replied by Denise Montana on topic Re: Page title on search results page
Joomla 2.5.8
K2 2.6.1
I'm trying to do the same thing -- add a heading to a page of search results. I made the adjustment to the generic.php file that is described here but it didn't do anything on the front end. Does anyone know of a solution for this in the newest versions of Joomla and K2?
K2 2.6.1
I'm trying to do the same thing -- add a heading to a page of search results. I made the adjustment to the generic.php file that is described here but it didn't do anything on the front end. Does anyone know of a solution for this in the newest versions of Joomla and K2?
Please Log in or Create an account to join the conversation.