Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Cookie/Jar.php on line 63

Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Cookie/Jar.php on line 73

Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Cookie/Jar.php on line 89

Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Cookie/Jar.php on line 102

Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Cookie/Jar.php on line 111

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home4/codedogs/public_html/Codedogs/wp-includes/Requests/Cookie/Jar.php:15) in /home4/codedogs/public_html/Codedogs/wp-includes/feed-rss2.php on line 8
Codedogs http://codedogs.com Software Without Jargon Wed, 31 Mar 2021 03:12:29 +0000 en-US hourly 1 https://wordpress.org/?v=6.0.8 WordPress JQuery: “Uncaught TypeError: $(…).dialog is not a function” http://codedogs.com/wordpress-jquery-uncaught-typeerror-dialog-is-not-a-function/ Wed, 31 Mar 2021 03:03:15 +0000 http://codedogs.com/?p=323 Continue reading WordPress JQuery: “Uncaught TypeError: $(…).dialog is not a function”]]> Problem:

You’ve added JQuery dialog boxes to your WordPress page, and you added the following to $(document).ready(function()... in your JQuery file.

$("#My_Dialog").dialog({
     autoOpen: false,
     modal: true,
     buttons: {
          Cancel: function() {$(this).dialog("close");},
          Save: function() {$(this).dialog("close");}
     },});

Now your Chrome debugger complains about: Uncaught TypeError: $(…).dialog is not a function

Reason:

Your JQuery file needs /wp-includes/js/jquery/ui/dialog.js which is not loaded.

Solution:

To add dialog.js as a dependency to your JQuery file.

By adding jquery-ui-dialog to the array, your file now depends on it. Now when you click on View Source, dialog.js is included and the error is gone.

]]>
Nov 8 Training Night (2017-11-06 15:14) http://codedogs.com/nov-8-training-night-2017-11-06-1514/ Mon, 06 Nov 2017 20:15:16 +0000 http://codedogs.com/nov-8-training-night-2017-11-06-1514/ [Broadcast mp3=2017-11-06_1514]

]]>
Word 2010 VBA Restrictions http://codedogs.com/word-2010-vba/ Tue, 29 Nov 2016 19:40:08 +0000 http://codedogs.com/?p=243 Continue reading Word 2010 VBA Restrictions]]> Restrictions found in VBA for Word 2010

  • Cannot create subclasses of classes.
  • Can pass static arrays to functions and procedures, but not methods. Get a compile error.
  • Cannot delete paragraph or table styles from the template using style.Delete. Get run-time error.
  • Cannot add table styles to the template. Get run-time error when code hits template.Style.baseStyle = myStyle.baseStyle.
  • Cannot add paragraph styles to the template. No error, but setting of template.Style.NextParagraphStyle is ignored.
]]>
Windows Symbolic Links http://codedogs.com/windows-symbolic-links/ Tue, 26 Apr 2016 19:48:14 +0000 http://codedogs.com/?p=223 The following creates a symbolic link to a directory:
mklink /j <link_folder> <path_to_real_folder>
where
link_folder is C:\folder\folder2 where folder2 does not exist
path_to_real_folder is D:\folder3\folder4

]]>
TimeManager http://codedogs.com/timemanager/ Tue, 01 Mar 2016 16:30:50 +0000 http://codedogs.com/?p=208 Eastern_Ottawa_Resource_Centre

TimeManager is timesheet and leave tracking system. It is a Windows desktop application designed for the Eastern Ottawa Resource Centre

The latest version of TimeManager is 2.3

Thank you for choosing Codedogs

]]>
codedogs-casem http://codedogs.com/casem/ Tue, 01 Mar 2016 16:08:37 +0000 http://codedogs.com/?p=197 casem-logo

Codedogs-CASEM is a WordPress plugin developed for Canadian Academy of Sport and Exercise Medicine to add new functionality to their website.

The latest version of codedogs-casem is 1.0.0

Thank you for choosing Codedogs

]]>
Readabar http://codedogs.com/readabar/ Tue, 01 Mar 2016 16:07:26 +0000 http://codedogs.com/?p=195 readabar

Readabar is a Microsoft Word macro enabled template created for Popscom.

Latest version for Windows is 2.0.3

Latest version for Mac is 3.0.1

Thank you for choosing Codedogs.

]]>
Apple Hidden Files http://codedogs.com/apple-hidden-files/ Tue, 20 Oct 2015 20:41:29 +0000 http://codedogs.com/?p=158 Execute from a Terminal window:

Show hidden files

defaults write com.apple.finder AppleShowAllFiles YES
killall Finder

Hide hidden files

defaults write com.apple.finder AppleShowAllFiles NO
killall Finder

]]>
MAC Word 2011 – Customize Menu http://codedogs.com/mac-word-2011-customize-menu/ Tue, 18 Aug 2015 21:37:43 +0000 http://codedogs.com/?p=151 Continue reading MAC Word 2011 – Customize Menu]]> Word 2011 for MAC

New tabs cannot be added to the ribbon, but custom toolbars and buttons can be added.

To use custom images:

  1. Create a 24 x 24 PNG.
  2. Save the desired image onto the clipboard.
  3. Right click on the toolbar button and choose Properties
  4. Click the little triangle next the existing button face
  5. Select Paste from Image
]]>
Comparing Directories http://codedogs.com/comparing-directories/ http://codedogs.com/comparing-directories/#respond Mon, 09 Mar 2015 01:46:44 +0000 http://codedogs.com/?p=142 $my_dir = Get-ChildItem -Recurse -path X:\
$my_other_dir = Get-ChildItem -Recurse -path W:\
Compare-Object -ReferenceObject $my_dir -DifferenceObject $my_other_dir

]]>
http://codedogs.com/comparing-directories/feed/ 0