Suche über URL aufrufen / Call Search via URL

06.02.2012 12:47
#1
Frank_R
Joomshopping forum user no avatar
Name: Frank Romeike
02.02.2012
Сообщения: 10
Quote
Suche über URL aufrufen / Call Search via URL

Hallo, erstmal nochmal Danke an das Entwicklerteam für die wirklich ordentliche Software!

Ich würde gerne die Shopsuche über eine URL mit angehängtem Suchwort aufrufen.
So in der Art: http://www.workshop-fotografie.de/component/search/?searchword=foto

Hab schon einiges ausprobiert - würde mich freuen wenn mir jemand die Syntax erklärt postet.


------------------
I'd like to call the shop search via URL and searchword. Anybody here to help out with the syntax?


Joomla: 2.5.1
JoomShopping: 3.4.2
PHP: 5.3.8-nmm1
MySQL: 5.1.43-nmm4-log
Website Url: http://www.workshop-fotografie.de/

Последнее изменение: 06.02.2012 12:50
 
08.02.2012 13:02
#2
Frank_R
Joomshopping forum user no avatar
Name: Frank Romeike
02.02.2012
Сообщения: 10
Quote
Aw: Suche über URL aufrufen / Call Search via URL

Hmmm... no answer at all? Thought this would be simple question. Wether posting the syntax or a simple no...

Disappointing...

 
08.02.2012 21:26
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25854
Quote
Aw: Suche über URL aufrufen / Call Search via URL

Search used method POST

1. file components\com_jshopping\controllers\search.php
change row
$post = JRequest::get('post');
to
$post = JRequest::get('request');

2. URL
index.php?option=com_jshopping&controller=search&task=result&setsearchdata=1&search=...


Последнее изменение: 08.02.2012 21:28
 
09.02.2012 20:41
#4
Frank_R
Joomshopping forum user no avatar
Name: Frank Romeike
02.02.2012
Сообщения: 10
Quote
Aw: Suche über URL aufrufen / Call Search via URL

Ahh great! Works pretty nice!
I allready tryed nearly the same syntax
http://www.workshop-fotografie.de/index.php?option=com_jshopping&controller=search&task=result&search=foto
but without the controller hack it did't work at all.

Nice and thanks a lot für the support!


Последнее изменение: 09.02.2012 20:41
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.