normal trouble with agenda 2.0 ;)

Hi, all

There's a problem showing an event... I have 2 events:

-----------------------------------------------------------------
29/09 until 30/09 - 50 anos do CEAO
-----------------------------------------------------------------
30/09 - teste 2
-----------------------------------------------------------------

This last one will appear normally at day 30
http://www.ffch.ufba.br/spip.php?page=agenda&date=2009-09-30

but as there is that 1st event, that starts day 29 and goes until day
30, than the calendar points the link of the "30" to day 29... and
when we go manually to day 30, the first event doesn't appear.

Is that so?

thank you
tereza

You need to give us the loops that you are using...

On Thu, Sep 24, 2009 at 3:17 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all

There's a problem showing an event... I have 2 events:

-----------------------------------------------------------------
29/09 until 30/09 - 50 anos do CEAO
-----------------------------------------------------------------
30/09 - teste 2
-----------------------------------------------------------------

This last one will appear normally at day 30
http://www.ffch.ufba.br/spip.php?page=agenda&date=2009-09-30

but as there is that 1st event, that starts day 29 and goes until day
30, than the calendar points the link of the "30" to day 29... and
when we go manually to day 30, the first event doesn't appear.

Is that so?

thank you
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar

ok. I don't quite understand, but these are the lines that draw the
minical at the right side:

