-
AuthorPosts
-
August 19, 2008 at 11:56 am #132386
How is it possible to disable the search result to display the category and sections when searching, you’ll understand what I mean when you look at the image provided..
Thanks in advance
lcristian Friendlcristian
- Join date:
- August 2008
- Posts:
- 174
- Downloads:
- 0
- Uploads:
- 3
- Thanked:
- 31 times in 26 posts
August 19, 2008 at 6:34 pm #266073You need to hack one file :
For Joomla 1.0.15 :
/components/com_search/search.html.php
at line 182 comment this code
<span class="small<?php echo $params->get( 'pageclass_sfx' ); ?>">
(<?php echo $row->section; ?>)
</span>For Joomla 1.5.6 :
/components/com_search/views/search/tmpl/default_results.phpat line 27 comment this code
<span class="small<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
(<?php echo $this->escape($result->section); ?>)
</span>Happy hacking.
1 user says Thank You to lcristian for this useful post
August 20, 2008 at 9:20 am #266266I am using 1.5.3 the second code you give me works, all I had to do is comment or take out the following from it and that is exactly what I wanted.
Thanks for that…… YOU ARE A STAR
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by klmklm 16 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Disable category list in search result
Viewing 3 posts - 1 through 3 (of 3 total)