Need a simple change to search so it searches the Articles External Reference field

17 views
Skip to first unread message

Carl Whalley

unread,
Aug 21, 2016, 5:36:14 PM8/21/16
to Joomla! General Development
Whats the easiest way to do this please? I don't need any UI changes, just the default Joomla 3.6 search to do what it already does but also look in the Articles External Reference field.
I am displaying this using json_decode($this->item->metadata)->{'xreference'}; and also https://docs.joomla.org/JDocument/getMetaData where appropriate, I just need the search now. Thanks.

Hannes Papenberg

unread,
Aug 22, 2016, 4:19:47 AM8/22/16
to joomla-de...@googlegroups.com
Write your own search plugin that does this (for example by copying the
existing one for com_content)
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to joomla-dev-gene...@googlegroups.com
> <mailto:joomla-dev-gene...@googlegroups.com>.
> To post to this group, send email to joomla-de...@googlegroups.com
> <mailto:joomla-de...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/joomla-dev-general.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages