Closed (fixed)
Project:
myTinyTodo
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2012 at 08:01 UTC
Updated:
27 Sep 2012 at 00:06 UTC
I'm having a problem with the setup...I've done the install and I get the box to appear, but it would appear that it's failing to initialize. I believe this to be due to not having Clean URLs turn on. The problem is that I cannot turn on Clean URLs in my installation because Yahoo! hosting doesn't allow .htaccess and other functions (my customer is on Yahoo! and does not want to leave...this is not an option).
Therefore, I found a bit of a work-around with this in the 'mytinytodo-page.tpl.php' and 'mytinytodo.theme.inc' files:
// Check if Clean URLs is turned on or not
$head_search = @get_headers($base_path . 'mytinytodo/init');
if (strpos($head_search[0], '404 Not Found')) {
mytinytodo_html_add_js($base_path . '?q=mytinytodo/init');
} else {
mytinytodo_html_add_js($base_path . 'mytinytodo/init');
}
unset($head_search);
// End of Check
Comments
Comment #1
fizk commentedThanks! Fixed: http://drupalcode.org/project/mytinytodo.git/commitdiff/e537d316f8e04763...
You can try the dev release in 24 hours.