<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Diego Tech Weblog</title>
	<atom:link href="http://diegotech.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://diegotech.wordpress.com</link>
	<description>In medio stat virtus</description>
	<lastBuildDate>Tue, 27 Oct 2009 15:34:01 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='diegotech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/b73919629b4b3565afeb36424be3152e?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Diego Tech Weblog</title>
		<link>http://diegotech.wordpress.com</link>
	</image>
			<item>
		<title>Backup your data on Thunderbird</title>
		<link>http://diegotech.wordpress.com/2009/10/27/backup-your-data-on-thunderbird/</link>
		<comments>http://diegotech.wordpress.com/2009/10/27/backup-your-data-on-thunderbird/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 15:34:01 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=120</guid>
		<description><![CDATA[A little trick for back up your data (email,addresses) on mozilla thunderbird.
In this web page there is a solution http://kb.mozillazine.org/MozBackup
I&#8217;ve changed my office pc and i had to move my emails and data from the old pc to the new one. The target is the profile folder and with this software we accomplished the task.Yes!
 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=120&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A little trick for back up your data (email,addresses) on mozilla thunderbird.</p>
<p>In this web page there is a solution <a href="http://kb.mozillazine.org/MozBackup">http://kb.mozillazine.org/MozBackup</a></p>
<p>I&#8217;ve changed my office pc and i had to move my emails and data from the old pc to the new one. The target is the profile folder and with this software we accomplished the task.Yes!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/120/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/120/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/120/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=120&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2009/10/27/backup-your-data-on-thunderbird/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>UltraVNC installation by Group policies</title>
		<link>http://diegotech.wordpress.com/2009/10/13/ultravnc-installation-by-group-policies/</link>
		<comments>http://diegotech.wordpress.com/2009/10/13/ultravnc-installation-by-group-policies/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 11:02:59 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows System]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=114</guid>
		<description><![CDATA[@ this site http://www.waynezim.com/2009/05/how-to-deploy-vnc-using-group-policy/ there is a good tutorial for network installation of VNC Server.
Don&#8217;t forget to open the dialog box &#8220;Properties&#8221; on the line of  new package added to the policy and select the options: &#8220;Install this application at logon&#8221;. Click &#8220;Install immediately and &#8220;Assign&#8221;.
Good chance for network administrators that don&#8217;t want to lift [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=114&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>@ this site <a href="http://www.waynezim.com/2009/05/how-to-deploy-vnc-using-group-policy/">http://www.waynezim.com/2009/05/how-to-deploy-vnc-using-group-policy/</a> there is a good tutorial for network installation of VNC Server.</p>
<p>Don&#8217;t forget to open the dialog box &#8220;Properties&#8221; on the line of  new package added to the policy and select the options: &#8220;Install this application at logon&#8221;. Click &#8220;Install immediately and &#8220;Assign&#8221;.</p>
<p>Good chance for network administrators that don&#8217;t want to lift up their rear from the chair <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>UPDATE: With the linked article we can get in error at configuration time of VNC. In fact, there are one or two options with a warning: the DSMPlugin must not be activated(for a loss of rights with a shared key that have to be exchanged from client 2 server) and the loopback connection must be not a activated, in these cases there are many problems to make a connection between server and viewer.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/114/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/114/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/114/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=114&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2009/10/13/ultravnc-installation-by-group-policies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>XCACLS for user rights verification</title>
		<link>http://diegotech.wordpress.com/2009/10/12/xcacls-for-user-richts-verification/</link>
		<comments>http://diegotech.wordpress.com/2009/10/12/xcacls-for-user-richts-verification/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 14:38:25 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows System]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=111</guid>
		<description><![CDATA[For best experience in user rights management on windows system i suggest the script xcacls.vbs from microsoft http://www.microsoft.com/downloads/details.aspx?FamilyID=0ad33a24-0616-473c-b103-c35bc2820bda
With this tool we can gain some detailed info about user/groups rights on shared network resources and local resources like files and folders.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=111&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>For best experience in user rights management on windows system i suggest the script xcacls.vbs from microsoft http://www.microsoft.com/downloads/details.aspx?FamilyID=0ad33a24-0616-473c-b103-c35bc2820bda</p>
<p>With this tool we can gain some detailed info about user/groups rights on shared network resources and local resources like files and folders.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=111&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2009/10/12/xcacls-for-user-richts-verification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>Get a shared resource shortcut on user desktop with Group policy</title>
		<link>http://diegotech.wordpress.com/2009/10/12/get-a-shared-resource-shortcut-on-user-desktop-with-group-policy/</link>
		<comments>http://diegotech.wordpress.com/2009/10/12/get-a-shared-resource-shortcut-on-user-desktop-with-group-policy/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 14:30:32 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows System]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=107</guid>
		<description><![CDATA[If you want to make your lan users life easier(if you know the user usual level of  experience with pc in italy you can understand) here a trick to obtain a shared resource link on their desktop:
- Create a batch file(ora script) with these lines(here with kixtart script but it&#8217;s similar with a batch file):
if InGroup(&#8220;INTRANET\grsala&#8221;)
use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=107&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you want to make your lan users life easier(if you know the user usual level of  experience with pc in italy you can understand) here a trick to obtain a shared resource link on their desktop:</p>
<p>- Create a batch file(ora script) with these lines(here with kixtart script but it&#8217;s similar with a batch file):</p>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">if InGroup(&#8220;INTRANET\grsala&#8221;)</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">use q: &#8220;\\leonardo\Sala operatoria&#8221;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">copy &#8220;p:\CartelleDesktop\Sala operatoria su Leonardo.lnk&#8221; &#8220;c:\documents and settings\all users\desktop\&#8221;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">AT (20,25) &#8220;Premere un tasto per continuare&#8230;&#8221;</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">get $x</div>
<div id="_mcePaste" style="position:absolute;left:-10000px;top:0;width:1px;height:1px;">endif</div>
<p>&#8212;</p>
<p>if InGroup(&#8220;INTRANET\YOURGROUPNAME&#8221;)</p>
<p>use q: &#8220;\\SHAREDRESOURCEPATH&#8221;</p>
<p>copy &#8220;p:\shortcutfileWithLinkTOSHAREDRESOURCE.lnk&#8221; &#8220;c:\documents and settings\all users\desktop\&#8221;</p>
<p>endif</p>
<p>&#8212;-</p>
<p>In this case, we can link some similar files for OU or Shared resource (obviously depends on the size of your lan) just with an &#8220;if-else&#8221; command.</p>
<p>This trick apply on W2k3 servers.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=107&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2009/10/12/get-a-shared-resource-shortcut-on-user-desktop-with-group-policy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>Apply group policies per machine</title>
		<link>http://diegotech.wordpress.com/2009/10/12/apply-group-policies-per-machine/</link>
		<comments>http://diegotech.wordpress.com/2009/10/12/apply-group-policies-per-machine/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 14:02:59 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Windows System]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=103</guid>
		<description><![CDATA[Yesterday, in a windows network and resource planning session, i&#8217;ve realized that my company have the need of segmentation for computer and lan usage, depending on department user affiliation.
In our case the policy to be applied must be per machine instead the usual per-user policy.
For the first moment we get in trouble. In fact the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=103&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Yesterday, in a windows network and resource planning session, i&#8217;ve realized that my company have the need of segmentation for computer and lan usage, depending on department user affiliation.<br />
In our case the policy to be applied must be per machine instead the usual per-user policy.</p>
<p>For the first moment we get in trouble. In fact the usual group policy we have ever applied was per-user(it&#8217;s simple by the windows server mmc snap-in).</p>
<p>I found some links very useful:</p>
<p><a href="http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/944b7d5c-3cf1-4d8c-b755-17cc9c1a4650">http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/944b7d5c-3cf1-4d8c-b755-17cc9c1a4650</a></p>
<p><a href="http://www.petri.co.il/forums/showthread.php?t=39069">http://www.petri.co.il/forums/showthread.php?t=39069</a></p>
<p><a href="http://social.technet.microsoft.com/Forums/en-US/winserverGP/thread/944b7d5c-3cf1-4d8c-b755-17cc9c1a4650"></a>The trick is  on a particular field of Group Policy options: group policy Loopback Processing</p>
<p>Link from microsoft: http://support.microsoft.com/kb/231287</p>
<p>With this option we gain a process of policy application with very interesting results, in fact the policies were applied to a user on a particular location(computer). In this case the GP object must be linked on a computer object on the domain tree enclosed (in case) inside  organizational unit.</p>
<p>N.b.  after the link of a GPO to an OU, on the physical machine the best is to run the command  gpupdate /force, to apply the changes fast. Another tool to verify the results is &#8220;gpresults&#8221; always by command line.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=103&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2009/10/12/apply-group-policies-per-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>Yes i&#8217;m back!</title>
		<link>http://diegotech.wordpress.com/2009/10/12/yes-im-back/</link>
		<comments>http://diegotech.wordpress.com/2009/10/12/yes-im-back/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 13:29:09 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=101</guid>
		<description><![CDATA[After 6 months now it&#8217;s the time to return writing my blog.
I&#8217;ve been graduated in Computer Science five-year degree in Pisa on  IT security.
Now i&#8217;m  involved in a position of CIO in a health company with head office in Forte dei Marmi(LU) and branch office in Genova.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=101&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After 6 months now it&#8217;s the time to return writing my blog.</p>
<p>I&#8217;ve been graduated in Computer Science five-year degree in Pisa on  IT security.<br />
Now i&#8217;m  involved in a position of CIO in a health company with head office in Forte dei Marmi(LU) and branch office in Genova.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=101&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2009/10/12/yes-im-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>Thickbox with drupal menu unleashed</title>
		<link>http://diegotech.wordpress.com/2008/12/24/thickbox-with-drupal-menu-unleashed/</link>
		<comments>http://diegotech.wordpress.com/2008/12/24/thickbox-with-drupal-menu-unleashed/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 12:46:52 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=93</guid>
		<description><![CDATA[Finally i resolved the hard work of making drupal menu system calling a page in a thickbox &#8220;view&#8221;.
In the last post i missed some things that in this day i learned.
The first thing to know it&#8217;s the drupal menu system. The menus in drupal works great but are not so flexible like their cms. Once [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=93&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Finally i resolved the hard work of making drupal menu system calling a page in a thickbox &#8220;view&#8221;.</p>
<p>In the last post i missed some things that in this day i learned.</p>
<p>The first thing to know it&#8217;s the drupal menu system. The menus in drupal works great but are not so flexible like their cms. Once a menu link is clicked, the menu system with a series of map tables and hooks checks the original menu link that fired the request and go through http requests to the browser for displaying the target page.</p>
<p>This kind of work isn&#8217;t the same of a simple static href link,  in fact the thickbox module works great with these links because the request fired by the click event passes through him.</p>
<p>In the first case,  that is my own, we must intercept the call of menu system. i tried by Jquery onload modification of the &lt;li&gt;&lt;a&gt; tags attributes, either with adding the onload event, either with other tricks but the only things i could add are described in the previous post.</p>
<p>Then i added this code on the top of the page.tpl.php on a section reserved to jquery scripts:</p>
<p><em>//simple modification to some menu element&#8217;s class to enable thickbox<br />
$(&#8216;#menu-182 a&#8217;).addClass(&#8216;thickbox&#8217;);//add to menu &#8220;item&#8221; the thickbox</em></p>
<p><em>$(&#8216;#menu-182 a&#8217;).attr(&#8220;href&#8221;, &#8220;thickbox1&#8243;);<br />
//some tricks to display thickbox on menu link click</em></p>
<p><em>var norm=&#8217;?height=300&amp;width=300&#8242;;//the thickbox normal option<br />
var iframe=&#8217;?keepThis=true&amp;TB_iframe=true&amp;height=250&amp;width=400&#8242;;//iframed content<br />
var iframemodal= &#8216;?placeValuesBeforeTB_=savedValues&amp;TB_iframe=true&amp;height=200&amp;width=300&amp;modal=true&#8217;;<br />
//first of all we must check the request uri<br />
&lt;?php $curi = urldecode(request_uri());<br />
if($curi==&#8221;/thickbox1&#8243;){<br />
?&gt;</em></p>
<p><em>tb_show(&#8220;Libri Esteri&#8221;,&#8221;http://mysite/page_in_thickbox&#8221;+iframemodal,&#8221;");</em></p>
<p><em>&lt;?php         //return drupal_goto();</em></p>
<p><em>}?&gt;<br />
</em><br />
Some little explanation, the first line is the onload modification of the menu-item&#8217;s class and href.</p>
<p>With this modification i can intercept the fire event happened with the click on this element.</p>
<p>After that i&#8217;ve defined a series of jscript variables with some common options of thickbox, to use manually when i would change the visualization.</p>
<p>In the end, with a check on the uri passed with $_GET variable in php i can check the page target, if it&#8217;s the right that i would intercept i call the function that display the thickboxed content.</p>
<p>But there is a problem. Infact in this manner, the page displayed under the thickbox on the screen is the same, and i don&#8217;t want this poor work.</p>
<p>The solution is in some little passes. We first must define a new content type, for esample, &#8220;thickbox&#8221;.</p>
<p>We then can create a sample content and assign to it a clean url.</p>
<p>A problem with the dinamically loaded content in thickbox on drupal is a complete page load on the thickbox, with sidebars and so on, but we will display only the brief content of the node. We then have to add a simple file page-thickbox.tpl.php(thickbox in my case, but must comply with your content type name). This file it&#8217;s a simple version of your page.tpl.php, without all unnecessary things.</p>
<p>Now we add at the top of the page.tpl.php this snippet of code:</p>
<p><em>&lt;?php</em></p>
<p><em>if ($node-&gt;type == &#8220;thickbox&#8221; || $node-&gt;type == &#8220;popup&#8221;) {<br />
include &#8216;page-thickbox.tpl.php&#8217;;<br />
return;<br />
}<br />
?&gt;<br />
</em></p>
<p>Now the drupal system when laod a page check if the content type is &#8220;thickbox&#8221;.</p>
<p>In the code above we have checked an url called &#8220;thickbox1&#8243;, this url in my system doesn&#8217;t exist, but it&#8217;s used to intercept the call. If we will make the things better, we must check, in the php code above some things in the url, in fact if we would like to use some other links in menus, we must differentiate the request url, e.g. thickbox1,thickbox2 etc.., in this case we can check for an identifier for example thickbox&amp;1 to redirect the correct page to thickbox.</p>
<p>And the page displayed under the thickbox? For now is the typical Not Found page of Drupal, but with some intelligent tricks we&#8217;ve a good system also with a page that point to the home page for example.</p>
<p>Merry Christmas to all!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=93&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2008/12/24/thickbox-with-drupal-menu-unleashed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>drupal menu system and thickbox</title>
		<link>http://diegotech.wordpress.com/2008/12/23/drupal-menu-system-and-thickbox/</link>
		<comments>http://diegotech.wordpress.com/2008/12/23/drupal-menu-system-and-thickbox/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 21:50:06 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=89</guid>
		<description><![CDATA[Hi all,
i tryed a simple trick useful for adding thickbox effects to links on the infamous drupal menu system, something of more inflexible isn&#8217;t on this earth!
The trick is by JQuery, you must add this  sample code(modified by your tags):
$('#myelement').addClass('thickbox');
Remind that this code must be esecuted at load time on the page with the usual [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=89&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Hi all,</p>
<p>i tryed a simple trick useful for adding thickbox effects to links on the infamous drupal menu system, something of more inflexible isn&#8217;t on this earth!</p>
<p>The trick is by JQuery, you must add this  sample code(modified by your tags):</p>
<pre>$('#myelement').addClass('thickbox');</pre>
<p>Remind that this code must be esecuted at load time on the page with the usual code</p>
<p><em>jQuery(document).ready(function() {&#8230;&#8230;&#8230;..}</em>);<br />
in the header. after that you must insert the link to the content that you would display on thickbox for example:</p>
<p><code class="html">&lt;<span class="tag">a </span><span class="attribute">href</span>=<span class="string">"ajax.PHP?keepThis=true&amp;TB_iframe=true&amp;height=250&amp;width=400"</span> <span class="attribute">title</span>=<span class="string">"add a caption to title attribute / or leave blank"</span> <span class="attribute">class</span>=<span class="string">"thickbox"</span>&gt;Example 1&lt;/<span class="tag">a</span>&gt;<br />
</code></p>
<blockquote></blockquote>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=89&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2008/12/23/drupal-menu-system-and-thickbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>Found the problem!</title>
		<link>http://diegotech.wordpress.com/2008/11/17/found-the-problem/</link>
		<comments>http://diegotech.wordpress.com/2008/11/17/found-the-problem/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 22:50:26 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=82</guid>
		<description><![CDATA[There was a bug in JSimpleXML php parser included in the ubercart package. I guess that some characters(in my case was &#8216;-&#8217;) isn&#8217;t supported by the parser. I investigate&#8230;&#8230;
D.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=82&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There was a bug in JSimpleXML php parser included in the ubercart package. I guess that some characters(in my case was &#8216;-&#8217;) isn&#8217;t supported by the parser. I investigate&#8230;&#8230;</p>
<p>D.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=82&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2008/11/17/found-the-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubercart import debugging</title>
		<link>http://diegotech.wordpress.com/2008/11/17/ubercart-import-debugging/</link>
		<comments>http://diegotech.wordpress.com/2008/11/17/ubercart-import-debugging/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 22:47:10 +0000</pubDate>
		<dc:creator>diegotech</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://diegotech.wordpress.com/?p=80</guid>
		<description><![CDATA[I didn&#8217;t already realized how this module for ubercart works. In my previous post i&#8217;ve explained some useful discovered things. But i&#8217;ve an xml file of 60 Mb of data , well formatted that i must import. I don&#8217;t know why the import page results &#8220;Upload completed&#8221; but the system only update the items already [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=80&subd=diegotech&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I didn&#8217;t already realized how this module for ubercart works. In my previous post i&#8217;ve explained some useful discovered things. But i&#8217;ve an xml file of 60 Mb of data , well formatted that i must import. I don&#8217;t know why the import page results &#8220;Upload completed&#8221; but the system only update the items already listed in db(that i&#8217;ve just inserted with small files but that are contained also at the top of the big file).</p>
<p>I&#8217;m trying to debug with watchdog and a file where i print data from watchdog for all the products imported. Till now no errors are returned, and this doesn&#8217;t make sense!!</p>
<p>Now i see the options of the module importer to understand better.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/diegotech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/diegotech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/diegotech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/diegotech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/diegotech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/diegotech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/diegotech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/diegotech.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/diegotech.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/diegotech.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=diegotech.wordpress.com&blog=2420403&post=80&subd=diegotech&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://diegotech.wordpress.com/2008/11/17/ubercart-import-debugging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2e80cb1c537fc64af63f7c81fd763a97?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">diego</media:title>
		</media:content>
	</item>
	</channel>
</rss>