Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager (Realty Manager & Auto Manager):
Integrating a contact form question

 

 


annie
User

Jul 20, 2007, 10:04 AM

Post #1 of 2 (1145 views)
Shortcut
Integrating a contact form question Can't Post

Hi, I wonder if anyone can help. I have a php contact form which I'm using in conjuction with Listings Manager in a pop-up window. In order to hide the email addresses, etc. from harvesters, the script allows for a separate config.php file. This works fine if I hardcode an email address into the config.php file. However, I want to be able to pass the contents of $lfield15$ to it, which is a field containing an email address.

At the moment, the syntax is:

$to_email = email@example.co.uk;

but the following doesn't work:

$to_email = "$lfield15$";

Maybe I have to put the script files into a certain folder. I hope someone can help.

Regards, Annie



ChetW
Staff


Jul 21, 2007, 4:40 PM

Post #2 of 2 (1077 views)
Shortcut
Re: [annie] Integrating a contact form question [In reply to] Can't Post

Hi annie,

Thanks for the post!

This won't be something that Listings Manager will be able to handle for you. Placeholders such as $lfield15$ are specific to Listings Manager, the software when publishing looks at it's template files and resolves the placeholder with it's correct data. The trick to this all working is that the templates used are connected to Listings Manager. The config.php file that you are using is completly seperate from Listings Manager so the text "$lfield15$" in that file will mean nothing.

You may be able to resolve the placholder value in the config.php file however it would require some form of php scripting (and testing). We aren't really php people here so I'm not sure how best to approach setting this, perhaps however someone in the community will have an idea. :)

Does this answer your questions? If you have any other questions please feel free to ask.
Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4