Announcement

Collapse
No announcement yet.

Problems with CUSTOMSEARCH.FIL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problems with CUSTOMSEARCH.FIL

    Hi - I am probebly doing something stupid here...

    I am trying to set-up a custom search using the info on P57 of the advanced manual. If I run the following code the search works:

    I then take a copy of the customsearch.fil and rename it to customsearch2.fil and upload. Before I make my mods I thought I would make sure this works so I add &SN=2 to the code above to access this file. So the code is now as follows:

    When I try to run it I get the error message:

    Missing text search join mode. Please specify AND or OR
    Help!
    Regards
    David

    #2
    ...and this is the current content of my CUSTOMSEARCH.FIL and CUSTOMSEARCH2.FIL

    1
    Price!PR
    Text!SS!TB
    Or
    Text Property!S_GiftFinder1_0
    Or
    Text Property!S_Department1_1
    Or
    Text Property!S_Location11_2
    Or
    Text Property!S_Location21_3
    Or
    Text Property!S_Location31_4
    Or
    Text Property!S_Location41_5
    Or
    Text Property!S_Location51_6
    Or
    Regards
    David

    Comment


      #3
      David,

      You need to make the mods for the link to work. If you have a quick read down the article, you will see that you need to make some changes for it to work, the error message too gets covered in the article.

      Kind regards,
      Bruce King
      SellerDeck

      Comment


        #4
        Hi Bruce - not having much luck with this - I must be doing something really stupid!! I have created a test page and stripped the code down to the minimum and I now get the error message "Undefined Property in search (TestItem)"

        My customsearch2.fil is now:

        1
        Text Property!TestItem
        and my search html file is now:

        <FORM METHOD=GET ACTION="http://www.enjoy.theoriginalsin.co.uk/cgi-bin/ss000001.pl">
        <input type=HIDDEN name="PAGE" value="SEARCH">
        <input type=HIDDEN name="SN" value="2">
        <select size="1" name="TestItem">
        <option value="" selected>Please Choose</option>
        <option value="Mobile Disco">Mobile Disco</option>
        <option value="Catering">Catering</option>
        </select>
        <input type="submit" name=ACTION value="go">
        </form>
        This can be seen via this link:

        http://www.enjoy.theoriginalsin.co.u...empsearch.html
        Regards
        David

        Comment


          #5
          Correct this line..
          1
          Text Property!TestItem
          To
          1
          Text Property!S_TestItem1_0
          Then :
          <select size="1" name="TestItem">
          To
          <select size="1" name="S_TestItem1_0">
          and:
          <option value="" selected>Please Choose</option>
          To
          <option value="Please Choose" selected>Please Choose</option>
          Then try it and let us know how it goes.

          Kind regards,
          Bruce King
          SellerDeck

          Comment


            #6
            I have changed them as you have suggested but it is exactly the same I'm afraid. Originally I had it set-up with the parameters like you have suggested but I changed them to try to find the source of the problem
            Regards
            David

            Comment


              #7
              Hi - anybody any ideas on how I can get a solution to this as it is getting quite urgent.

              Is it a bug? If so is there a workaround to it?
              Regards
              David

              Comment


                #8
                David,

                I would suggest raising a support ticket, so a member of the support team can take a look at this for you. Support ticket @ http://www.actinic.co.uk/support/register.htm

                Kind regards,
                Bruce King
                SellerDeck

                Comment


                  #9
                  Bruce - I have done that - I will keep the board informed of the outcome.
                  Regards
                  David

                  Comment


                    #10
                    Hi - for anybody who may also have this problem...this is how it was fixed.

                    I was editing the customsearch2.fil in Homesite - my HTML editor. This appears to be adding additional hidden characters to the lines which was breaking the search. I re-created the customsearch2.fil in notepad which has solved the problem.
                    Regards
                    David

                    Comment


                      #11
                      Originally posted by skinnybloke
                      Hi - for anybody who may also have this problem...this is how it was fixed.

                      I was editing the customsearch2.fil in Homesite - my HTML editor. This appears to be adding additional hidden characters to the lines which was breaking the search. I re-created the customsearch2.fil in notepad which has solved the problem.
                      THANKS !! That certainly helped me one step further to getting my idea to work ! (notepad often seems best !)
                      Richard
                      www.worldofenvelopes.com

                      Comment


                        #12
                        Glad to be of help!
                        Regards
                        David

                        Comment

                        Working...
                        X