Hi Tuan,
thanks a lot. So far I got this. Not very elegant but it works…
/*
<?php
}
$articleId = $this->plan->terms_and_conditions_article_id > 0 ? $this->plan->terms_and_conditions_article_id : $this->config->article_id;
if ($articleId > 0)
{
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select('*')
->from('#__content')
->where('id = '. (int) $articleId);
$db->setQuery($query);
$rowArticle = $db->loadObject() ;
$catId = $rowArticle->catid ;
require_once JPATH_ROOT.'/components/com_content/helpers/route.php' ;
?>
<div class="<?php echo $controlGroupClass ?>">
<input type="checkbox" name="accept_term" value="1" class="validate[required] osm_inputbox inputbox" />
<strong><?php echo JText::_('Hiermit stimme ich ausdrücklich zu, dass vor Ablauf der Widerrufsfrist mit der Ausführung des Vertrages begonnen wird. Mir ist bekannt, dass ich durch meine Zustimmung mit Beginn der Ausführung des Vertrags mein Widerrufsrecht verliere.'); ?> <a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($articleId, $catId).'&tmpl=component&format=html'); ?>" class="osm-modal" rel="{handler: 'iframe', size: {x: 700, y: 500}}"><?php echo JText::_('Widerufsrechtsbelehrung'); ?></a></strong>
</div>
*/
I put the text directly in the php file because I don’t know how to get it in the translation. And I need the document named „Wideruffsbelehrung“ calling the right document. Actually same as terms and conditions is called.
Regards
Christian