Announcement

Collapse
No announcement yet.

Insterting a search feild in a page created in dreamweaver

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

    Insterting a search feild in a page created in dreamweaver

    I am unsure of the script required to place in Dreamweaver to make a searchfield for my actinic database.

    I am pretty sure that it is based around the string:

    ACTINIC_REFERRER=

    and the value being my url and cgi-bin. Can anyone tell me if this is right and if it can be done?

    #2
    You need something like:
    Code:
    <form action="http://yoursite.com/ss000002.pl" name="srchform">
    <label for="srchtxt">Search:</label> 
    <input type="text" id="srchtxt" name="SS" size="20" maxlength="125" value="Enter keywords" onfocus="this.value='';this.style.background='#FFFFFF'" class="input" />
    <input type="submit" value="Submit search" />
    <input type="hidden" name="PR" value="-1" /> 
    <input type="hidden" name="TB" value="A" />
    <input type="hidden" name="SHOP" value="" /> 
    <input type="hidden" name="ACTINIC_REFERRER" value="yoursite.com/acatalog/index.html" />
    </form>
    http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
    http://www.dtbrownseeds.co.uk - More seeds and plants....
    http://www.mr-fothergills.co.uk - Well it used to be Actinic...

    Comment


      #3
      NETQUOTEVAR:SIMPLESEARCH

      placed on any actinic page with show the search box

      Comment


        #4
        I get the impression this is a non-Actinic page though. Pinbrook is right though if you are going to have this page inserted into Actinic.
        http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
        http://www.dtbrownseeds.co.uk - More seeds and plants....
        http://www.mr-fothergills.co.uk - Well it used to be Actinic...

        Comment


          #5
          Originally posted by pinbrook
          NETQUOTEVAR:SIMPLESEARCH

          placed on any actinic page with show the search box
          Thank you to all. It was as I suspected but I wasn't sure. I'm sure I will confuse myself again. It's good to know that help is at hand. Thanks again.

          Comment


            #6
            Actually, I have another question. This is, as DaveT suspected, a non-actinic page. Is the form code to be placed on the page with the NETQUOTEVAR:SIMPLESEARCH. I don't want the page to be inserted to actinic. I want it to link to actinic.

            Comment


              #7
              You would be best advised to use the code I gave you - the NETQUOTEVAR solution is a template placeholder that will be replaced with similiar code to what i gave you by Actinic. But if your page is outside Actinic the placeholder would not get replaced.

              See site below: anything in /acatalog/ was the NETQUOTEVAR originally and anything else is hand coded. Both end up doing the same task. Also in folders outside of Actinic the ACTINIC_REFERRER is required to ensure the correct session location is created.
              http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
              http://www.dtbrownseeds.co.uk - More seeds and plants....
              http://www.mr-fothergills.co.uk - Well it used to be Actinic...

              Comment

              Working...
              X