PDA

View Full Version : Calendar


Elton
01-05-2006, 10:57 AM
Hi,

My calendar is showing the days of the week as such:

Su Mo Tu We Tu Fr Sa

I appear to have 2 Tuesdays and no Thursdays :D

Where do I adjust this?

TIA,

Elton

boccio
01-05-2006, 11:51 AM
This is really strange... in our installation files days of week are showing normally, I just double-checked... Anyhow, to adjust this, open language file (include/lang/english.php), calendar dates are at the very bottom of the file...

Elton
01-05-2006, 12:00 PM
That's the first place I looked, but they're fine there....

'su' => 'Su',
'mo' => 'Mo',
'tu' => 'Tu',
'we' => 'We',
'th' => 'Th',
'fr' => 'Fr',
'sa' => 'Sa',

Not showing like that on any of the installations, though :(

i.e. http://www.askanglers.co.uk/

All the best,

Elton

boccio
01-05-2006, 04:27 PM
OK, now this is weird...

I'll make some more tests, but this is the first site I see this happening. Here's the newest site running the software, check it out: http://www.realestaterag.com

Anyhow, is this happening on all installations you made? Are all of them on the same server?

Anybody else experiencing this?

Elton
01-05-2006, 05:13 PM
Yep, happens on every installation and every server.

Test installation here:

http://www.rallywebsites.com/news/

That's in the states - my other one is UK :(

I've got the Commercial Developer pack - is that a different download to the stand alone one? Perhaps there's something in there.

I haven't played with it....honest :)

Elton

Elton
01-05-2006, 05:14 PM
P.S. You may notice that I also have a news letter subscription problem, too, which nobody else seems to be experiencing.

It's me....I'm jinxed :lol:

Elton
01-06-2006, 07:02 AM
Could this be a clue?

In /templates/calendar.tpl I have the following:

<th class="calendar" scope="col">{LNC_SU}</th>
<th class="calendar" scope="col">{LNC_MO}</th>
<th class="calendar" scope="col">{LNC_TH}</th>
<th class="calendar" scope="col">{LNC_WE}</th>
<th class="calendar" scope="col">{LNC_TH}</th>
<th class="calendar" scope="col">{LNC_FR}</th>
<th class="calendar" scope="col">{LNC_SA}</th>

Elton
01-06-2006, 07:07 AM
I've sorted it!

In templates/calendar.tpl change the first TH to TU

Then, in include/lang_replace.php you need to edit the following in a similar way:

'/{LNC_SU}/','/{LNC_MO}/','/{LNC_TU}/','/{LNC_WE}/','/{LNC_TH}/','/{LNC_FR}/','/{LNC_SA}/',

Alex
01-06-2006, 10:39 AM
Yes, this seems to be an error in your package, thx for pointing this out! However, it's very strange that there was 2x LNC_TH (Thursday), and Tuesday was shown in browser :huh:

I've got the Commercial Developer pack - is that a different download to the stand alone one?
Yes, it's different. This is probably why it didn't show like that on our Demo, we placed Enterprise installation on Demo.

gcisnet
01-06-2006, 11:16 AM
I just purchased the Enterprise and note the error was in my distribution.

Also...not sure if this is a calendar bug or part of the design. If you turn of show date in preferences it not only turns off the date on articles but prevents the calendar itself from showing. I can see their might be times someone would want a calendar just by itself.