Forums

plugins Chronoforms don't work

gmbcyr 09 Sep, 2013
Hi,
i installed chronoforms V4,using with ChronoConnectivity v4.Install and enable plugins chronoforms.But in my ChronoConnectivity,when i write {chronoforms}form_name{/chronoforms}.my form don't appear and just see the name of form
GreyHead 09 Sep, 2013
Hi gmbcyr,

Where exactly are you putting the plug-in tag? It will work in an article and a few other places, but not, as far as I know, in ChronoConnectivity.

Bob
gmbcyr 09 Sep, 2013
Tank you for reply,
I write the plugins tag in chronoconnectivity, at the section "Footer" which in "tab custom Listing Settings" and himself in "tab Frontend List Settings".

GMBcyr
gmbcyr 09 Sep, 2013
Hi Bob,
I have an example of code where plungins works very well with old version(1.5.26) of Joomla. even if they called form with tag {chronocontact}form_name{/chronocontact}.
here is the code of that chronoconnectivity forms
<?php
date_default_timezone_set('Europe/London');
//setlocale(LC_TIME, 'fr', 'fr_FR', 'fr_FR.ISO8859-1');
setlocale (LC_TIME, 'fr_FR.utf8');
$url= $mainframe->isAdmin() ? $mainframe->getSiteURL() : JURI::base();
$bd=& JFactory::getDBO();
$sql="SELECT id_act, lieu, date_debut, date_fin FROM #__chronoforms_timesheet WHERE id_act=".$_GET['idform'];
$bd->setQuery($sql);
$result=$bd->loadObjectList();

?>
<div id="haut">
<div id="cout"><div> <span id="label"></span> {normes}</div></div>
<div id="titre"><h2>{titre}</h2></div>
</div>

<div id="main"><div><div>
<div id="objectifs">{objectifs}</div>
<?php if (!empty($MyRow->fiche)){ ?>
<div id="fiche"><a href="images/conseil/fiches/{fiche}">telecharger la fiche</a></div>
<?php } ?>
</div></div></div>
<div id="tabs">
{tab=Contenu}

{contenu}

{tab=methodes}

{methode}

{tab=Cible}
{cible}
{service}
{tab=Date & lieu}

<div id="type" class="form_item">
  <div class="form_element1">
<?php
echo '<ul>';
foreach ($result as  $ligne){
echo '<label class="cf_label_1">Lieu: </label><label class="cf_label_2">'.$ligne->lieu.'</label><br />';
echo '<label class="cf_label_1">Date debut: </label><label class="cf_label_2">'.strftime("%A %d %B %Y.", strtotime($ligne->date_debut)).'</label><br />';
echo '<label class="cf_label_1">Date de fin: </label><label class="cf_label_2">'.strftime("%A %d %B %Y.", strtotime($ligne->date_fin)).'</label><br /><br /><br />';
}
echo '</ul>';
?>
</div>
</div>

{tab=Inscription}
{chronocontact}inscription{/chronocontact}
{/tabs}
</div>


And this is the image of form
GreyHead 09 Sep, 2013
Hi GMBcyr,

I'm pretty certain that the Footer box doesn't support Joomla! plug-ins (and neither do the Header or Body boxes), sorry :-(

What do you need it there for?

Bob
gmbcyr 10 Sep, 2013
Hi Bob,
I'm very unfortunate that it not possible.
I wan it there to enjoy all the possibility of chronoform, join with all flexibility of chronoconnectivity. they both will transform all my update very easy. Because I manage many formations, i will like :
-chronoconnectivity to show all details informations of a formation,
-chronoform to manage registration at the same formation form.
Not wan to use different links, one to view details of formation and other to register at formation.
GreyHead 10 Sep, 2013
Hi gmbcyr,

You can put the form in a module on the same page. Most templates have a module position under the main content.

Bob
ludo007 12 Sep, 2013
Hi Greyhead,
It is very strange that plugin of chronoform or fr tabs don't work in connectivity. Like the example that gmbcyr show in a previous post the plugin of joomla worked in the previous version of connectivity. look the attachments of this previous post and the code used, joomla plugin was worked in the previous version. How do you enable that in this previous version so we just have to do the same in this version. The challenge is not only on the plugin of tabs or chronoform but to make plugin working on connectivity. Thanks
GreyHead 13 Sep, 2013
Hi ludo007,

That's a question for Max, I have no idea what his thinking is about this.

Bob
This topic is locked and no more replies can be posted.