– Added Todo List as the title (later I’ll make this configurable)
– Edited the text that appears at the Manage -> Plugins page to say pravin_get_todo() instead of pravin_todo()
I just did not understand why the todo-list didn’t display on the page. It was just a wild guess (I’m no php coder), that “something must be missing”. It’s clear now. I had the function name wrong.
The widget is now ok, but I still can’t see the todo-list on my static page. Do I need to add/do anything besides including this:
…
< ? php the_title(); ? >
< ? php pravin_get_todo(); ? >
< div class=”entrytext” >
< ? php the_content(‘<p class=”serif”>Read the rest of this page »</p>’); ? >
< / div >
…
(some extra spaces have been added here, to make the markup visible)
Sorry, my bad.
Change that line to read <?php echo pravin_get_todo(); ?>
Now I remember why I had thought of having a function called pravin_todo(). I’ll make those changes shortly
It works now.
No, I did not fight for eleven hours with it 😉 – I have to sleep, too. All the fixes were simple and easy.
A few thoughts:
Excellent! It is multiuser friendly, and has dual sort keys and all! I like this plug-in very much. Editing tasks could be a little bit easier, though. More on that later. I’ll do some testing now 🙂
——-
My further feature requests and such comments go to the comments here: http://www.dustyant.com/posts/todo-plugin-for-wordpress.html
I am using WordPress 2.1
This error message shows up under the Manage>ToDo section of my wordpress:
WordPress database error: [Table ‘nmelinez_wrdp1.wp_pravin_todo’ doesn’t exist]
select * from wp_pravin_todo order by status ASC, date_due ASC
WordPress database error: [Table ‘nmelinez_wrdp1.wp_pravin_todo_options’ doesn’t exist]
SELECT show_limit FROM wp_pravin_todo_options LIMIT 1
WordPress database error: [Table ‘nmelinez_wrdp1.wp_pravin_todo_options’ doesn’t exist]
SELECT show_completed FROM wp_pravin_todo_options LIMIT 1
WordPress database error: [Table ‘nmelinez_wrdp1.wp_pravin_todo_options’ doesn’t exist]
SELECT show_duetoday FROM wp_pravin_todo_options LIMIT 1
WordPress database error: [Table ‘nmelinez_wrdp1.wp_pravin_todo_options’ doesn’t exist]
SELECT sort_field1 FROM wp_pravin_todo_options LIMIT 1
WordPress database error: [Table ‘nmelinez_wrdp1.wp_pravin_todo_options’ doesn’t exist]
SELECT sort_field2 FROM wp_pravin_todo_options LIMIT 1
WordPress database error: [Table ‘nmelinez_wrdp1.wp_pravin_todo_options’ doesn’t exist]
SELECT sort_order1 FROM wp_pravin_todo_options LIMIT 1
WordPress database error: [Table ‘nmelinez_wrdp1.wp_pravin_todo_options’ doesn’t exist]
SELECT sort_order2 FROM wp_pravin_todo_options LIMIT 1
If this requires some SQL steps, can you specify what exactly I must do. I’m not very familiar with SQL but I have found where to input the info.
This means that the tables haven’t been created. You’ll have to create the tables manually. I haven’t had time to maintain this plugin because of work. I don’t know when I’ll find time.
Till then, please look at the todo_install (something like this) function and run those steps manually.