• My account

### Not yet customer of TYPO3 Multishop?

• Order history
• Automatic generated e-mail history
New at TYPO3 Multishop
You are here:

### Help by translating Multishop in your local language

On the following page you can help by translating Multishop in your local language:

Spanish:

The following language are already translated by our supporters:

• Dutch
• German
• French

## path to the templates (spezielle Pfadeinstellungen für Templateanpassungen)

Author Message
jens
Jens
Multishop professional
Topic creator
registered since: 16.05.2012
Posts: 33
Hello!

Thanks for this great shop. I really like it.

But where can I find the configuration path for the ultrasearch-php-template? I have to make some changes for the productlist-search-results. Under System... I couldnt find a possibility to change the path.

(\typo3conf\ext\multishop\scripts\front_pages\ultrasearch.php)

\typo3conf\ext\multishop\scripts\ajax_pages\ultrasearch\products_listing.php
--> this one is for the search-results

By the way, there are a lot more templates which I can´t configure under SYSTEM...

Do I have to make use of an xclass within the
\typo3conf\ext\multishop\pi1\classes\class.mslib_fe.php
?

Hopefully not. :-/

Best regards
Jens
Written on: 16. 05. 2012 [07:15]
bas
Bas van Beek
Multishop guru
registered since: 12.05.2010
Posts: 644
The resultset is ajax content, so we defined it in the script:

ajax_pages/core.php

There you can see:

PHP
case "ultrasearch_server":
if (strstr($ms['MODULES']['ULTRASEARCH_SERVER_TYPE'],"..&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />) die('error in ULTRASEARCH_SERVER_TYPE value'); else { if (strstr($ms['MODULES']['ULTRASEARCH_SERVER_TYPE'],"/&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />)
{
// relative mode
require($this->DOCUMENT_ROOT.$ms['MODULES']['ULTRASEARCH_SERVER_TYPE'].'.php');
}
else
{
include(t3lib_extMgm::extPath('multishop').'scripts/ajax_pages/ultrasearch_server/default.php');
}
}
exit();
break;

So you can customize it by adjusting the Multishop setting.

First copy the original products_listing.php to your fileadmin and then search for the ultrasearch setting in the Multishop admin panels search form (top right).

Point it to your relative path. I have added a screenshot to show it.
Attachment

Written on: 24. 05. 2012 [08:06]
jens
Jens
Multishop professional
Topic creator
registered since: 16.05.2012
Posts: 33
Thanks a lot.

I need it to make the product-search able to look for a vendor_code (manufacturer_id which I use as article_number).

And this article_number shall also be visible on the invoice (also pdf), but those templates are customizable, so that this should make no problems.

Greetings from good old germany
Written on: 25. 05. 2012 [12:55]
bas
Bas van Beek
Multishop guru
registered since: 12.05.2010
Posts: 644
Searching on manufacturers_name was not yet possible, but has been added to our next release.

We have also added the possibility for customizing the admin products search and edit page by the following setting: ADMIN_PRODUCTS_SEARCH_AND_EDIT.

The update will be published to TER this week.
Written on: 28. 05. 2012 [00:38]
jens
Jens
Multishop professional
Topic creator
registered since: 16.05.2012
Posts: 33
Hi Bas,

today I tried to customize the ultrasearch-productlisting-result-page.

But I can´t find your code-fragment within the core.php.
The only code-snippet I can find there is (linenumbers 1139 to 1142):

PHP
case "ultrasearch_products_listing":
include("ultrasearch/products_listing.php&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />;
exit();
break;

So I guess that you mean that I have to add your code after this fragment.

But if I do so, there is an error. Missing "".
And this would not remain after updating.

So I took a look into the ajax_pages/ultrasearch/products_listing.php but this one is completely different to the /products_listing/grid.php and more difficult to surround with custom html-code.

So I will try to customize the /ultrasearch/products_listing.php

"base" wrote:

The resultset is ajax content, so we defined it in the script:

ajax_pages/core.php

There you can see:

PHP
case "ultrasearch_server":
if (strstr($ms['MODULES']['ULTRASEARCH_SERVER_TYPE'],"..&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />) die('error in ULTRASEARCH_SERVER_TYPE value'); else { if (strstr($ms['MODULES']['ULTRASEARCH_SERVER_TYPE'],"/&quot<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" />)
{
// relative mode
require($this->DOCUMENT_ROOT.$ms['MODULES']['ULTRASEARCH_SERVER_TYPE'].'.php');
}
else
{
include(t3lib_extMgm::extPath('multishop').'scripts/ajax_pages/ultrasearch_server/default.php');
}
}
exit();
break;

So you can customize it by adjusting the Multishop setting.

First copy the original products_listing.php to your fileadmin and then search for the ultrasearch setting in the Multishop admin panels search form (top right).

Point it to your relative path. I have added a screenshot to show it.

Written on: 30. 05. 2012 [09:50]
jens
Jens
Multishop professional
Topic creator
registered since: 16.05.2012
Posts: 33
Now I found what I was looking for:

\typo3conf\ext\multishop\js\ultrasearch\default.js

There you can find the output, the search-results.

I copied this file (some time ago) to:

Life can be so easy.

By the way, I do not know where I was able to tell multishop the new path of this file?!

Please refresh my mind, because under SYSTEM... you can´t configure the path for it.

^^
Written on: 30. 05. 2012 [10:16]
bas
Bas van Beek
Multishop guru
registered since: 12.05.2010
Posts: 644
No need to create new code. We provide a default products_listing (can be found in scripts/front_pages/ultrasearch/. This looks different from the normal products listing, cause we provide the product records in JSON format, which will be iterated by the Ultrasearch JS client script.

You can change the client js path in your Ultrasearch content element (so do this in your TYPO3 backend). See my screenshot for reference.
Attachment

Written on: 30. 05. 2012 [20:03]