Hey,
I have bought ChronoForms today! Great work it is very good.
So here my problem. I have Joomla 1.7 and the newest ChronoForms.
Now I have made a Joomla Module with the help of this Forum (http://www.chronoengine.com/forums.html?cont=posts&f=5&t=18483&start=15&hilit=article+form).
The Module is working, u can view it there at the right side: ---
Now i have added this code at a Chrone custom code field in the event tab:
But this code get ignored. It is the same in the controller mode and in the view mode.
When i put this code not over the wizzard the result is like i want it:
But when I add the code manually I must add the code every time if I edit the form in the wizzard. How can I add this code in the wizzard that it will work.
I have bought ChronoForms today! Great work it is very good.
So here my problem. I have Joomla 1.7 and the newest ChronoForms.
Now I have made a Joomla Module with the help of this Forum (http://www.chronoengine.com/forums.html?cont=posts&f=5&t=18483&start=15&hilit=article+form).
<?php
$article_id = JRequest::getInt('id', 0, 'get');
$title = '';
if ( $article_id ) {
$db =& JFactory::getDBO();
$query = "
SELECT `title`
FROM `#__content`
WHERE `id` = ".$db->quote($article_id)." ;
";
$db->setQuery($query);
$title = $db->loadResult();
}
?>
<?php
$url =& JURI::getInstance();
// $url->toString();
?>
<center><a href='index.php?option=com_chronoforms&chronoform=Anfrage-de&title=<?php echo $title; ?>&url=<?php echo $url; ?>' ><?php echo $title; ?></a>
<a href='index.php?option=com_chronoforms&chronoform=Anfrage-de&title=<?php echo $title; ?>&url=<?php echo $url; ?>' ><img src="images/icons_64x64/apps/email.png" border="0" alt="" /></a> <br>
Hier können Sie bei Interesse unser Anfrageformular ausfüllen!</center>
The Module is working, u can view it there at the right side: ---
Now i have added this code at a Chrone custom code field in the event tab:
<h2>Anfrage
<?php
$title = JRequest::getString('title', '', 'get');
// echo $title;
?>
<?php
$url = JRequest::getString('url', '', 'get');
$view = JRequest::getString('view', '', 'get');
$id = JRequest::getString('id', '', 'get');
$catid = JRequest::getString('catid', '', 'get');
$Itemid = JRequest::getString('Itemid', '', 'get');
$lang = JRequest::getString('lang', '', 'get');
?>
<a href='index.php?option=com_content&view=<?php echo $view; ?>&id=<?php echo $id; ?>&catid=<?php echo $catid; ?>&Itemid=<?php echo $Itemid; ?>&lang=<?php echo $lang; ?>' ><?php echo $title; ?></a>
</h2>
But this code get ignored. It is the same in the controller mode and in the view mode.
When i put this code not over the wizzard the result is like i want it:
Betreff: Gebrauchte Maschine 3
Link: ----
But when I add the code manually I must add the code every time if I edit the form in the wizzard. How can I add this code in the wizzard that it will work.