Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

× Contact Enhanced is a contact component manager created to replace Joomla! core contacts component and add lots of advantages and new features (see Features ) and it offers many plugins and modules for several different purposes,
Product page | Documentation Page

Cannot add new contact

14 years 7 months ago #1045 by redheadskater
Hi-

I have been able to create my category and my custom fields just fine. When I am in the Contact Enhanced > Contacts screen and I hit "New" to add a new contact in, I get an error:
	<script language="javascript" type="text/javascript">
		<!--
		function submitbutton(pressbutton) {
			var form = document.adminForm;
			if (pressbutton == 'cancel') {
				submitform( pressbutton );
				return;
			}
 
			// do field validation
			if ( form.name.value == "" ) {
				alert( "You must provide a name for this Contact." );
			} else if ( form.catid.value == 0 ) {
				alert( "Please select a Category." );
			} else {
				submitform( pressbutton );
			}
		}
		//-->
		</script>
 
		<form action="index.php" method="post" name="adminForm">
 
		<div class="col width-60">
			<fieldset class="adminform">
				<legend>Details</legend>
 
				<table class="admintable">
				<tr>
					<td class="key">
						<label for="name">
							Name:
						</label>
					</td>
					<td >
						<input class="inputbox" type="text" name="name" id="name" size="60" maxlength="255" value="" />
					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="name">
							Alias:
						</label>
					</td>
					<td >
						<input class="inputbox" type="text" name="alias" id="alias" size="60" maxlength="255" value="" />
					</td>
				</tr>
				<tr>
					<td class="key">
						Published:
					</td>
					<td>
 
	<input type="radio" name="published" id="published0" value="0"  />
	<label for="published0">No</label>
	<input type="radio" name="published" id="published1" value="1" checked="checked"  />
	<label for="published1">Yes</label>
					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="catid">
							Category:
						</label>
					</td>
					<td>
						<select name="catid" id="catid" class="inputbox" size="1" ><option value="0"  selected="selected">- Select a Category -</option><option value="1" >Support</option><option value="3" >Support</option></select>					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="user_id">
							Linked to User:
						</label>
					</td>
					<td >
						<select name="user_id" id="user_id" class="inputbox" size="1" ><option value="0" >- No User -</option><option value="62" >Bernie Grohsman</option><option value="64" >David Lee</option><option value="63" >Mike Loverde</option></select>					</td>
				</tr>
				<tr>
					<td valign="top" class="key">
						<label for="ordering">
							Order:
						</label>
					</td>
					<td>
						<input type="hidden" name="ordering" value="0" />New Contacts default to the last position. Ordering can be changed after this Contact is saved.					</td>
				</tr>
				<tr>
					<td valign="top" class="key">
						<label for="access">
							Access Level:
						</label>
					</td>
					<td>
						<select name="access" id="access" class="inputbox" size="3"><option value="0"  selected="selected">Public</option><option value="1" >Registered</option><option value="2" >Special</option></select>					</td>
				</tr>
								</table>
			</fieldset>
 
			<fieldset class="adminform">
				<legend>Information</legend>
 
				<table class="admintable">
				<tr>
					<td class="key">
					<label for="con_position">
						Contact's Position:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="con_position" id="con_position" size="60" maxlength="255" value="" />
					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="email_to">
							E-mail:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="email_to" id="email_to" size="60" maxlength="255" value="" />
					</td>
				</tr>
				<tr>
					<td class="key" valign="top">
						<label for="address">
							Street Address:
							</label>
						</td>
						<td>
 							<textarea name="address" id="address" rows="3" cols="45" class="inputbox"></textarea>
					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="suburb">
							Town/Suburb:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="suburb" id="suburb" size="60" maxlength="100" value="" />
					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="state">
							State/County:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="state" id="state" size="60" maxlength="100" value="" />
					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="postcode">
							Postal Code/ZIP:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="postcode" id="postcode" size="60" maxlength="100" value="" />
					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="country">
							Country:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="country" id="country" size="60" maxlength="100" value="" />
					</td>
				</tr>
				<tr>
					<td class="key" valign="top">
					<label for="telephone">
					Telephone:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="telephone" id="telephone" size="60" maxlength="255" value="" />
  					</td>
				</tr>
				<tr>
					<td class="key" valign="top">
						<label for="mobile">
							Mobile Phone Number:
						</label>
					</td>
					<td>
 						<input class="inputbox" type="text" name="mobile" id="mobile" size="60" maxlength="255" value="" />
					</td>
				</tr>
				<tr>
					<td class="key" valign="top">
						<label for="fax">
							Fax:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="fax" id="fax" size="60" maxlength="255" value="" />
 					</td>
				</tr>
				<tr>
					<td class="key">
						<label for="webpage">
							Web URL:
						</label>
					</td>
					<td>
						<input class="inputbox" type="text" name="webpage" id="webpage" size="60" maxlength="255" value="" />
					</td>
				</tr>
				<tr>
					<td  class="key" style="text-align:left;" valign="top" colspan="2">
						<label for="misc">
							Miscellaneous Information:
							<br /><br />
							This is shown on the top of the form:
						</label>
					</td>
				</tr>
				<tr>
					<td colspan="2">
 
						Please be aware there is a newer version of the JoomlaFCK Editor which can be downloaded from <a href="http://www.joomlafckeditor.com" target="_blank">http://www.joomlafckeditor.com</a>.<br/><span style="color:blue">Please note the above message will only displayed to Administrators and above and cam be turned off in the Plugins Advance settings.</span>
		<textarea name="misc" id="misc" cols="75" rows="20" style="width:100%; height:350px;"></textarea><script type="text/javascript">DisplayEditormisc()</script>
