Search output as blog listing PRETEXT only

  • michelollivier
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 7 months ago #1469 by michelollivier
Search output as blog listing PRETEXT only was created by michelollivier
Hi,

I have articles with complex output in PRETEXT (with many content plugins embeded like slideshow and video) and also very complex FULL TEXT.

Is it possible to get out of cp_module_search a blog listing only PRETEXT articles (as it), without any title ?

Regards
Michel

Please Log in or Create an account to join the conversation.

More
10 years 7 months ago #1470 by andrea_4g
Replied by andrea_4g on topic Search output as blog listing PRETEXT only
'Only Introtext' is not among Custom Properties set of views.

However it is fairly straightforward to modify the Custom Properties layout to meet that requirement. The recommended path is to make a template override, so that future updates of Custom Proerties won't overwrite your customization.

- create directory com_customproperties/search for the overridden Custom Properties layout in templates/<your template>/html/
- copy the original CP file components/com_customproperties/views/search/tmpl/default_item.php to templates/<your template>/html/com_customproperties/search
- edit templates/<your template>/html/com_customproperties/search/default_item.php:
- delete or comment lines 15-17
Code:
<dt class="cp-title result-title"> <a href="<?php echo JRoute::_($this->row->href);?>"><?php echo $this->escape($this->row->title);?></a> </dt>

Please Log in or Create an account to join the conversation.

Time to create page: 0.162 seconds