Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - calendar thoughts
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

calendar thoughts

 Post Reply Post Reply
Author
alabamatoy View Drop Down
Groupie
Groupie


Joined: 04 February 2006
Location: United States
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote alabamatoy Quote  Post ReplyReply Direct Link To This Post Topic: calendar thoughts
    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?
Back to Top
alabamatoy View Drop Down
Groupie
Groupie


Joined: 04 February 2006
Location: United States
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote alabamatoy Quote  Post ReplyReply Direct Link To This Post 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 ("&nbsp;&nbsp;<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 ("&nbsp;&nbsp;<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.
Back to Top
alabamatoy View Drop Down
Groupie
Groupie


Joined: 04 February 2006
Location: United States
Status: Offline
Points: 143
Post Options Post Options   Thanks (0) Thanks(0)   Quote alabamatoy Quote  Post ReplyReply Direct Link To This Post Posted: 20 January 2013 at 5:41pm
Originally posted by alabamatoy 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.