Announcement

Collapse
No announcement yet.

Protecting email address from spammers

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

    #16
    woops...

    looking at contact.php it has hardcoded html in it, so i cheated!! on the SW site there are no brochure pages which is probably why i went for this approach, only shop pages and root index are controlled by actinic - thus contact us is non actinic

    Comment


      #17
      I did consider that approach myself, but decided it would be too complicated to maintain.

      Did you hardcode the html on http://www.pinbrook.net/contact.php
      Darren Guppy
      Golf Tee Warehouse
      Golf Tees and Golf Accessories.

      Comment


        #18
        pinbrook is not an actinic site, it is a DW templated site

        Comment


          #19
          Thanks for taking a look anyway.
          I will read through the AUG and the dagondesign instructions again and play around with different options
          Darren Guppy
          Golf Tee Warehouse
          Golf Tees and Golf Accessories.

          Comment


            #20
            just wondering if this would work?

            http://community.actinic.com/showpos...9&postcount=11

            Comment


              #21
              Good suggestion, but Actinic gives the following error
              Fatal error: Cannot redeclare ddfm_hex_to_rgb() (previously declared in C:\Documents and Settings\Darren\My Documents\Actinic v9\Sites\Site1\mycodehere2.txt:216) in C:\Documents and Settings\Darren\My Documents\Actinic v9\Sites\Site1\mycodehere2.txt on line 229
              I am out of my depth with PHP, I have read the AUG article "Creating PHP functions" but have not been successful with that method either.

              I did manage to use your suggested method to add some very simple php to print some text to screen see here (near bottom):

              http://www.golfteewarehouse.co.uk/acatalog/test/acatalog/PriceMatch.html

              Code:
              !!<
              <actinic:block php="true">
              include('mycodehere.txt');
              </actinic:block>
              >!!
              and the form works on its own here (not in an actinic layout): http://www.golfteewarehouse.co.uk/contact.php


              Maybe this thread is relevant to the error message above. http://community.actinic.com/showthr...ight=phperrors
              Darren Guppy
              Golf Tee Warehouse
              Golf Tees and Golf Accessories.

              Comment

              Working...
              X