#CALENDRIER_MINI{#ENV{date},'date',#SELF}
<BOUCLE_calendrier(EVENEMENTS){agenda date_debut, mois,
(#ENV{date}|annee), (#ENV{date}|mois)}>
[(#DATE_DEBUT|Agenda_memo_full{#DATE_FIN,[(#TITRE|addslashes)],#DESCRIPTIF,#LIEU,
spip.php?page=agenda&date=[(#DATE_DEBUT|affdate{'Y-m-d'})]})]
</BOUCLE_calendrier>

The lateral arrows that navigate through months don't work because the
code is at an include, but this error I describe now has nothing to do
with this...

Now I've seen at www.artenqn.com.ar a calendar that goes just... perfect... :slight_smile:
thank you
tereza

On Thu, Sep 24, 2009 at 4:33 PM, Marina Moran
<esperandoelmilagro@gmail.com> wrote:

You need to give us the loops that you are using...

On Thu, Sep 24, 2009 at 3:17 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all

There's a problem showing an event... I have 2 events:

-----------------------------------------------------------------
29/09 until 30/09 - 50 anos do CEAO
-----------------------------------------------------------------
30/09 - teste 2
-----------------------------------------------------------------

This last one will appear normally at day 30
http://www.ffch.ufba.br/spip.php?page=agenda&date=2009-09-30

but as there is that 1st event, that starts day 29 and goes until day
30, than the calendar points the link of the "30" to day 29... and
when we go manually to day 30, the first event doesn't appear.

Is that so?

thank you
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar

Lets see if I understand.

You want to see in the page, all the events for the date you clicked
in the calendar. So if I clic 30/09 I need to see 2 events, but your
page show you just one. right?

So, when you clicked the calendar you show the page "agenda.html":
did you change the squelletes of this page or you are using the
agenda.html that comes with the plugin?

If you changed it, what did you do?

regards,
marina

On Thu, Sep 24, 2009 at 6:38 PM, Tereza Loparic <telopa@gmail.com> wrote:

ok. I don't quite understand, but these are the lines that draw the
minical at the right side:

#CALENDRIER_MINI{#ENV{date},'date',#SELF}
<BOUCLE_calendrier(EVENEMENTS){agenda date_debut, mois,
(#ENV{date}|annee), (#ENV{date}|mois)}>
[(#DATE_DEBUT|Agenda_memo_full{#DATE_FIN,[(#TITRE|addslashes)],#DESCRIPTIF,#LIEU,
spip.php?page=agenda&date=[(#DATE_DEBUT|affdate{'Y-m-d'})]})]
</BOUCLE_calendrier>

The lateral arrows that navigate through months don't work because the
code is at an include, but this error I describe now has nothing to do
with this...

Now I've seen at www.artenqn.com.ar a calendar that goes just... perfect... :slight_smile:
thank you
tereza

On Thu, Sep 24, 2009 at 4:33 PM, Marina Moran
<esperandoelmilagro@gmail.com> wrote:

You need to give us the loops that you are using...

On Thu, Sep 24, 2009 at 3:17 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all

There's a problem showing an event... I have 2 events:

-----------------------------------------------------------------
29/09 until 30/09 - 50 anos do CEAO
-----------------------------------------------------------------
30/09 - teste 2
-----------------------------------------------------------------

This last one will appear normally at day 30
http://www.ffch.ufba.br/spip.php?page=agenda&date=2009-09-30

but as there is that 1st event, that starts day 29 and goes until day
30, than the calendar points the link of the "30" to day 29... and
when we go manually to day 30, the first event doesn't appear.

Is that so?

thank you
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar

The agenda.html shows 2 events correctly IF there isn't any of them
that begins the day before (or something). As we can see here, the
boucle can show more than one event:
http://www.ffch.ufba.br/spip.php?page=agenda&date=2009-09-28

The problem is when one event begins at one date and finishes at
another day (like on this case, it beggins at 29 and ends at 30), so:

- the minicalendar does not link day 30 to 'day 30's page, but to 'day 29's page
- the 'day 30's page doesn't show the event that begins at 29 (maybe
this is not an error)

At agenda.html the code is:

<BOUCLE_evenements(EVENEMENTS) {agenda date_debut, mois,
(#ENV{date}|annee),
(#ENV{date}|mois)}{jour_relatif=0}{statut=publie}><!-- {agenda
date_debut, mois, (#ENV{date}|annee), (#ENV{date}|mois)} -->

<h2>#TITRE</h2>

[<div class="#EDIT{intro} texte">(#DESCRIPTIF)</div>]

[Data: (#DATE_DEBUT|Agenda_affdate_debut_fin{#DATE_FIN,#HORAIRE})<br />]

[Local: <span class="location">(#LIEU)</span>[<span
class="adresse">(#ADRESSE|PtoBR)</span>]</p>]

<p class="leiamais"><img src="squelettes/img/leiamais.png"
style="vertical-align:middle;" /> <a href="#URL_ARTICLE">leia
mais</a></p>

</BOUCLE_evenements>

thanks! :slight_smile:

On Fri, Sep 25, 2009 at 1:06 AM, Marina Moran
<esperandoelmilagro@gmail.com> wrote:

Lets see if I understand.

You want to see in the page, all the events for the date you clicked
in the calendar. So if I clic 30/09 I need to see 2 events, but your
page show you just one. right?

So, when you clicked the calendar you show the page "agenda.html":
did you change the squelletes of this page or you are using the
agenda.html that comes with the plugin?

If you changed it, what did you do?

regards,
marina

On Thu, Sep 24, 2009 at 6:38 PM, Tereza Loparic <telopa@gmail.com> wrote:

ok. I don't quite understand, but these are the lines that draw the
minical at the right side:

#CALENDRIER_MINI{#ENV{date},'date',#SELF}
<BOUCLE_calendrier(EVENEMENTS){agenda date_debut, mois,
(#ENV{date}|annee), (#ENV{date}|mois)}>
[(#DATE_DEBUT|Agenda_memo_full{#DATE_FIN,[(#TITRE|addslashes)],#DESCRIPTIF,#LIEU,
spip.php?page=agenda&date=[(#DATE_DEBUT|affdate{'Y-m-d'})]})]
</BOUCLE_calendrier>

The lateral arrows that navigate through months don't work because the
code is at an include, but this error I describe now has nothing to do
with this...

Now I've seen at www.artenqn.com.ar a calendar that goes just... perfect... :slight_smile:
thank you
tereza

On Thu, Sep 24, 2009 at 4:33 PM, Marina Moran
<esperandoelmilagro@gmail.com> wrote:

You need to give us the loops that you are using...

On Thu, Sep 24, 2009 at 3:17 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all

There's a problem showing an event... I have 2 events:

-----------------------------------------------------------------
29/09 until 30/09 - 50 anos do CEAO
-----------------------------------------------------------------
30/09 - teste 2
-----------------------------------------------------------------

This last one will appear normally at day 30
http://www.ffch.ufba.br/spip.php?page=agenda&date=2009-09-30

but as there is that 1st event, that starts day 29 and goes until day
30, than the calendar points the link of the "30" to day 29... and
when we go manually to day 30, the first event doesn't appear.

Is that so?

thank you
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar

I use this loop to do this:

<BOUCLE_evenements2(EVENEMENTS){par
date}{inverse}{statut=publie}{date_debut<=#ENV{date}}{date_fin>=#ENV{date}}>

...here what you want to show

</BOUCLE_evenements2>

regards,
marina

On Fri, Sep 25, 2009 at 2:01 AM, Tereza Loparic <telopa@gmail.com> wrote:

The agenda.html shows 2 events correctly IF there isn't any of them
that begins the day before (or something). As we can see here, the
boucle can show more than one event:
http://www.ffch.ufba.br/spip.php?page=agenda&date=2009-09-28

The problem is when one event begins at one date and finishes at
another day (like on this case, it beggins at 29 and ends at 30), so:

- the minicalendar does not link day 30 to 'day 30's page, but to 'day 29's page
- the 'day 30's page doesn't show the event that begins at 29 (maybe
this is not an error)

At agenda.html the code is:

<BOUCLE_evenements(EVENEMENTS) {agenda date_debut, mois,
(#ENV{date}|annee),
(#ENV{date}|mois)}{jour_relatif=0}{statut=publie}><!-- {agenda
date_debut, mois, (#ENV{date}|annee), (#ENV{date}|mois)} -->

<h2>#TITRE</h2>

[<div class="#EDIT{intro} texte">(#DESCRIPTIF)</div>]

[Data: (#DATE_DEBUT|Agenda_affdate_debut_fin{#DATE_FIN,#HORAIRE})<br />]

[Local: <span class="location">(#LIEU)</span>[<span
class="adresse">(#ADRESSE|PtoBR)</span>]</p>]

<p class="leiamais"><img src="squelettes/img/leiamais.png"
style="vertical-align:middle;" /> <a href="#URL_ARTICLE">leia
mais</a></p>

</BOUCLE_evenements>

thanks! :slight_smile:

On Fri, Sep 25, 2009 at 1:06 AM, Marina Moran
<esperandoelmilagro@gmail.com> wrote:

Lets see if I understand.

You want to see in the page, all the events for the date you clicked
in the calendar. So if I clic 30/09 I need to see 2 events, but your
page show you just one. right?

So, when you clicked the calendar you show the page "agenda.html":
did you change the squelletes of this page or you are using the
agenda.html that comes with the plugin?

If you changed it, what did you do?

regards,
marina

On Thu, Sep 24, 2009 at 6:38 PM, Tereza Loparic <telopa@gmail.com> wrote:

ok. I don't quite understand, but these are the lines that draw the
minical at the right side:

#CALENDRIER_MINI{#ENV{date},'date',#SELF}
<BOUCLE_calendrier(EVENEMENTS){agenda date_debut, mois,
(#ENV{date}|annee), (#ENV{date}|mois)}>
[(#DATE_DEBUT|Agenda_memo_full{#DATE_FIN,[(#TITRE|addslashes)],#DESCRIPTIF,#LIEU,
spip.php?page=agenda&date=[(#DATE_DEBUT|affdate{'Y-m-d'})]})]
</BOUCLE_calendrier>

The lateral arrows that navigate through months don't work because the
code is at an include, but this error I describe now has nothing to do
with this...

Now I've seen at www.artenqn.com.ar a calendar that goes just... perfect... :slight_smile:
thank you
tereza

On Thu, Sep 24, 2009 at 4:33 PM, Marina Moran
<esperandoelmilagro@gmail.com> wrote:

You need to give us the loops that you are using...

On Thu, Sep 24, 2009 at 3:17 PM, Tereza Loparic <telopa@gmail.com> wrote:

Hi, all

There's a problem showing an event... I have 2 events:

-----------------------------------------------------------------
29/09 until 30/09 - 50 anos do CEAO
-----------------------------------------------------------------
30/09 - teste 2
-----------------------------------------------------------------

This last one will appear normally at day 30
http://www.ffch.ufba.br/spip.php?page=agenda&date=2009-09-30

but as there is that 1st event, that starts day 29 and goes until day
30, than the calendar points the link of the "30" to day 29... and
when we go manually to day 30, the first event doesn't appear.

Is that so?

thank you
tereza
_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar

_______________________________________________
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en

--
Marina
www.artenqn.com.ar