Announcement

Collapse
No announcement yet.

Advanced searching using customsearch.fil

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

    Advanced searching using customsearch.fil

    Hey evry1

    I am trying to add a extra search and im running into a problem.

    After following the instructions in the actinic advanced user guide for creating multiple search tools, i got actinic to create the files customsearch.fil and search.html, i then edited them to meet my needs(i just want 3 dropdown boxes with the search options in them).

    After a few trys and not getting it to work i went back to basics and wrote the files just to do a search using 1 dropdown, and got

    Undefined Property in search (S_fibre size1_0)

    search3.html
    Code:
    <font face="arial" size="-1">What Fibre are you looking for?</font>
    <form method=GET action="http://www.netcomp.ltd.uk/cgi-bin/ss000001.pl" >
    <input type=HIDDEN name="PAGE" value="SEARCH">
    <input type=HIDDEN name="SN" value="3">
    <SELECT SIZE="1" NAME="S_fibre size1_0">
    <OPTION VALUE="50/125">50/125
    <OPTION VALUE="62.5/125" SELECTED>62.5/125
    <OPTION VALUE="9/125">9/125
    </SELECT>
    <input type=SUBMIT name=ACTION value="Search">
    </form>
    customsearch3.fil
    Code:
    1
    Text Property!S_fibre size1_0
    And
    After creating and editing the two above files i uploaded them using FTP, does that make a difference ?

    There is already a search on the site that works fine for finding products from the keywords the customer enters (i didnt create that one) but i want to have a dropdown search for some products with lots of option.

    Any help would be great, thanks in advance.
    <a href="http://www.netcomp.ltd.uk/">http://www.netcomp.ltd.uk/</a>

    #2
    Hi,

    Have you defined these Custom Properties in Actinic? In View | Search Settings, click on the Searchable Properties tab and click on the + to create a new row. You should then be able to select your custom property from a drop down.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Originally posted by Bruce
      Have you defined these Custom Properties in Actinic?
      Yeah set that up first so that actinic would make the new customsearch.fil and search.html files, these files i then edited to suit the type of search i'm after, here is my settings below, did i miss anything ?

      search_settings.gif
      <a href="http://www.netcomp.ltd.uk/">http://www.netcomp.ltd.uk/</a>

      Comment


        #4
        These look fine. Can you check the customsearch.fil file and ensure there are no blank lines at the bottom of the file. Also check to see if the custom property you are using has been defined in the section/ products you want the search to bring up and if they have both 'Searchable' and 'Use as Customvar' selected.

        Kind regards,
        Bruce King
        SellerDeck

        Comment


          #5
          Thanks Bruce

          I had not setup the Customvar's correctly, the problem had been right infront of my eyes, im such a noob


          thanks again
          <a href="http://www.netcomp.ltd.uk/">http://www.netcomp.ltd.uk/</a>

          Comment

          Working...
          X