T O P I C R E V I E W |
Andy Humm |
Posted - 25 April 2008 : 13:10:05 Following the recent trend of Calendar MOD questions etc., I am at the stage ready to incorporate the mod with the adjustments, but just before I do start, I notice on the Calandar first page ie cal_default.asp file displaying inside default.asp, the current month calandar box does not have any navigation arrows to jump to previous and next months. Whereas, if you visit cal.asp, by clicking on the Events Calendar title, the current month shows the left right arrows to navigate.
Has this feature been deliberately missed on the calendar front page or could we see if it could be added for a better navigation feature.
Additionally, when you are in cal.asp - the Day, Week, Month, Year, Events List titles all display except for the one selected ie if you are in cal.asp?view=yearly the year title heading is blank and the others display okay. Could we incorporate a facility to ensure all titles are displayed with say a background image ie add (bgcolor=""" & strCategoryBGImage & """) and the the current focused heading is reverted back to strCategoryHeadColor only? Thus still showing the year title. Example here Just an idea regards andy< |
15 L A T E S T R E P L I E S (Newest First) |
Andy Humm |
Posted - 05 May 2008 : 04:55:27 quote: Originally posted by leatherlipsThe cal.asp page calls on the cal_functions.asp page. In that page there are instructions for Linux users. Maybe it has something to do with that? It mentions to comment certain lines while uncommenting other lines. Again, this is only a guess.
Which lines do you have commented in cal_functions.asp? rgds andy < |
leatherlips |
Posted - 27 April 2008 : 12:55:00 I'm only guessing here.
The cal.asp page calls on the cal_functions.asp page. In that page there are instructions for Linux users. Maybe it has something to do with that? It mentions to comment certain lines while uncommenting other lines.
Again, this is only a guess.< |
Andy Humm |
Posted - 27 April 2008 : 11:05:42 Following on from above, searching cal.asp for where the weekly view routine displays the message text, I believe this is the text: cal.asp lines 543-569
'Write the topics if forumAccess and not(Moderation = "Y" and Topic_Status > 1 and Topic_Author <> MemberID) then Response.Write _ "<p><font size=" & strDefaultFontSize & " color=" & strForumFontColor & ">" & _ "<span class=""spnMessageText""><a href=""topic.asp?TOPIC_ID=" & Topic_ID & """>" & _ "<b>" & Topic_Subject & "</span></a> </font></b>" 'Post Buttons if ((Topic_Status > 0 and Topic_Author = MemberID) or mlev = 4 or lCase(strNoCookies) = "1" ) then Response.Write _ "<a href=""post.asp?method=EditTopic&TOPIC_ID=" & Topic_ID & "&date=" & dateCursor & """>" & _ getCurrentIcon(strIconPencil, strCalEdit, "align=""absmiddle""") & "</a>" if (Topic_Author = MemberID and Topic_Replies=0) or mlev = 4 or lCase(strNoCookies) = "1" then Response.Write _ "<a href=""JavaScript:openWindow('cal_delete.asp?TOPIC_ID=" & Topic_ID & "&DATE=" & dateCursor & "')"">" & _ getCurrentIcon(strIconTrashCan, strCalDelete, "align=""absmiddle""") & "</a>"
Response.Write _ "<br/><font size=" & strDefaultFontSize & " color=" & strForumFontColor & ">" & _ formatstr(Topic_Message) & "</font>" end if
rs.MoveNext
end if
end if
Loop While blnEvent = TRUE
I can not see why this has not pulled the message text, and all other occasions ie Daily View, Topic.asp it does.?????????? < |
Andy Humm |
Posted - 27 April 2008 : 10:47:10 Having completely uninstalled and reinstalled the calendar mod, I have just entered one event on Satury 10th may and notice in the weekly view That the Event/Topic Title appears in Sat 10th Cell, with no message text, clicking on the title the topic page shows the message (description of event) in topic.asp I then editted the event to show in the 9th May and no message appears, now it is back on 10th may weekly view..
Still boggling, where does the event message string get its feed from to display in weekly view of cal.asp? < |
Andy Humm |
Posted - 27 April 2008 : 09:22:01 thank you, I am going to uninstall the entire Events Calendar Mod and start from stratch again..< |
leatherlips |
Posted - 27 April 2008 : 07:46:19 Here is a text copy of my current cal.asp file. I only made a few minor changes. One is the arrows on the Week page. For me they were too close to the date. Now there is a bit of space between them and the date. Also on the Day page I put a break between the event title and event description. I didn't like them right next to each other.< |
Andy Humm |
Posted - 27 April 2008 : 07:18:53 Further to my above: Investigating the symptoms: I have noticed that the event title diplays ok but there is no event message on the last day of the week see link then you navigate forward one week, link and the previously missing event message for Swindon Kite Festival appears on this new page. So it appears that the database has the event message, also when you click on the event title the event message appears in topic.asp Looking at the second link in this post link It appears that the event message is not showing for 13th May.
[break] I have just added a new Test Event for 14th May on same link page, and noticed that the event message will not display on cal.asp (weekly view). ?????????? When you are adding events in weekly view all the event titles appear vertically aligned, whereas as a normal visitor not logged in or a member, the titles appear aligned at the bottom of the weekly date cell. ???? Getting mind boggling! < |
Andy Humm |
Posted - 27 April 2008 : 05:28:51 Thinking about the coding, I have looked through cal.asp (sub WeeklyView) from line 354 and I can not find the code which determines how the events message displays, especially for the last day of the week show, Example You will also notice that the Sat 5 July Event (Calne Country Music Festival), the event title is displaying but no message text underneath, however, when you click on the title the message displays okay in topic.asp see link
With what you have suggested about some code not put in correctly I have inserted your cal.asp page from above and the same problem occurs. Indicating the cal.asp might be okay or is it?
Firstly, I see there are some changes on your [leatherlips] forum cal.asp since the last dialog, so could you please email me a copy of your latest cal.asp so I can see the differences.
Alternatively, does anyone know what determines the events message to display in all weekly fields and in particular the last day of the week.
I recall that during the installation of this mod, running the dbs_cal.asp file That I had a couple of Dropping Column error messages.
Dropping Column... ALTER TABLE FORUM_TOPICS DROP COLUMN T_ISEVENT ALTER TABLE FORUM_TOPICS DROP COLUMN T_ISEVENT -2147217900 | [Microsoft][ODBC Microsoft Access Driver] There is no field named 'T_ISEVENT' in table 'FORUM_TOPICS'.
Dropping Column... ALTER TABLE FORUM_A_TOPICS DROP COLUMN T_ISEVENT ALTER TABLE FORUM_A_TOPICS DROP COLUMN T_ISEVENT -2147217900 | [Microsoft][ODBC Microsoft Access Driver] There is no field named 'T_ISEVENT' in table 'FORUM_A_TOPICS'. Have these anything to do with the way the events message does not display properly?
thank you in advance.. andy< |
leatherlips |
Posted - 26 April 2008 : 21:40:31 quote: Originally posted by Andy Humm
1. The events message is not listed on the last weekday, just the event heading
I checked my calendar and I do not seem to have this problem. See here. Perhaps you did not place some of the code in the correct place? Or maybe you changed something unintentionally?< |
leatherlips |
Posted - 26 April 2008 : 18:02:24 Strange. I did however notice that on this page: http://www.lynehamvillage.com/forum/cal.asp?view=weekly&date=11/07/2008 it does show more than one event for a particular day. It must be something with that last day of the week.< |
Andy Humm |
Posted - 26 April 2008 : 17:32:07 As I navigate through the weekly view of the cal.asp and I notice: 1. The events message is not listed on the last weekday, just the event heading see link 2. The messages are not aligned to the weekly view table cells top. 3. If there is more than one event for a particular day only one event message shows see link Are there any solutions for these anomolies?< |
Andy Humm |
Posted - 26 April 2008 : 03:58:35 Try cal_style.asp: lines 12-17 .cal_activetab, .cal_activeborder {background-image:url('gradient2.gif'); font: Bold 10pt <%= strDefaultFontFace %>; color:<%= strHeadFontColor %>; } .cal_inactivetab {background-image:url('gradient.gif'); font: 10pt <%= strDefaultFontFace %>; color:<%= strForumFontColor %>; } .cal_inactivetab:hover {background-color: white;}
Where 'gradient2.gif' points to file location where STRHEADCELLBGIMAGE is and 'gradient.gif' points to file location where STRCATEGORYCELLBGIMAGE is..
It works on my Events calendar.< |
leatherlips |
Posted - 25 April 2008 : 20:44:51 How could I get it to use my background gif's? I looked in my font/color section and in there for my Header Background Color I have #9999FF which is a dark blue.
I've tried using strHeadCellImage but that doesn't seem to work.< |
Andy Humm |
Posted - 25 April 2008 : 19:53:24 If you take a look at my cal.asp You will notice: 1. the active month header is blue ie strHeadCellColor (yours looks the same colour as as your strPagebgcolor) 2. the inactive headers are dull green ie strAltForumCellColor #e3eaca 3. the cell colours again dull green ie strAltForumCellColor #e3eaca 4. the table background is light green ie strForumCellColor #e4f8d7 5. The forum Base Background Color ie strPagebgcolor is pale blue ie #CEDFED
Have you got a header color the same as 5?
regards andy < |
leatherlips |
Posted - 25 April 2008 : 19:39:30 This is getting me confused.
.cal_activetab, .cal_activeborder
{background-color: <%= strHeadCellColor %>; font: Bold 10pt <%= strDefaultFontFace %>; color:<%= strHeadFontColor %>; }
.cal_inactivetab
{background-color: <%= strAltForumCellColor %>; font: 10pt <%= strDefaultFontFace %>; color:<%= strForumFontColor %>; }
.cal_inactivetab:hover
{background-color: white;} If I changed the part above in red to strHeadCellColor, shouldn't that make it use my header cell color which is a blue color? Mine is still grey. Maybe I'm making the change in the wrong place?< |