How are you?
I'd like to ask you if its possible for the Smart Search Extension to show the publish date.
Joomla default search component is able to show the Creation date, but I need the publish date instead. Is it possible to do with your extension?
I installed it and it seems its not possible, but want to confirm.
Yes, you can enable the publishing date in the component options:
Options > Results > Result Date
It shows the creation date, not the publish date.
You can do the following:
1. Create a template override for the view search
2. Go to the Minitek Smart Search
menu item in your menu and in the field Alternative Layout
, select your template override.
3. In your template override, open the file default_result.php
and in line 109 replace
JHTML::_('date', $this->result->start_date, 'd M, Y')
JHTML::_('date', $this->result->publish_start_date, 'd M, Y')
Good afternoon Yannis
I just noticed that joomla keeps loading the core Searh component. Instead of Minitek Smart Search.
My link in SH404 incudes the menu ID, and this Menu ID leads to Minitek Search Component...
Any clue why this happens?
(see images attached)
by the way I added this code (that you gave me the other day) to the index file and it did not render anything.. am I missing something?
$app = JFactory::getApplication();
$view = $app->input->get('view', '');
Thank you for helping.
You must purge the sh404 urls each time you change your menu items. sh404 is still using your old urls.
The above code will not render anything.
You must also add this code if you want to display the current view:
I've been playing with this for the last few days. Purging sh404 didn't help.
I had to resort to customizing the Joomla core search component and use that instead.
If you're curious to check this out, let me know and I'll find a way for you to get access. Maybe it can help advancing your extension even further, however this does sound like its an issue with my site, not the extension, so not sure if its worthwhile for you to check it out now that I found an alternative.
I do really like your extension, its a pitty I can't seem to be able to use it.
To be clear, I'm not blamming your extension.
I just saw that you are using the original Smart Search module from Joomla.
This is the problem.
Minitek Smart Search does not have a module. It's a component and can be used only directly via a menu item.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.