I am working on plugin field called PDF Factory.
What i need is to have all fieldsvalues of any form having my field easily available.
All logic i do in onCCK_FieldPrepareForm and would not like to move to another function. I would like to avoid getting data from $_POST
At the moment after some searching i have almost nothing for this but $config variable passed to the function
This:
$config['storages']['#__content']->introtext
gives me only from introtext some fields
::cck::119::/cck::::pdf_file_html_1::testestest::/pdf_file_html_1::::pdf_file_js_1::alert.......
All fields are needed for me to take html from one and create pdf from this html using tcpdf library
If i cannot have all fields of a current form how to convert ::cck:: string into something more json-like.
I rather know no one will help.
Update:
i tried CCK_Rendering class but it is unavailable.
Update:
With my current knowledge, to get most from my plugin i will have to use $_POST variables too and onCCK_FieldPrepareStore where $_POST is accessible (from my memory) and write custom html and javascript to additional files at the same time creating pdf file. So both onCCK_FieldPrepareStore and onCCK_FieldPrepareForm will need to do the same (create pdf files and in a way accessible to get additional HTML and Javascript teksts) but through different paths.
Still getting all fields in a easy way would be useful for me.