This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 18 October 2016 21:27 EEST
 Hi Yannis,


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.




Thank you.
Paulo
Joomla! Extensions - Professional Subscription
Wednesday, 19 October 2016 16:33 EEST
Hi Paulo,

Yes, you can enable the publishing date in the component options:

Options > Results > Result Date
Yannis
Support Team
Wednesday, 19 October 2016 16:47 EEST
Hi Yannis,


It shows the creation date, not the publish date.


Paulo
Joomla! Extensions - Professional Subscription
Wednesday, 19 October 2016 17:03 EEST
You can do the following:

1. Create a template override for the view search.
https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core

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')


with
JHTML::_('date', $this->result->publish_start_date, 'd M, Y')


Yannis
Support Team
Thursday, 20 October 2016 13:06 EEST
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?

<?php
$app = JFactory::getApplication();
$view = $app->input->get('view', '');
?>


Thank you for helping.
Attachment
Paulo
Joomla! Extensions - Professional Subscription
Thursday, 20 October 2016 16:23 EEST
Hi Paulo,

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:

var_dump($view);

Yannis
Support Team
Tuesday, 25 October 2016 19:11 EEST
Hi Yannis,


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.

Paulo
Joomla! Extensions - Professional Subscription
Wednesday, 26 October 2016 17:14 EEST
Hi Paulo,

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.
Yannis
Support Team

This website uses cookies so that we can provide you with the best user experience. By clicking "continue" you agree to cookies being used in accordance with our Cookies Policy.

Search