Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / AdsManager Support / Problem displaying fields tags

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

Problem displaying fields tags

More
8 years 5 months ago #22719 by ACSI
Problem displaying fields tags was created by ACSI
Problem displaying fields tags
I have a problem creating a new field in the adsmanager component in joomla administration.
When I try to select the plugin tags the configuration options for this plugin do not appear. All other types of fields work except tags.
Ci attached the file I have regarding the installed tags plugin that has not been modified and the screen capture. My adsmanager version is 3-1-6 (the last one)
What should be done to solve this problem?
thank you in advance
More
8 years 5 months ago #22720 by ACSI
Replied by ACSI on topic Problem displaying fields tags
Copie écran du problème
Attachments:
More
8 years 5 months ago #22735 by loic
Replied by loic on topic Problem displaying fields tags
Hello,

The tags field doesn't have any specific parameter, what do you need to do ?

Best regards.
More
8 years 5 months ago - 8 years 5 months ago #22755 by ACSI
Replied by ACSI on topic Problem displaying fields tags
When I want to create a new field, the option that appears is check box (single) that is normal.
The problem is that when I want to change the type of fields from check box (single) to tags, nothing happens.
All the parameters of the check box (single) option remain.
Is this a jquery problem?

Lorsque je veux créer un nouveau champs, l'option qui s'affiche est check box single ça c'est normal.
Le problème est que lorsque je veux changer de type de champs c'est à dire passer de check box (single) à Tags, rien ne se passe.
Tous les paramêtres de l'option check box (single) reste.
Est ce un problème jquery?
Last edit: 8 years 5 months ago by ACSI.
More
8 years 5 months ago #22774 by loic
Replied by loic on topic Problem displaying fields tags
Bonjour,

Les différents type de champ ont tous des paramètres en commun.

Le type checkbox et tags ont exactement les mêmes paramètres, c'est pour ça que vous ne voyez aucun changement.

Cordialement.
The following user(s) said Thank You: ACSI
More
8 years 2 months ago #23866 by ACSI
Replied by ACSI on topic Problem displaying fields tags
Bonjour,
Je reviens sur ce message.
En fait j'ai réussi à appliquer jquery chosen dans la bonne vue du plugin tags en ajoutant la fonction "
public function getSearchFormDisplay($content,$field,$default=null)"

En revanche je souhaiterai que jquery chosen appel une table dans ma base de donnée mais je n'arrive pas à le faire.
La fonction est dans adsmanagerfields>plugin tags:

function onFormSave(&$content,$field)
{
$app = JFactory::getApplication();
$db = JFactory::getDbo();

$fieldname = $field->name;

$fieldvalues = JRequest::getVar($fieldname,array());
if (!is_array($fieldvalues)) {
$fieldvalues = array($fieldvalues);
}
$list = array();
//var_dump($fieldvalues);exit();
foreach($fieldvalues as $val) {
if (strpos($val,"#new#") !== false) {
$value = str_replace('#new#',"",$val);
$db->setQuery("SELECT count(*) FROM #__adsmanager_tags WHERE type='content' AND value=".$db->Quote($value));
$exist = $db->loadResult();
//var_dump($exist);exit();
if ($exist == 0) {
$data = new stdClass();
$data->type = 'content';
$data->value = $value;
$db->insertObject('#__adsmanager_tags',$data);
}
$list[] = $value;
} else {
$list[] = $val;
}
}
//exit();
return ",".implode(',',$list).",";
}


Je voudrais que chosen appelle la table _adsmanger_ads au lieu de _adsmanager_tags et qu'il aille chercher le champs ad_localisation_address de ma table qui correspond à l'enregistrement de l'autocomplete gmap d'adsmanager.
Le but est que lorsque je fais une recherche avec le module adsmanageradvsearch le plugin puisse faire une recherche dans la colonne ad_localisation_address où les adresses, villes pays sont enregistrés.

Merci
Time to create page: 0.144 seconds
Powered by Kunena Forum