Thread Starter
Michael
(@taloscent)
Followup:
When previewing an older working table it also errors with !ERROR! illegal character ‘[‘ but the actual page display works.
Hi,
thanks for your post, and sorry for the trouble.
Is the Extension still activated? And did you add the required parameter to the Shortcodes?
Regards,
Tobias
Thread Starter
Michael
(@taloscent)
Yes to both. Would you like admin login?
Hi,
yes, that would probably be good. Please create a temporary admin account for me and send me the details via email (the address is in the main plugin file “tablepress.php”). That way, I can investigate this directly.
Regards,
Tobias
Hi,
thanks for the account! I now had the time to take a look at this.
From what I can see, the Extension is installed and activated, but the necessary parameter was not added to the Shortcode.
I fixed this now by globally enabling that parameter, so that Shortcodes in table cells will always be evaluated before formulas.
The table from the link you sent me does work again now 🙂
Regards,
Tobias
Thread Starter
Michael
(@taloscent)
I am confused. Are you saying that the shortcode of [tuitionrate] was not correct? What do you mean by …”but the necessary parameter was not added to the Shortcode.”
Hi,
no, that one is fine. The [table]
Shortcode needed the parameter shortcodes_before_formulas=true
to actually enable the Extension’s functionality on that table. Instead of adding that to the table, I simply modified the Extension so that this parameter is now implied automatically on your site.
Regards,
Tobias
Thread Starter
Michael
(@taloscent)
I see. So to understand then the problem is that the plugin should have added that when it was activated and for some reason did not?
Hi,
not directly. The Extension just registers that parameter (with a default value of “false”) and makes it available in the Shortcode. One can then set the parameter to “true” in the Shortcode for those tables where Shortcodes shall be evaluated before formulas. (This is not the default, as there can be a small performance penalty in tables where there are no formulas for which this might be necessary.)
With the small code change I now simply set the default value to “true”, so that the parameter does not have to be added manually.
I guess this I should finally write the documentation for this on the Extension’s web page…
Regards,
Tobias