Re: rubrique, secteur, sector
Thanks. That works in the way that it prints the titre of the current
secteur. I don't know however how to use this string in an html link.
E.g,. say <link rel="stylesheet" href="http://
<here_goes_the_secteur_titre>/style.css" /> should link css from a
different domain that has the same name as my current secteur.
On 2006 Oct 9, at 1:00, Gilles Vincent wrote:
> oops! Sorry, I' made a mistake (my loop returned of course ALL
> sectors)
>
> This should work :
> <BOUCLE_root(RUBRIQUES){id_rubrique=#ID_SECTEUR}>
> #ID_RUBRIQUE, #TITRE
> </BOUCLE_root>
>
> or if you want to avoid confusion in your templates :
> <BOUCLE_root(RUBRIQUES){id_rubrique=#ID_SECTEUR}>
> #_root:ID_RUBRIQUE, #_root:TITRE
> </BOUCLE_root>
>
> 2006/10/9, Barnie <barnie.de.los.angeles@...>:
>>
>> On 2006 Oct 8, at 23:48, Gilles Vincent wrote:
>>
>> > id_secteur is available, like id_rubrique, for articles and
>> sections :
>> > So you can directly do
>> > <BOUCLE1(RUBRIQUES){id_secteur}>
>> > #ID_RUBRIQUE, #TITRE
(Continue reading)