Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 25

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 08.04.2004, 22:50   #1 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 30
marc2004 is on a distinguished road
Default Using a home made contact form?

How to import my own contact form in MOS?

I would like to use this form like a content item within my site?

Thanks a lot for your help
marc2004 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 08.04.2004, 23:20   #2 (permalink)
Professional Mamber
 
stingrey's Avatar
 
Join Date: Apr 2004
Location: Marikina, Manila, Philippines
Posts: 776
stingrey is on a distinguished road
Default Re: Using an home made contact form?

If its just html code you can put into a typed content page, by accessing the Wysiwyg Editors html mode < >.

If it involves php code, you will need to use a mambot callled mosphp available here (you need to register to download):
www.mambobrothers.com
__________________
Joomla! Core Team Member
Software Coding & Design - Stability Team Leader
www.joomla.org
Former Mambo Core Team Member
stingrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 23:52   #3 (permalink)
Junior Mamber
 
Join Date: Apr 2004
Posts: 30
marc2004 is on a distinguished road
Default Re: Using an home made contact form?

Thanks, I've juste downloded it but I've got the following error:

Parse error: parse error, unexpected '<' in .... mambots\mosphp.inc(34) : eval()'d code on line 1

Do you know why?
marc2004 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 00:03   #4 (permalink)
Expert Mamber
 
Regenerate's Avatar
 
Join Date: Apr 2004
Location: 127.0.0.1 (Utrecht, The Netherlands)
Posts: 283
Regenerate is on a distinguished road
Send a message via MSN to Regenerate
Default Re: Using an home made contact form?

If you make it a normal working html or php document you can also work with inline frames (<iframe src="url for your file" border="0"></iframe>)
__________________
| Regenerate.nl |
Joomla! Dutch Translation Team
Joomla! advice & implementation
>>Super Moderator Mambers.com Forum

>>Webmaster DutchJoomla.org
Regenerate is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 09.04.2004, 00:23   #5 (permalink)
Professional Mamber
 
stingrey's Avatar
 
Join Date: Apr 2004
Location: Marikina, Manila, Philippines
Posts: 776
stingrey is on a distinguished road
Default Re: Using an home made contact form?

You could also use the method I posted here:
http://forum.mamboserver.com/viewtop...?p=67556#67556

However, in the custom script, instead of simply loading the module position user1, you could enter your contact script.
__________________
Joomla! Core Team Member
Software Coding & Design - Stability Team Leader
www.joomla.org
Former Mambo Core Team Member
stingrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11.04.2004, 06:11   #6 (permalink)
Professional Mamber
 
crash777's Avatar
 
Join Date: Apr 2004
Location: North East USA
Posts: 931
crash777 will become famous soon enough
Default Re: Using an home made contact form?

Quote:
Originally Posted by marc2004
Thanks, I've juste downloded it but I've got the following error:

Parse error: parse error, unexpected '<' in .... mambots\mosphp.inc(34) : eval()'d code on line 1

Do you know why?
Take the "<?php" and "?>" tags out... the "{mosphp}" tags replace it.
crash777 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 11.04.2004, 14:35   #7 (permalink)
Professional Mamber
 
stingrey's Avatar
 
Join Date: Apr 2004
Location: Marikina, Manila, Philippines
Posts: 776
stingrey is on a distinguished road
Default Re: Using a home made contact form?

Good pickup Crash
__________________
Joomla! Core Team Member
Software Coding & Design - Stability Team Leader
www.joomla.org
Former Mambo Core Team Member
stingrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 16.09.2004, 08:43   #8 (permalink)
Mamber
 
Join Date: Aug 2004
Location: Fort Lauderdale
Posts: 81
atapi is on a distinguished road
Send a message via AIM to atapi Send a message via MSN to atapi Send a message via Yahoo to atapi
Default Re: Using a home made contact form?

I am getting the same problem.
I have taken out the <? ?> respectively
I am trying to do something like this...

{mosphp}
foreach($HTTP_POST_VARS as $varname => $value)
$formVars[$varname]=$value;


if ($formVars[$submit]=="1") {
$joe = "hello"; return $joe;//plan to process the from here}
else { $joe = "hello2"; return $joe;//plan to put a form in here}
{/mosphp}
atapi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 06:29.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.