I have the following code:
My event_attachment editable is defined as:
It lies in a cms:repeatable region.
I get the following error:
As an additional info, I am using the latest CouchCMS version from GitHub and mPDF version 8.2.
Regards,
GXCPL (CTR)
- Code: Select all
<cms:set file_url = "<cms:php>echo parse_url('<cms:show event_attachment />', PHP_URL_PATH);</cms:php>" scope="global" />
<cms:php>
$externalPdfPath = "<cms:show file_url />";
$pageCount = $mpdf->SetSourceFile($externalPdfPath);
echo $pageCount;
</cms:php>
My event_attachment editable is defined as:
- Code: Select all
<cms:editable name="event_attachment" label="Attachment" type="file" max_size="10240" order="4" not_active=my_has_attachment />
It lies in a cms:repeatable region.
I get the following error:
As an additional info, I am using the latest CouchCMS version from GitHub and mPDF version 8.2.
Regards,
GXCPL (CTR)