List Info

Thread: Calendar




Calendar
user name
2006-09-04 14:29:45
> It's me again. Sorry for spamming the list with my
questions. I somehow
> managed to wr*ck the calendar. The calendar still shows
up. But the
> datevalues in the calendar show up as 'undefined'. I
think it's a setting
> somewhere, but I can't find it.
Did you modify Campsite sources? If so just overwrite them
from the original
Campsite package.

> On a second note: I'm trying to embed certain
attachment types into an
> article page. I thought it was possible to only list
attachments of a certain
> type. (I though I did it before, but I can't figure it
out anymore)

This will create a list of mp3 attachments:
<!** list articleAttachment>
    <!-- take action only if the extension is mp3 -->
    <!** if articleAttachment extension mp3>
       <!-- show link -->
    <!** endif>
<!** endlist>

> And a final question. How can I change the default
fonttype in Xinha. Do I
> need to edit the files, or is there a setting
somewhere??
Sorry, can't help you with this, Paul should be able to
help.

Mugur


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
Calendar
user name
2006-09-05 05:49:48
Thanks for the code, but for some reason it doesn't work.
F.e. the code 
below is a block that should only list attachments with the
wmv extension. 
If I try the code below, the whole page gets wrecked (and it
doesn't display 
the link to the attachment). As soon as I remove the <!**
if 
articleAttachment extension wmv> and <!** endif> it
displays normally again 
(and it displays the link).

the code:

<tr>
<td bgcolor="#F5F5F5" style="border:
1px solid #ECECEC; padding: 5px 0px 5px 
0px" align="center"
colspan="4">

<!** list articleAttachment>
<!** if articleAttachment extension wmv>
<img src="/look/img/radio.gif">
<a href="<!** URI ArticleAttachment>"
target="_blank" title="<!** print 
intro_voorpagina>">
<!** print Article name></a><br />
<!** endif>
<!** endlist>

</td>
</tr>

As for the calendar. I didn't modify the sources. And I
noticed that if I 
login using the English language the calendar does display
properly. Just 
when I login using the Dutch language it doesn't display
right. So my guess 
is that it a language setting??

I'll email Paul about the default font for Xinha.

Thanks for your answers sofar!

Regarts,

>From: Mugur Rus <mugur1973yahoo.com>
>Reply-To: campsite-supportcampware.org
>To: campsite-supportcampware.org
>Subject: Re: [campsite-support] Calendar
>Date: Mon, 4 Sep 2006 07:29:45 -0700 (PDT)
>
> > It's me again. Sorry for spamming the list with
my questions. I somehow
> > managed to wr*ck the calendar. The calendar still
shows up. But the
> > datevalues in the calendar show up as
'undefined'. I think it's a 
>setting
> > somewhere, but I can't find it.
>Did you modify Campsite sources? If so just overwrite
them from the 
>original
>Campsite package.
>
> > On a second note: I'm trying to embed certain
attachment types into an
> > article page. I thought it was possible to only
list attachments of a 
>certain
> > type. (I though I did it before, but I can't
figure it out anymore)
>
>This will create a list of mp3 attachments:
><!** list articleAttachment>
>     <!-- take action only if the extension is mp3
-->
>     <!** if articleAttachment extension mp3>
>        <!-- show link -->
>     <!** endif>
><!** endlist>
>
> > And a final question. How can I change the default
fonttype in Xinha. Do 
>I
> > need to edit the files, or is there a setting
somewhere??
>Sorry, can't help you with this, Paul should be able to
help.
>
>Mugur
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection
around
>http://mail.yahoo.com


Calendar
user name
2006-09-05 06:44:17
Hi Nordin,

Sorry, I forgot to insert the operator, replace:

<!** if articleAttachment extension wmv>
with
<!** if articleAttachment extension is wmv>

(see also: http://code.campware.org/manuals/campsite/2.6/inde
x.php?id=141 )

Please check the manual, you'll find the syntax of all
template statements
there:
http:/
/code.campware.org/manuals/campsite/2.6/

Regards,
Mugur

--- Nordin Kerkvliet <nkerkvliethotmail.com> wrote:
> Thanks for the code, but for some reason it doesn't
work. F.e. the code 
> below is a block that should only list attachments with
the wmv extension. 
> If I try the code below, the whole page gets wrecked
(and it doesn't display 
> the link to the attachment). As soon as I remove the
<!** if 
> articleAttachment extension wmv> and <!**
endif> it displays normally again 
> (and it displays the link).
> 
> the code:
> 
> <tr>
> <td bgcolor="#F5F5F5"
style="border: 1px solid #ECECEC; padding: 5px 0px 5px

> 0px" align="center"
colspan="4">
> 
> <!** list articleAttachment>
> <!** if articleAttachment extension wmv>
> <img src="/look/img/radio.gif">
> <a href="<!** URI
ArticleAttachment>" target="_blank"
title="<!** print 
> intro_voorpagina>">
> <!** print Article name></a><br />
> <!** endif>
> <!** endlist>
> 
> </td>
> </tr>
> 
> As for the calendar. I didn't modify the sources. And
I noticed that if I 
> login using the English language the calendar does
display properly. Just 
> when I login using the Dutch language it doesn't
display right. So my guess 
> is that it a language setting??
> 
> I'll email Paul about the default font for Xinha.
> 
> Thanks for your answers sofar!
> 
> Regarts,
> 
> >From: Mugur Rus <mugur1973yahoo.com>
> >Reply-To: campsite-supportcampware.org
> >To: campsite-supportcampware.org
> >Subject: Re: [campsite-support] Calendar
> >Date: Mon, 4 Sep 2006 07:29:45 -0700 (PDT)
> >
> > > It's me again. Sorry for spamming the list
with my questions. I somehow
> > > managed to wr*ck the calendar. The calendar
still shows up. But the
> > > datevalues in the calendar show up as
'undefined'. I think it's a 
> >setting
> > > somewhere, but I can't find it.
> >Did you modify Campsite sources? If so just
overwrite them from the 
> >original
> >Campsite package.
> >
> > > On a second note: I'm trying to embed
certain attachment types into an
> > > article page. I thought it was possible to
only list attachments of a 
> >certain
> > > type. (I though I did it before, but I can't
figure it out anymore)
> >
> >This will create a list of mp3 attachments:
> ><!** list articleAttachment>
> >     <!-- take action only if the extension is
mp3 -->
> >     <!** if articleAttachment extension mp3>
> >        <!-- show link -->
> >     <!** endif>
> ><!** endlist>
> >
> > > And a final question. How can I change the
default fonttype in Xinha. Do 
> >I
> > > need to edit the files, or is there a setting
somewhere??
> >Sorry, can't help you with this, Paul should be
able to help.
> >
> >Mugur
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
protection around
> >http://mail.yahoo.com
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )