Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8026 Posts in 1851 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: New Install  (Read 224 times)
0 Members and 1 Guest are viewing this topic.
MikeL2051
New Member
*

Karma: 0
Offline Offline

Posts: 0

Network Install/Repair/Admin


WWW
« on: August 30, 2005, 11:05:00 AM »

Installed Calendar for a new website I am building.  Bat install went smooth.  The only problem I had was with the day abbreviations.  There are 2 arrays for the names but there is no select in the admin program for them, nor logic in the template to select them.  So I just typed in the abbreviations in the Admin form.  No real biggy.  I am just using one calendar so not much work there.  I needed to display the events for the current month in the index page of this site.  I probably did it the hard way; I made a config.txt with prefrences for nothing but an event list.  Then I copied the calendar.pl program and hard-coded the new config-file name in it.  Then I hacked-out all the code I didn't need in a copy of the default template and hard-coded that name into my copy of the program.  Not very pretty, but it works.  I am NOT a website designer, and I don't do much code (I'm assembler and C) so I took the easiest way out.  No problems running the programs.  The REAL Test will come when the site is published; hopefully Friday, Sept. 2nd.  Oh, and by the way, I AM USING IFRAMES!  All the browsers I care about are using them now.  (IE, Netscape, Mozilla)  If it turns out to be a big problem I can always stuff the pages inside the templates and just point the url to the programs for those pages.  After Fri. check out the site:  http://www.pittcountywildlifeclub.org/   If anyone sees any real problems I would appreciate any 411 and suggestions.  Overall - Very Good program.
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 221

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: August 30, 2005, 05:15:00 PM »

** The only problem I had was with the day abbreviations. There are 2 arrays for the names but there is no select in the admin program for them **

There is one array with the day names and another array for the day name abbreviations

** nor logic in the template to select them. **

Each are used in different places, you don't get a 'choice'. If you wanted them in different places, you'd likely need to customize the template displaying them (or if consistant, just change what is entered for each in the admin. customization section).

The same goes for the month names and their abbreviations. Which one displays where is not an 'option'.


** I needed to display the events for the current month in the index page of this site. **

There is an ssi.html template for that (see the following link), which can be called via SSI.

LINK > Example SSI Template Output


** I AM USING IFRAMES! All the browsers I care about are using them now. **

Whether browsers can display frames is not the problem. The use of frames in some current browsers can prevent cookies from being accepted which can in turn affect operation of the calendar, especially the administration script which WILL NOT function without them.

JFYI

Dan O.
www.much2.com
Unofficial CalendarScript - Mods and Plugins site

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: