Anchors not working with SEF enabled

Canard 26 Oct, 2014
Hi !
as the subject explains my anchors don't work as SEF is enabled, otherwise it is OK, here's the body section of the CC thing :
<h1><b>{nom}</b></h2>

<p><h3>Résumé {id}<a name="resume" title="resume"></a>
</h3>
<div class="justify">{resume}</div>
</p><br><br>
<div class="blocProjet">
<div class="resume">
</div>
<div class="projetLiensRapides">
<p>
<a href="#1">Présentation</a>
<a href="#2">Localisation</a>
<a href="#3">Habitat</a>
<a href="#4">Espèces</a>
<a href="#5">implication</a>
<a href="#6">Présentation</a>
<a href="#7">Présentation</a>
<a href="#8">Présentation</a>
<a href="#9">Présentation</a>
<a href="#10">Présentation</a>
<a href="#11">Présentation</a>
<a href="#12">Présentation</a>
<a href="#13">Présentation</a>
<a href="#14">Présentation</a>
</p>
</div>
</div>
<p><h3 id="1">Présentation <a name="presentation" title="presentation"></a>
</h3>
<div class="justify">{description}</div>
</p><br><br>

<p><h3 id="2">Localisation <a name="localisation" title="localisation"></a></h3>
<div class="justify">{localisation}</div>
</p><br><br>

<p><h3 id="3">Habitat <a name="habitat" title="habitat"></a></h3>
<div class="justify">{habitat}</div>
</p><br><br>

<p><h3 id="4">Espèces <a name="especes" title="especes"></a></h3>
<div class="justify">{especes}</div>
</p><br><br>

<p><h3 id="5">Implication <a name="implication" title="implication"></a></h3>
<div class="justify">{implication}</div>
</p><br><br>

<p><h3 id="6">Déroulement <a name="deroulement" title="deroulement"></a></h3>
<div class="justify">{deroulement}</div>
</p><br><br>

<p><h3 id="7">Hébergement <a name="hebergement" title="hebergement"></a>
</h3>
<div class="justify">{hebergement}</div>
</p><br><br>

<p><h3 id="8">Langue(s) utilisée(s) <a name="langues" title="langues"></a></h3>
<div class="justify">{langues}</div>
</p><br><br>

<p><h3 id="9">Exigences <a name="exigences" title="exigences"></a></h3>
<div class="justify">{autre_exigences}</div>
</p><br><br>

<p><h3 id="10">Contraintes <a name="contrainte" title="contrainte"></a></h3>
<div class="justify">{contrainte}</div>
</p><br><br>

<p><h3 id="11">Conditions pour les mineurs <a name="condition_mineur" title="condition_mineur"></a></h3>
<div class="justify">{condition_mineur}</div>
</p><br><br>

<p><h3 id="12">Informations de voyage <a name="info" title="info"></a></h3>
<div class="justify">{voyage}</div>
</p><br><br>


<p><h3 id="13">Dates et Tarifs<a name="condition_duree_sejour" title="condition_duree_sejour"></a></h3>
<div class="justify">{condition_duree_sejour}</div>
</p><br><br>
<p><h3 id="14">S'incrire <a name="sinscrire" title="sinscrire"></a></h3>
Pour vous préinscrire à ce projet vous devez remplir un formulaire en ligne.
<br><a href="index.php?option=com_content&view=article&id=37&Itemid=22&projet={id}">cliquez ici.</a>
</p><br><br>
<?php include('/homez.25/cybellep/www/cybelle2/components/com_content/views/bot.stratageo');  ?>

GreyHead 26 Oct, 2014
Hi Canard,

What doesn't work exactly? What URLs do you get in place of those in the HTML?

Bob

PS I think this is a problem with Joomla! SEF, not especially with ChronoForms :-(
Canard 27 Oct, 2014
Hi Bob
for example for href="#3"
with SEF disabled I get
http://www.cybelle-planete.org/ecovolontariat/index.php?option=com_chronoconnectivity&connectionname=detailprojet&Itemid=59#3

with SEF enabled I get
http://www.cybelle-planete.org/ecovolontariat/#3

But you are right it is a SEF problem, I just wanted to be sure there were no special way to achieve this in CF.
Canard 27 Oct, 2014
edit : if href is set to
index.php?option=com_chronoconnectivity&connectionname=detailprojet&Itemid=59#3

It is rewritten as
www.cybelle-planete.org/ecovolontariat/component/chronoconnectivity/?connectionname=detailprojet#3
Max_admin 27 Oct, 2014
The last link should work ok I think, you may also try the core Joomla SEF.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Canard 27 Oct, 2014
Hi Max, thank you for the reply, I'm actually using the core Joomla SEF and none of the links are working. Thank you anyway, I will try to post on Joomla SEF forum.
Have a nice day.
David
GreyHead 27 Oct, 2014
Hi Canard,

Please check if you have the SEF System plug-in enabled - if you do please try disabling it. This seems to try to find every URL in the page HTML and 'SEF' it which isn't always helpful :-(

Bob
Max_admin 27 Oct, 2014
Hi Canard,

Please create a menu item for your connection and test using the menu item's link all the time, don't test using the "view connection" link, this was a problem in v4

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Canard 27 Oct, 2014
Answer
1 Likes
Well I got it work with the following link :
index.php?option=com_chronoconnectivity&connectionname=detailprojet&Itemid=59&projet={id}#1

I was actually missing the "&projet={id}" part.
Hope it can help someone else, thank you for your time !
This topic is locked and no more replies can be posted.