Feature request - Ignore XPATH in Table of Contents (Word/LibreOffice)

Error message

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'comment_node_forum_form' not found or invalid function name in drupal_retrieve_form() (line 844 of /var/www/www.gremwell.com/includes/form.inc).

MagicTree, when creating a report from a template, will also look for (and modify) XPATH content in the "Table of Contents". This is unnecessary, since the Table of Contents is automatically generated by Word or LibreOffice.

I can think of some die-hard VI editor fan that really wants to use MagicTree to create his/her own Table of Contents to rule them all, but in general, I think MagicTree should not touch anything in a Table of Contents. There is even a small chance that this messes something up with the XPATH scope and thus also with your head (especially when debugging a template at 4 AM).

Thanks,

Herman

You are right. It's a bug. We should not parse XPath placeholders in the table of contents. Wiil fix.

Add new comment

CAPTCHA
Please answer the question to prove that you are not a spammer. If it isn't working and you are not a spammer, please email us.
Fill in the blank.