Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2368

Joomla! 5.x Coding • Re: About matching titles query

$
0
0
What is the query used to find matching titles of articles published in Joomla ?
Check the Articles Model in the Joomla core:
https://github.com/joomla/joomla-cms/bl ... sModel.php
and in particular the getListQuery() method:

It uses the "publish" state
$published = (string) $this->getState('filter.published');
and the "title"
$search = $this->getState('filter.search');

Can it be developed to determine the degree of correspondence between the articles themselves and not just the titles?
I'm not sure what you mean by that.
Joomla's back-end Articles has a search field that searches on title by default.
However if you add 'content:', it will search in the intro and fulltext:
} elseif (stripos($search, 'content:') === 0) {

Statistics: Posted by pe7er — Tue Apr 09, 2024 9:47 am



Viewing all articles
Browse latest Browse all 2368

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>