Topic with many replies

Search Function


Author Message
Written on: 20. 11. 2009 [02:47]
stwsimon
Simon Browning
Topic creator
registered since: 20.11.2009
Posts: 13
Hi can I enable the magento search function?

I've tried variations of the below, without success, is it possible?

lib.search = USER_INT
lib.search {
userFunc = tx_fbmagento_pi1->main
block=form.mini
nowrap=1
}

Thank you.

simon
Written on: 26. 11. 2009 [09:43]
goldentoast
matthias
registered since: 14.11.2009
Posts: 6
Hi Simon,

I would need the search, too. Could you get it running?

With the time I really doubt if typogento is really the
right thing. So much things are broken. But even worse
you don't get any feedback by the maintainers... sigh.

Did you switch to another project by the mean time?

Matthias
Written on: 27. 11. 2009 [05:09]
stwsimon
Simon Browning
Topic creator
registered since: 20.11.2009
Posts: 13
Not yet, but I will let you know if I do.

I've switched some sites to pure magento - I had a couple of smaller ones that were mostly ecom with a couple of cms pages - I loaded an rte module into magento so its meeting the needs on its own.

I've got two sites right now with typogento that I can't revert, so I'm hacking away to get them working properly.

I agree with you.
Written on: 30. 11. 2009 [11:04]
trikr
Patrik Remmele
registered since: 30.11.2009
Posts: 9
and here is some quick solution icon_wink.gif

Insert TS Code

TYPOSCRIPT
lib.searchfilter = USER_INT
lib.searchfilter{
    userFunc = tx_fbmagento_pi1->main
    route=catalogsearch
    controller=result
    action=index
    block=catalogsearch.leftnav
    nowrap=1
}


Insert Plugin as CE (RESULT VIEW)

View: User defined
Route: Catalogsearch
Controller: Result
Action: index

Insert FCE mapped to lib.searchfilter (Layered Search)

Sample query form (Replace "PATH/TO/YOUR/T3/SITE")

<form action="PATH/TO/YOUR/T3/SITE/shop/catalogsearch/result.html" method="get">
<input id="tx_ansearchit_form" class="searchField" type="text" onclick="this.value='';" value="Artikelsuche" name="q" autocomplete="off"/>
<input class="searchButton" type="submit" value="OK" name="tx_ansearchit_form[submit]"/>
</form>

Written on: 02. 12. 2009 [08:32]
stwsimon
Simon Browning
Topic creator
registered since: 20.11.2009
Posts: 13
Thanks for that Patrick.

Is it possible to add the results page through TS?

For some reason I get soap errors with the back end module (though the front end is ok).

Thanks.

Simon

[This article was edited 1 times, at last 02.12.2009 at 08:32.]
Written on: 14. 12. 2009 [20:27]
trikr
Patrik Remmele
registered since: 30.11.2009
Posts: 9
stwsimon wrote:

For some reason I get soap errors with the back end module (though the front end is ok).


I know the soap's icon_wink.gif if some soap error occurs try right mouseclick, klick "back" and save your open TYPO3 Content element as it is. after this you should be able to select the right options icon_wink.gif Better than creating 5 million FCE's banghead.gif

with regards,
patrik
Written on: 14. 12. 2009 [20:49]
stwsimon
Simon Browning
Topic creator
registered since: 20.11.2009
Posts: 13
Hi Patrick.

Thanks for the tip. I can't seem to get that going though. I've been looking into it and it seems there is a SOAP bug with php 5.2.9. We're going to update our php tonight, hopefully that resolves it.

Thank you.

Simon
Written on: 14. 12. 2009 [21:30]
trikr
Patrik Remmele
registered since: 30.11.2009
Posts: 9
Mage 1.3 and php 5.3X may cause some errors... had this problems on friday...
Written on: 15. 12. 2009 [16:31]
stwsimon
Simon Browning
Topic creator
registered since: 20.11.2009
Posts: 13
Updated it php 5.2.11. Still have the Soap Error though. Very irritating.

I'm thinking I can probably fake it by manually filling out the pi_flexform field for that content element in the tt_content table.

Right now it has the below, which makes sense, I set it to "user" and the thing hoses up. Would you be able to post here what the xml should actually look like?

Thanks

Simon



<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3FlexForms>
<data>
<sheet index="main">
<language index="lDEF">
<field index="show">
<value index="vDEF">USER</value>
</field>
</language>
</sheet>
</data>
</T3FlexForms>



[This article was edited 1 times, at last 15.12.2009 at 16:38.]
Written on: 15. 12. 2009 [17:39]
trikr
Patrik Remmele
registered since: 30.11.2009
Posts: 9
field "list_type" : fb_magento_pi1
field "pi_flexform" :
PHP
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3FlexForms>
    <data>
        <sheet index="main">
            <language index="lDEF">
                <field index="show">
                    <value index="vDEF">USER</value>
                </field>
                <field index="route">
                    <value index="vDEF">catalogsearch</value>
                </field>
                <field index="controller">
                    <value index="vDEF">result</value>
                </field>
                <field index="action">
                    <value index="vDEF">index</value>
                </field>
            </language>
        </sheet>
    </data>
</T3FlexForms>


hope this helps



Portal information:

At the moment there are 0 users online, thereof 0 registered users and 0 guests.
Today 0 registered users and 0 guests were already online.

Now online


TypoGento has 231 registered user, 112 topics and 184 answers. On average 0.31 posts are written per day.