tag:blogger.com,1999:blog-19969388.comments2023-10-25T16:59:32.566+08:00Ham is a GeekAnonymoushttp://www.blogger.com/profile/10046970730389911333noreply@blogger.comBlogger154125tag:blogger.com,1999:blog-19969388.post-49245373130839855142014-05-12T17:38:06.624+08:002014-05-12T17:38:06.624+08:00Great job and very nice content... i read this blo...Great job and very nice content... i read this blog, this blog is very helpful for me...<br />I am very thankful to share this post.. I hope you have more information about this post.. So, Please share me.. Thanks..<br />Visit my site:- <a href="http://acetecsupport.com/linksys-router-support.html" rel="nofollow">Linksys Router Support</a><br />alex walkerhttps://www.blogger.com/profile/08592664440802464402noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-61004799673670083722014-03-03T19:10:17.777+08:002014-03-03T19:10:17.777+08:00is this code also valid for extjs 4.0, actually i ...is this code also valid for extjs 4.0, actually i tried this, but its not workingAnonymoushttps://www.blogger.com/profile/06644877052698240032noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-38485030216353552822013-12-24T23:23:36.045+08:002013-12-24T23:23:36.045+08:00Thank you! Great work! I just wanted to point out ...Thank you! Great work! I just wanted to point out to others what took me some time to figure out.... if you're using tinyMCE 4.0.xxx this will not work. They've replaced "mceAddControl" with "mceAddEditor". Swapping that out will get this working on the new version. Anonymoushttps://www.blogger.com/profile/03047154989213886236noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-90821076976725749162013-01-03T00:12:44.092+08:002013-01-03T00:12:44.092+08:00I found this page to start a chat; basically, you ...I found this page to start a chat; basically, you make a random string name for the room formatted for google.<br /><br />http://www.blackspotradish.com/wp/2010/07/gmail-group-chat-conference-in-pidgin/Anonymoushttps://www.blogger.com/profile/16632005160414944085noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-6419354240909399502012-11-20T18:12:51.519+08:002012-11-20T18:12:51.519+08:00For me this does not work
I had to replace:
var d...For me this does not work<br /><br />I had to replace:<br />var ddrow = new Ext.dd.DropTarget(grid.container, {<br /><br />with <br />var ddrow = new Ext.dd.DropTarget(grid.getView().scroller.dom, {<br /><br />Hope to help someone cause I spent lot of time on this ;)GMhttps://www.blogger.com/profile/16927242930459820456noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-85698706476273510082012-10-09T23:52:42.587+08:002012-10-09T23:52:42.587+08:00Ham, I must say, this is some excellent work you h...Ham, I must say, this is some excellent work you have done! I really would like to thank & appreciate you for coming up with the solution as I am sure, it has already made life very easy for many of us & would even help others in future.<br /><br />Thank you for putting up the solution for us.Anonymoushttps://www.blogger.com/profile/05566145569285186030noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-87731233206979528872012-10-05T19:46:46.091+08:002012-10-05T19:46:46.091+08:00AD: It is worked but below modification has done i...AD: It is worked but below modification has done in my code<br />.....{<br /> xtype:'grid',<br /> sm:sm,<br /> cm:cm,<br /> store:store,<br /> listeners:{<br /> 'viewready':function(grid){<br /> grid.getSelectedModel().selectFirstRow();<br /> grid.fireEvent('rowClick', grid, 0);<br /> }<br />}<br />}Anonymoushttps://www.blogger.com/profile/14780562897499932759noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-59611759256011446162011-11-09T17:04:32.381+08:002011-11-09T17:04:32.381+08:00Thanks a lot for point solutionThanks a lot for point solutionAnonymoushttps://www.blogger.com/profile/16031726921121029107noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-50356870707649735102011-03-12T21:01:45.723+08:002011-03-12T21:01:45.723+08:00@Tsai Xing Wei
Thank you very much !@Tsai Xing Wei<br /><br />Thank you very much !Anonymoushttps://www.blogger.com/profile/10046970730389911333noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-65142015993277525462011-03-12T20:49:17.338+08:002011-03-12T20:49:17.338+08:00Hi,
I was able to tweak your code to make it supp...Hi, <br />I was able to tweak your code to make it support multiple selections, and also to maintain the order of the selected rows even after dragging them in an upward direction. <br /><br />Here's my code:<br /><br />render: function(grid) {<br /> var ddrow = new Ext.dd.DropTarget(grid.getView().mainBody, {<br /> ddGroup: 'myGridDD',<br /> copy: false,<br /> notifyDrop: function(dd, e, data) {<br /> var ds = grid.store;<br /> var sm = grid.getSelectionModel();<br /> var rows = sm.getSelections();<br /> if (dd.getDragData(e)) {<br /> var cindex = dd.getDragData(e).rowIndex;<br /> <br /> if (typeof(cindex) != "undefined") {<br /> for(var i = 0; i < rows.length; i++) {<br /> var srcIndex = ds.indexOfId(rows[i].id);<br /> ds.remove(ds.getById(rows[i].id));<br /> if (i > 0 && cindex < srcIndex) {<br /> cindex++;<br /> }<br /> ds.insert(cindex, rows[i]); <br /> }<br /> <br /> sm.selectRecords(rows);<br /> }<br /> } <br /> }<br /> });<br /> <br /> }Tsai Xing Weihttps://www.blogger.com/profile/07489465914858101115noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-6599780381314016632011-02-07T21:46:00.576+08:002011-02-07T21:46:00.576+08:00You don't recall where you found it on the net...You don't recall where you found it on the net? Actually you found it in the pageant help file.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19969388.post-4352423943366533262011-01-07T21:53:49.561+08:002011-01-07T21:53:49.561+08:00both don't work in my case -- the event itself...both don't work in my case -- the event itself is not fired .Pulkit Agarwalhttps://www.blogger.com/profile/16528706550739784796noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-28676349994561956562010-10-11T22:34:20.497+08:002010-10-11T22:34:20.497+08:00@ Ham, maybe you could tell me how I can connect/l...@ Ham, maybe you could tell me how I can connect/load your array into my JQuery code? Here is the current code:<br /><br /> <br /> var tinymceConfigs = [ {theme : "advanced",<br /> mode : "none",<br />language : "en",<br />height:"200",<br />width:"100%",<br />theme_advanced_layout_manager : "SimpleLayout",<br />theme_advanced_toolbar_location : "top",<br />theme_advanced_toolbar_align : "left",<br />theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull",<br />theme_advanced_buttons2 : "",<br />theme_advanced_buttons3 : "" },{ theme : "advanced",<br />mode : "none",<br />language : "en",<br />height:"200",<br />width:"100%",<br />theme_advanced_layout_manager : "SimpleLayout",<br />theme_advanced_toolbar_location : "top",<br />theme_advanced_toolbar_align : "left"}];<br />function tinyfy(settingid,el_id) {<br />tinyMCE.settings = configArray[0];<br />}<br /> jQuery(document).ready(function() {<br /> jQuery("#'.$meta_box['name'].'_value").addClass("mceEditor");<br />if ( typeof( tinyMCE ) == "object" && typeof( tinyMCE.execCommand ) == "function" ) {<br /> tinyMCE.execCommand("mceAddControl", false, "'.$meta_box['name'].'_value");<br /> }<br /> <br /> <br /> });<br />Thanks in advance for all your help!Jasperhttps://www.blogger.com/profile/08962718885899493553noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-69586628603980011102010-10-11T19:14:43.118+08:002010-10-11T19:14:43.118+08:00@ Mike Schinkel. Trying to add a custom secondary ...@ Mike Schinkel. Trying to add a custom secondary TinyMCE editor to custom fields myself as well. Have not been able to so far. I can load the standard TinyMCE editor, but not a custom one from an array as suggested here. Could you maybe share your implementation?Jasperhttps://www.blogger.com/profile/08962718885899493553noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-25130492156420462622010-09-12T16:09:44.665+08:002010-09-12T16:09:44.665+08:00THANK YOU! I've been trying to get a 2nd Tiny...THANK YOU! I've been trying to get a 2nd TinyMCE to work in a WordPress admin and I've been google for hours and *nobody* (I mean *nobody*) covers how to set configuration prior to using tinyMCE.execCommand("mceAddControl"). I was about to give up before I found this post. THANK YOU again!Mike Schinkelhttps://www.blogger.com/profile/10179220974959188680noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-85821666904865963052010-08-25T06:53:39.466+08:002010-08-25T06:53:39.466+08:00Hi again, I came up with a solution that does not ...Hi again, I came up with a solution that does not rely on order of records in store but on the hidden (from grid's point of view) order column:<br />fn: function(grid) {<br /> var ddrow = new Ext.dd.DropTarget(grid.container, {<br /> ddGroup : 'mygridDD',<br /> copy : false,<br /> notifyDrop : function(dd, e, data) { // thing being dragged, event, data from draged source<br /> var ds = grid.store;<br /> var sm = grid.getSelectionModel();<br /> rows = sm.getSelections();<br /> <br /> // order of ext events: <br /> // JsonStore getRecord() -> change Record() -> JsonStore save dirty records -> JsonStore order -> GridView refresh<br /> if(dd.getDragData(e)) {<br /> var cindex = dd.getDragData(e).rowIndex;<br /> <br /> var sourceOriginalOrder = rows[0].data.order;<br /> var destinationOriginalOrder = dd.getDragData(e).selections[0].data.order;<br /> if(sourceOriginalOrder != destinationOriginalOrder) {<br /> var destinationOriginalIndex = cindex;<br /><br /> if(typeof(cindex) != "undefined") {<br /> ds.getById(rows[0].id).set('order', destinationOriginalOrder);<br /> ds.getById(rows[0].id).markDirty();<br /> <br /> ds.getAt(destinationOriginalIndex).set('order', sourceOriginalOrder);<br /> ds.getAt(destinationOriginalIndex).markDirty();<br /> <br /> ds.save();<br /> ds.sort('order', 'ASC');<br /> sm.clearSelections();<br /> }<br /> }<br /> }<br /> }<br /> });<br /><br />For it to work, 2 properties also need to be set for the store:<br />remoteSort : false,<br />sortInfo : {<br /> field : 'order',<br /> direction : 'ASC'<br />}tmthhttps://www.blogger.com/profile/00527060369609793508noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-41209155204934724552010-08-03T21:40:34.092+08:002010-08-03T21:40:34.092+08:00A slightly better option could be to use the Grid ...A slightly better option could be to use the Grid View helpers instead of firing an event:<br /><br />Ext.getCmp('mygrid').on('viewready', function(){<br /> this.getSelectionModel().selectFirstRow();<br /> this.getView().focusRow(0);<br />}, this, { single:true });Unknownhttps://www.blogger.com/profile/13834594745198896985noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-994773949960046662010-07-31T09:33:55.242+08:002010-07-31T09:33:55.242+08:00This is the type of blog entries that are crucial ...This is the type of blog entries that are crucial as an addition to official APIs or manuals for filling in the usability gaps.<br /><br />Thank you very much for a useful code.<br /><br />I do have a problem, however. Is it possible to do this without having to use ds.remove? This creates 2 critical issues.<br />1) No way to differentiate between records removed by user, say, clicking delete button in grid and records removed by ds.remove() so backend server will remove unexpected entries.<br />2) If using an automated storeWriter the script crashes if a delete API is not set. If I do set it, thats going to be extra traffic requesting delete operation + deletion of good records.<br /><br />Is there a way to unmark the record as deleted after the DropTarget handler is completed?<br />Technically, I could add a boolean field to every moved record so the backend ignores moved=true from its delete operation. But this looks really ugly and does not solve the problem of wasted traffic for requests that will be ignored anyway.<br /><br />Any ideas?tmthhttps://www.blogger.com/profile/00527060369609793508noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-21366890193435251512010-07-20T17:07:52.340+08:002010-07-20T17:07:52.340+08:00I used this solution in a work-in-progress project...I used this solution in a work-in-progress project, but it stopped to work suddenly...<br />If I try to pass any setting using tinyMCE.settings = mySettingsArray, TinyMCE does not render and also I get no error, also with firebug.<br />Any advice on what could cause this?<br /><br />ThanksRazorbladehttps://www.blogger.com/profile/11764873024992471532noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-43601139053311177082010-06-26T09:13:38.113+08:002010-06-26T09:13:38.113+08:00I have Smartbro "SHARE IT" as my interne...I have Smartbro "SHARE IT" as my internet provider. I wonder if anybody knows if Smart support any IPSec services such as IPSecurity? <br /><br />On my Mac i run IPSecuritas and on most networks here in the Philippines it runs well but not on Smart. Are there anybody who knows if Smart support his and if so how to set this up? Of if they don't support this at all, but this i find strange since all other networks support this so why should not smart do it? <br /><br />Torleif <br /><br />PS: More info can be find here about this VPN Tunnels, http://www.lobotomo.com/products/IPSecuritas/index.htmlAnonymoushttps://www.blogger.com/profile/15009426397350521472noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-25898729956387273652010-04-16T23:31:06.552+08:002010-04-16T23:31:06.552+08:00Joining groupchats with this advice is no problem ...Joining groupchats with this advice is no problem in recent versions of Pidgin. How do we initiate a new Google groupchat?Ryanhttps://www.blogger.com/profile/10209302551167764760noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-72339023338382522312010-03-15T12:23:23.163+08:002010-03-15T12:23:23.163+08:00Is there any way to test the openVPN connection (s...Is there any way to test the openVPN connection (security certs etc) from within the LAN? I tried connecting from within the LAN, and all the certificates were set up correctly, but I got a 'route conflict' message, and lost the link to the router until I rebooted.C J Walkerhttps://www.blogger.com/profile/00413938448149916702noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-88289582501299044842010-03-14T07:22:25.327+08:002010-03-14T07:22:25.327+08:00hey all
does any one know how to remove something ...hey all<br />does any one know how to remove something from Google that Google staff themselves can't remove? i am so stock. i put an ad on one of the websites two years ago and the website removed my ad a few days later but Google shows my ad still. i have written to them several times and apparently this happens like once in a million time or something and they don't know how to delete it. some one suggested that there are smart guys available on the net that love complicated problems like this and will search until they find a way of solving it but don't know how to find them. any suggestions for me??<br />naznaz99@live.comnaznazhttps://www.blogger.com/profile/09656509010814892292noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-39899718507857039352010-03-11T22:48:21.487+08:002010-03-11T22:48:21.487+08:00No worries. I'm glad it's fixed :-)No worries. I'm glad it's fixed :-)Anonymoushttps://www.blogger.com/profile/10046970730389911333noreply@blogger.comtag:blogger.com,1999:blog-19969388.post-79220996598969672072010-03-11T22:41:05.829+08:002010-03-11T22:41:05.829+08:00Apologises Ham, I was using an old version of Tiny...Apologises Ham, I was using an old version of TinyMCE, downloaded the latest build and it runs for me :-)<br /><br />Sorry for wasting your time :-)NRasoolhttps://www.blogger.com/profile/10894364710250620918noreply@blogger.com