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


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: template problem  (Read 673 times)
0 Members and 1 Guest are viewing this topic.
molly
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: July 08, 2006, 03:28:00 PM »

My problem is that I can't change the command list on the left side of the calendar - i.e. I'm trying to subsitute "Add event" with "Sign-up". - without losing the template preferences.  Here's how it should look (http://www.bendhabitat.org/cgi-bin/calendar.cgi?calendar=OAMP) and here's how it looks after the change (http://www.bendhabitat.org/cgi-bin/calendar.cgi?calendar=Volunteer).  Here's how I did it: I can create a new calendar, and use an existing calendar as the template. Then, I went into the "Volunteer" calendar (.../calendarscript/templates/calendars/Volunteer) default.html file, removed "Search" and changed "Add event" to say "Sign-up".  That seems to work, but it goes back to the default colors, etc.  I am a little confused here.  Anybody got an idea for me?

Another question: Is there any way to make the login (name and pw) case insensitive?

Thanks for any help!!
Molly

Unix; Internet Explorer; I spent about a day working on this, including reading the documentation...

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #1 on: July 08, 2006, 06:08:00 PM »

** My problem is that I can't change the command list on the left side of the calendar **

Editing the template involved should be all that is necessary.

**  - without losing the template preferences **

No template preferences should be lost just by editing the template.

** Here's how it should look... here's how it looks... **

I'm afraid we can't even view the calendars because it looks like you require users to log in first.  

** it goes back to the default colors **

Are you certain you are still on the same calendar??

** Is there any way to make the login (name and pw) case insensitive? **

I'm sure there is but it would likely be too involved to describe how to do it, here. The script files themselves would likely need to be altered... in multiple places.

JMO

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

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

Logged
molly
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: July 08, 2006, 08:02:00 PM »

Thanks for a speedy reply!  I fixed up the calendar and -added name="guest" and pw="guest".  Yes, these are two different calendars.  Here's the way it should look: (http://www.bendhabitat.org/cgi-bin/calendar.cgi?calendar=MyCal), and here's the way it looks (http://www.bendhabitat.org/cgi-bin/calendar.cgi?calendar=MyTest) when I change the default file with a "Sign-up" command in the left column, instead of "Add event".  Maybe a better way to ask is: How can I change the commands in the left column of the calendar?
thanks,
molly

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #3 on: July 08, 2006, 09:22:00 PM »

** Yes, these are two different calendars. Here's the way it should look: **

Than change that calendar's Template Display Preferences to match the other.

Each calendar can look totally different. If you want them to look the same, you'll have to adjust each's settings separately or duplicate an existing calendar (once you have it looking the way you want) to make new ones.

** How can I change the commands in the left column of the calendar? **

The only way I know of is to manually edit the template involved. What exactly is this "Sign-up" link suppose to do anyway?

Dan O.

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #4 on: July 09, 2006, 11:50:00 AM »

Did you figure it out??

Dan O.

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

Logged
molly
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #5 on: July 10, 2006, 01:40:00 PM »

Arghhh!  No, I haven't figured it out, Dan.  I tried to change the template preferences on the MyTest Calendar, but it doesn't change them.  I just tried to change the background color and the title.  They get reset to the default everytime.  Maybe you could tell me how you would go about this from the start.
thanks,
molly

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #6 on: July 10, 2006, 03:29:00 PM »

I don't know why the changes wouldn't be made unless maybe file or directory permissions are not correct and the server is not allowing the script access to update the file in question.

Maybe delete your test calendar, change the default calendar to look the way you want it to and then duplicate it to make a new test calendar?

I don't know how much else I can do from here, it would likely take personal intervention to find out what's going on... and I charge for that.  

Dan O. www.much2.com

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

Logged
molly
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #7 on: July 10, 2006, 05:05:00 PM »

I don't think it's permissions, because I have been able to change the "command list at the left side of the calendar to say "Sign-up" instead of "Add event".  But I'll check that idea out further.  The problem is that I want just this one calendar to offer a changed command list (http://www.bendhabitat.org/cgi-bin/calendar.cgi?calendar=MyTest), but I still want the default calendar as is (http://www.bendhabitat.org/cgi-bin/calendar.cgi?calendar=MyCal).  Have you - or anyone - changed the command list?
thanks,
molly

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

Logged
molly
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #8 on: July 10, 2006, 06:23:00 PM »

Yipes!  It seems to be working.  It doesn't seem to be a permissions problem, but you got me thinking.  I really don't understand what the software is doing, but I decided to change the "preferences.txt" file to reflect all the template changes.  (Maybe I should've just copied that file back to my computer...?)  Anyway, I changed that file to have all the same preferences as the "config.txt" file -in the ".../calendars/MyTest/ folder - has.  Was there an easier way to do this?  (Using the "Calendarscript" tool? I will study it a little further, but I think there's something I'm not understanding here.  THE GOOD NEWS IS THAT IT'S WORKING!!  
Thanks Dan!!  
BTW, we're using the calendar as a sign-up tool for Habitat House volunteer workers.

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

Logged
molly
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #9 on: July 13, 2006, 06:48:00 PM »

I was able to change the "command list" (http://www.bendhabitat.org/cgi-bin/calendar.cgi?calendar=OAMP)(name=guest; pw=guest), but it turns out that just changing the list in the ".../calendarscript/templates/calendars/OAMP/default.html" file is not enough.  The original command list remains in the pull down menus, and so forth.  Is there a way I can change those, too?
Thanks,
molly

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #10 on: July 13, 2006, 10:00:00 PM »

** I was able to change the "command list" [in the deafult.html file] **

That is actually just called the left-hand calendar "menu" (so as not to confuse other forum visitors).

** The original command list remains in the pull down menus, and so forth. **

What is and so forth?

The Administration section's command list would not be affected just by editing the calendar template, no. Those command options are contained in the command_list.txt file. I strongly suggest you take great care if attempting to edit that file!


PS. Why did you change the wording of that link to "Sign-up" anyway? There is no sign-up at the link, there is a sign-IN form there (if the user isn't already logged in) but that is a totally different thing to me. :/

JMO

Dan O.

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #11 on: July 13, 2006, 10:04:00 PM »

** There is no sign-up at the link, there is a sign-IN form there (if the user isn't already logged in) but that is a totally different thing to me. **

BTW. Once the user has logged in, that link then takes users to a Add Event page (but will still say "Sign-up") which I'm sure will be really confusing to users. :/

JMO

Dan O.

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

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