Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Usage  >  Tips and Tricks  >  Thread
   
 
Tracks Widget for OSX Users
 
mankytongue
Posted: 11 November 2006 06:44 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  3
Joined  2006-11-11

Hello everyone,

I use the dashboard quite a lot, and so I decided to make a widget that queries tracks and gets the Todos and displays them.

I didn’t in fact search to see if there was a pre-existing widget, but still, it gave me something to put on my tracks list.. and then tick off which is always satisfying in some way.

Anyway, here it is.

I’m not a great fan of javascript because it’s a @*#%& to debug (except with FireBug or Drosera, but even then), especially in Dashboard, because it like to keep everything hidden and you have to try and understand the highly secretive error messages in the console.

So, now that’s said you might encounter bugs, or it may not even work at all. I don’t see how it could touch your system in anyway since there’s no “exec” function used in the code, but I’ll still say:

“If it breaks your system, it is in no way my fault, the widget should be considered ‘unstable’”

If you have any bug reports or ideas for improvement, don’t hesitate to speak up.


-manky

ps. I used the Tracks logo (the “10” on a red background) for the logo, I hope no one minds.

Profile
 
bsag
Posted: 11 November 2006 06:00 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  217
Joined  2006-03-05

A Dashboard widget would be great, but I can’t seem to get it to work—it just gives me an error message after I put the URL and my authentication details in. Does the URL have to be the path to login, or the root? I tried both, but couldn’t seem to get it to connect.

Profile
 
mankytongue
Posted: 12 November 2006 01:39 AM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  3
Joined  2006-11-11

the URL should be the root URL. I’ve just tested it and it doesn’t like having a trailing slash.

I’ll tweak it so that the trailing slash isn’t a problem.

*Update*

I’ve added a bit of code to strip away trailing slashes, so that you can use, for example:

http://tracks.mankynet.ath.cx/

-or-

http://tracks.mankynet.ath.cx

Both forms work. As long as the url is the root url of course.

If you still have problems getting it to work, could you possibly use tcpflow (you can get it through Fink, DarwinPorts or a pkg is available at http://www.entropy.ch) to capture the http dialog that happens when you run the widget.

Then I’ll be able to see where it goes wrong.

Profile
 
Bill Lynch
Posted: 04 January 2007 05:46 PM   [ Ignore ]   [ # 3 ]  
Newbie
Rank
Total Posts:  1
Joined  2007-01-04

Installed, got a widget, but strangely finding only one of my actions properly.  The right number are there, but the top few are blank, most of them show “no node”, and only the last properly has the title.

I don’t have time to debug right now, but I’ll work on it later.

Bill

Profile
 
mankytongue
Posted: 06 January 2007 05:01 PM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  3
Joined  2006-11-11

Yes, I noticed that, it happens when the actions are stale, I created a fix but as no one seemed to be interested in the widget I didn’t take the time to upload it.

I’m on holiday at the moment so I don’t have the sources with me, but I’ll upload the new version as soon as I get home.

Profile
 
MichaelKlouda
Posted: 13 January 2007 08:30 PM   [ Ignore ]   [ # 5 ]  
Newbie
Rank
Total Posts:  1
Joined  2007-01-13

Hey, just installed this and am very interested in this widget. I am running locally so my address is: http://127.0.0.1:3000 however it does not seem to work. I get a message stating “Couldn’t get the main page, check your settings!“

Any ideas?

I’ll continue to test it.

Profile
 
   
 
 
‹‹ Using RSS      How do I sort feed items by due date? ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.1 (20081028)
Script Executed in 0.1300 seconds

Atom Feed
RSS 2.0