UltraWebGrid: Hiding ServerOnly columns during export to Excel

By , March 10, 2011 11:07 am

If you’re using Infragistics UltraWebGrid with ExcelExporter and your grid has columns marked as “ServerOnly” – they’re visible in exported Excel worksheet even though the grid doesn’t show them onscreen. To hide these column in exported file, mark them as “Hidden” as well. This will have no additional effect on the way grid looks on screen, but the columns will be gone from the worksheet.

Fix for first release of Unique Article Wizard multisite WordPress plugin

By , March 10, 2011 9:05 am

If you’re using UAW plugin in your WordPress MU/3.0+ blog, starting version 3.1.26 it supports multisite environment (ability to have individual settings for subdomain blogs). But initial release had a bug resulting in errors of missing config.php as well as

permission denied – your token does not match our records

To fix this error, open file article_mods.php and locate function uaw_add_article. In global declaration after $win add , $blog_id. Then locate line

$uaw_config_file = getcwd() . ($win == "" ? '/config.php' : '\\config.php');

and replace it with

if ($blog_id == '1') 
   {$uaw_config_file = getcwd() . ($win == "" ? '/config.php' : '\\config.php');}
   {$uaw_config_file = getcwd() . ($win == "" ? '/config_'.$blog_id.'.php' : '\\config_'.$blog_id.'.php');}

Upload modified file to you UAW plugin directory, overwriting the old one and you’re good to go

Panorama Theme by Themocracy