now is embeded as iframe. can it be embedded as php?

Comments

fizk’s picture

Hi Kervi,

What do you mean by embedded as php? Do you want to call a function and get the HTML for the myTinyTodo?

dgastudio’s picture

yes!

fizk’s picture

Assigned: Unassigned » fizk

Alright, I'll work on this.

dgastudio’s picture

thank u

fizk’s picture

Status: Active » Needs work

kervi, I've committed some code to do this in the dev version. Can you help me fix the CSS so it shows up properly? Thanks :)

dgastudio’s picture

no problem, i'll test it tomorrow.

thank u!

fizk’s picture

The latest 7.x-1.0-dev should look better, but there are a few CSS issues:

  • toolbar position
  • search box position
  • new list + tab position
  • todo menu (edit, edit note, etc) position
fizk’s picture

To test the HTML output, you can use:

echo theme('mytinytodo_html', array('nid' => 3, 'field' => 'field_todo_list', 'pda' => false));

Where:

  • nid is the node id that has a myTinyTodo field.
  • field is the exact name of the field that you created for that node's content type.
chrislabeard’s picture

Thanks so much for this awesome module.

Can't wait to integrate it into my site, I wasn't sure if i should post here or not. But can I do this with the 6x version as well?

fizk’s picture

chrislabeard, your welcome, I'm glad you're enjoying it :)

I haven't back ported this feature to 6.x yet, but it will get in.

chrislabeard’s picture

Awesome thanks fizk!