CalendarScript 4 will soon be released for public beta. Our hosted solution continues development...
Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search
8054
Posts in
1860
Topics- by
2099
Members
- Latest Member:
roi
Calendar Script Community
Customization
Customizing CalendarScript
(Moderators:
scott
,
DanO
,
Marty
)Calendar Template Type Question
« previous
next »
Pages: [
1
]
Go Down
Author
Topic: Calendar Template Type Question (Read 1445 times)
0 Members and 1 Guest are viewing this topic.
Shelley
New Member
Karma: 0
Offline
Posts: 13
Web Designer
Calendar Template Type Question
«
on:
October 09, 2007, 05:57:21 PM »
How do I create a new calendar template (different from the three styles that come with Calendarscript) that I can use to modify a new calendar that I am adding to my site?
I managed to do this several years ago, but am not able to duplicate this feat.
Any help greatly appreciated.
Best,
Shelley
Logged
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 235
Please don't PM me. Post in the open forum.
Re: Calendar Template Type Question
«
Reply #1 on:
October 09, 2007, 09:38:03 PM »
I have no idea how you can do it
from scratch
. You'll definitely have to replicate much of an existing template's code. The simplest way would likely be to start with one of the existing templates and just modify it to get the look you want.
JMO
Dan O.
Logged
Shelley
New Member
Karma: 0
Offline
Posts: 13
Web Designer
Re: Calendar Template Type Question
«
Reply #2 on:
October 10, 2007, 10:25:05 AM »
Yes, that is how I did this. But I am unable to see the "new" template in the Display Template Type: menu in calendar settings. And when I modify things in the "new" template default. html, nothing changes (that I can see) in the new calendar itself.
I
can
change the calendar from within Calendar Administration Template Preferences.
Also, when I looked at the calendars. id and the calendars. txt docs in the calendarscript folder, only 3 calendars (in calendars. id) and 3 calendar #format:id keyname and descriptions (in calendars. txt) appear in these files, although there are now 4 calendars.
Do I need to manually add this information to the above two docs? Because it seems the new calendar's template is not being recognized.
Weirdness. :-\
Your help and suggestions are greatly appreciated.
Best,
Shelley
Logged
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 235
Please don't PM me. Post in the open forum.
Re: Calendar Template Type Question
«
Reply #3 on:
October 10, 2007, 12:00:52 PM »
** I am unable to see the "new" template in the Display Template Type: menu **
A new template choice will only appear in the Calendar Settings section if you've created a whole new
directory
under the /templates/calendars directory for the new template
set
. Did you do that?
Dan O.
Logged
Shelley
New Member
Karma: 0
Offline
Posts: 13
Web Designer
Re: Calendar Template Type Question
«
Reply #4 on:
October 10, 2007, 12:56:15 PM »
Hello DanO,
I've discovered the problem. And yes, I did create a whole new directory under the /templates/calendars directory for the new template set.
The problem was that we use three servers in our environment, only one of which is the final production server. I was making the changes on that final server, unaware that I obviously made the calendar. pl, calendar_admin. pl and calendarscript directory functional on another server that then copies to the final production server. Since I haven't had occasion to add another calendar since that time, I forgot the process. I'm so embarrassed :'(
Sorry to waste your time like that. It only began to dawn on me when I got an error message that made a reference to a directory on the intermediate server. I transferred my new calendar template directory to that correct calendarscript/template server and voilą, I can see the template and make my changes.
:D
Shelley
Logged
DanO
Moderator
Full Member
Karma: 13
Offline
Posts: 235
Please don't PM me. Post in the open forum.
Re: Calendar Template Type Question
«
Reply #5 on:
October 10, 2007, 04:15:42 PM »
** I can see the template and make my changes **
Glad to hear it.
Dan O.
Logged
Pages: [
1
]
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> FAQS
=> Advertise on CalendarScript
-----------------------------
Setup and Installation
-----------------------------
=> Installation and Setup
=> Problems and Solutions
-----------------------------
Customization
-----------------------------
=> Customizing CalendarScript
=> Hacks and Mods
=> Plugins
-----------------------------
Making CalendarScript Better
-----------------------------
=> Suggestions and Ideas
=> Showcase
-----------------------------
Licensing
-----------------------------
=> Licensing
-----------------------------
Everything Else
-----------------------------
=> General Use