While kind of a hack, you could just store the JS in your own project, and change the URL that it uses to fit your url pattern?
Eric On Jan 28, 2009, at 8:49 AM, Alexander Morland wrote: > My problem isnt that it is an empty file, my problem is that it > makes my framework run the same page twice. The url that the > javascript is making for this __history__.html is invalid. > When looking at http://localhost/time/main_activities/timeline/1 > I am in fact looking at > http://localhost/time/index.php?controller:main_activities&action:timeline&id:1 > But the javascript doesnt know this and calls this url : > http://localhost/time/main_activities/timeline/__history__.html > instead of http://localhost/time/__history__.html (which i dont want > either, but would make some sense at least) > > so i would rather disable it > > thanks for quick reply > alexander > > Eric Pugh wrote: >> Alexander, >> >> I'm cc'ing the list since I don't know that I have the exact >> answer. The __history__.html file somehow supports the Ajax lib's >> ability to handle back and forth browser button clicks. Not sure >> how though. And I did NOT have it for a very long time in >> http://history.state.gov >> . I added it just to make Firebug not complain about the server >> looking for a file and not finding it, so I am guessing you could >> ignore it if you don't need what it does. Also, by default it's a >> 0 byte file, I tweaked it to have a " " character in the file so I >> could use it in my data repository, and it seemed to work just fine. >> >> Eric >> >> >> >> On Jan 28, 2009, at 8:29 AM, Alexander Morland wrote: >> >>> How do I disable this "feature" though? I am using a framework >>> that uses mod_rewrite to rewrite folders into url paramters. as >>> such this automatic called creates a very .. funky url. >>> >>> thanks, >>> alexander >> >> ----------------------------------------------------- >> Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 >> | http://www.opensourceconnections.com >> Free/Busy: http://tinyurl.com/eric-cal >> >> >> >> > ----------------------------------------------------- Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com Free/Busy: http://tinyurl.com/eric-cal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