<div id="editor-xtd-buttons">
<div class="button2-left"><div class="image"><a class="modal-button" title="Contact Image" href="index.php?option=com_media&amp;view=images&amp;tmpl=component&amp;e_name=misc"  rel="{handler: 'iframe', size: {x: 570, y: 400}}">Contact Image</a></div></div>
<div class="button2-left"><div class="pagebreak"><a class="modal-button" title="Pagebreak" href="index.php?option=com_content&amp;task=ins_pagebreak&amp;tmpl=component&amp;e_name=misc"  rel="{handler: 'iframe', size: {x: 400, y: 85}}">Pagebreak</a></div></div>
<div class="button2-left"><div class="readmore"><a  title="Readmore" href="#" onclick="insertReadmore('misc');return false;" rel="">Readmore</a></div></div>
</div>
					</td>
				</tr>
				<tr>
					<td  class="key" style="text-align:left;" valign="top" colspan="2">
						<label for="sidebar">
							Sidebar:
							<br /><br />
							This is shown either on the left or right. choose its postion on the advanced parameters:
						</label>
					</td>
				</tr>
				<tr>
					<td colspan="2">
 
						<br />
<b>Fatal error</b>:  Cannot redeclare getyoothemecss() (previously declared in /home/ssss/public_html/templates/yoo_rollout/css/JFCKeditor.css.php:3) in <b>/home/ssss/public_html/templates/yoo_rollout/css/JFCKeditor.css.php</b> on line <b>1</b><br />

Help please!
Lisa
:blink:

Please Log in or Create an account to join the conversation.

14 years 7 months ago #1048 by douglas
Dear Lisa,

That's odd!
Can you provide an administrator account so I can test it? You can send the details using this form: ideal.fok.com.br/contact/support-center.html

Regards,

Please Log in or Create an account to join the conversation.

14 years 7 months ago #1066 by redheadskater
Information sent.

Please Log in or Create an account to join the conversation.

14 years 7 months ago #1067 by redheadskater
Here's some more info for you - I got the error using Firefox browser (latest version).

When I tested in IE8, I got a popup box asking me to open Dreamweaver --??

Interestingly, when in IE8, in Contact Enhanced > Contacts, I can see the contact I tried to add in there. In Firefox, I don't see that at all.

HTH-
Lisa

Please Log in or Create an account to join the conversation.

14 years 7 months ago #1068 by douglas
Dear Lisa,

It seems to a problem with your WYSIWYG editor or with your template yoo_rollout. Can you select a different editor?

Regards,

Please Log in or Create an account to join the conversation.

14 years 7 months ago #1069 by redheadskater
I selected the TinyMCE editor and that took care of the problem.

So for anyone else viewing this thread - FCKeditor is a little tempermental with this plugin. Just activate TinyMCE while configuring this contact form, then re-activate the FCKeditor when you are finished (if you're using FCKeditor to begin with).

Lisa

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback