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

Contact Enhanced for Joomla 1.6 BETA discussion

13 years 3 months ago #5163 by douglas
Dear Heinz and Matthieu,

I've just updated the package.

Can you please try again?

Best wishes,

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

13 years 3 months ago #5167 by kr38tiv
douglas wrote:

Dear kr38tiv,

You can reply to this forum post email notification with the login details.

Kind regards,


Sorry douglas, how do I do that? I have looked and can't see that option,, :(

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

13 years 3 months ago #5168 by douglas
Dear kr38tiv,

Don't you receive an email notification of this post? You can just reply to that email.
OR
You can also use the contact form under Support -> Email Support questions.

Regards,

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

13 years 3 months ago #5170 by kr38tiv
douglas...sent you an email reply with the details.

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

13 years 3 months ago #5228 by kr38tiv
Thanks Douglas!

All is working perfectly now. :)

Regards.

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

13 years 3 months ago #5279 by Matthieu
I installed the complete package and now again have the problem with the language. Site only visible in E nglish and can't swith to Dutch.

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

13 years 3 months ago #5282 by Matthieu
Language problem solved. This afternoon didn't had a time and just did a quick install of the provided upgrade.
But it turns out it was the same as before. Deleted the lines and now it works.
Maybe you should remove them too, before providing the next upgrade.

The original problem solved too. Can now put contact sheet inside articles.

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

13 years 3 months ago #5283 by douglas
Dear Matthieu,

This will be fixed for Beta 4, which I should release sometime this week.

Best regards,

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

13 years 3 months ago #5316 by Matthieu
I have a request.

It is now possible to make some items only once per category. For example: name, surname, email, subject.
With multilangual site it's not perfect.
Is it possible to change this to: item only once per language per category?
It would be much more user friendly.

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

13 years 3 months ago #5319 by douglas
Dear Matthieu,

That makes a lot of sense and I've just fixed it for you. ;-)
The changes will be in the Beta 5, but if you want to fix it now you can follow these instructions:
Open [Path to Joomla]/administrators/components/com_contactenhanced/tables/customfield.php
Find this code:
function canInsert(){
	$denyMultiple	= array('subject','email','name','username');
 
	if( !in_array($this->type, $denyMultiple) ){
		return true;
	}
 
	$where	= array();
	//
	if($this->id){
		$where[]= 'id <> '.$this->_db->Quote($this->id);
	}
 
	$where[]= 'type		= '.$this->_db->Quote($this->type);
	$where[]= '( catid	= '.$this->_db->Quote($this->catid) .' OR catid	= '.$this->_db->Quote('0'). ')';
 
	$query	= 'SELECT * FROM '.$this->_tbl
			 . (count( $where ) ? ' WHERE '. implode( ' AND ', $where ) : '')
			 ;
	$this->_db->setQuery($query);
	// echo $this->_db->getQuery($query); exit;
	if( count($this->_db->loadResult()) > 0 ){
		$this->setError(JText::sprintf('CE_CF_WARNING_ONE_FIELD_PER_CATEGORY',ucfirst($this->type)));
		return false;
	}
 
	return true;	
}
and replace with this code:
function canInsert(){
	$denyMultiple	= array('subject','email','name','username','surname','password','password_verify');
 
	if( !in_array($this->type, $denyMultiple) ){
		return true;
	}
 
	$where	= array();
	//
	if($this->id){
		$where[]= 'id <> '.$this->_db->Quote($this->id);
	}
 
	//ignore unpublished items:
	$where[]= 'published	 > 0';
 
	if($this->language == '*' AND $this->catid == '0'){
		$where[]= 'type		= '.$this->_db->Quote($this->type);
	}else{
		$where[]= 'type		= '.$this->_db->Quote($this->type);
		$where[]= '(catid	= '.$this->_db->Quote($this->catid) 	.' OR catid	= '.$this->_db->Quote('0'). ')';
		$where[]= '(language= '.$this->_db->Quote($this->language)	.' OR language = '.$this->_db->Quote('*'). ')';
	}
 
	$query	= 'SELECT * FROM '.$this->_tbl
			 . (count( $where ) ? ' WHERE '. implode( ' AND ', $where ) : '')
			 ;
	$this->_db->setQuery($query);
	// echo $this->_db->getQuery($query); exit;
	if( count($this->_db->loadResult()) > 0 ){
		$this->setError(JText::sprintf('CE_CF_WARNING_ONE_FIELD_PER_CATEGORY',ucfirst($this->type)));
		return false;
	}
 
	return true;	
}

All the best,

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

13 years 3 months ago #5346 by Matthieu
It works perfect. Thanks :)

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

13 years 3 months ago - 13 years 3 months ago #5347 by Matthieu
[SOLVED]
I found out that I needed to use SELECT title AS value
It's not very obvious. Maybe you spent some article about it at some moment.

[/SOLVED]

And I'm back again. I searched the site and forum for this but couldn't find the answer.

I want to make a 'select list' which includes the names of articles of a certain category.
I assumed using the SQL option with this query:
"SELECT title FROM `joom_content` WHERE catid = '8'
should do the trick.

At the moment there should be two articles. The 'select list' gives the impression of giving back two results. Only they are empty.

What am I doing wrong, or did I discover some bug?

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