calendar thoughts
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=30621
Printed Date: 29 March 2026 at 8:34pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: calendar thoughts
Posted By: alabamatoy
Subject: calendar thoughts
Date Posted: 06 January 2013 at 4:09pm
I would like to change the default "events" link on the main page to point directly to the full current month calendar - ie go to http://forumDNSname/forum/calendar.asp instead of the little script popup month display. Is that easily doable? Might be a desirable switch to have in the calendar admin section in a future version.
Also, on the mobile device version of the forum, the "events" link seems not to appear at all. So the calendar is basically inaccessible to anyone using a Droid or an iThing. Is this intentional or do I have something misconfigured?
|
Replies:
Posted By: alabamatoy
Date Posted: 20 January 2013 at 3:26pm
I'll answer my own question, since no one else would. I modified includes/status_bar_header_inc.asp line 175 as follows:
If blnCalendar AND blnACode = False Then Response.Write (" <span id=""CalLink"" onclick=""getAjaxData('ajax_calendar.asp" & strQsSID1 & "', 'showCalendar');showDropDown('CalLink', 'dropDownCalendar', 210, 0);"" class=""dropDownPointer""><img src=""" & strImagePath & "calendar." & strForumImageType & """ alt=""" & strTxtEvents & """ title=""" & strTxtEvents & """ style=""vertical-align: text-bottom"" /> <a href=""calendar.asp" & strQsSID1 & """>" & strTxtEvents & "</a></span>") ' Old verion ' If blnCalendar AND blnACode = False Then Response.Write (" <span id=""CalLink"" onclick=""getAjaxData('ajax_calendar.asp" & strQsSID1 & "', 'showCalendar');showDropDown('CalLink', 'dropDownCalendar', 210, 0);"" class=""dropDownPointer""><img src=""" & strImagePath & "calendar." & strForumImageType & """ alt=""" & strTxtEvents & """ title=""" & strTxtEvents & """ style=""vertical-align: text-bottom"" /> <script language=""JavaScript"" type=""text/javascript"">document.write('" & strTxtEvents & "')</script><noscript><a href=""calendar.asp" & strQsSID1 & """>" & strTxtEvents & "</a></noscript></span>")
The deleted code is red strikethrough. Seems to work well. Please advise if this will cause any other side-effects.
I really would like to know if there is a solution to the no-handheld-access-to-the-calendar issue.
|
Posted By: alabamatoy
Date Posted: 20 January 2013 at 5:41pm
alabamatoy wrote:
Also, on the mobile device version of the forum, the "events" link seems not to appear at all. So the calendar is basically inaccessible to anyone using a Droid or an iThing. Is this intentional or do I have something misconfigured?
|
OK, so today is my day to talk to myself. I hope someone else is benefiting from this one-sided conversation.
I changed line 79 of includes/status_bar_header_inc.asp to add the following:
'modified to display events link on mobile browsers Response.Write (" <img src=""" & strImagePath & "calendar.png"" alt=""" & strTxtEvents & """ title=""" & strTxtEvents & """ /><a href=""calendar.asp" & strQsSID1 & """>" & strTxtEvents & "</a>")
Seems to show the events icon, link and actual calendar correctly on mobile browser now. I have only tried viewing it on my HTC Thunderbolt with both the Android Browser and Firefox, but it seems to work correctly.
|
|