I am trying to include a PHP code in Simple Pages but even the HTML filtering is disabled, the code is filtered.
The PHP code I am including is:
<?php echo link_to_items_browse("collection-test", array("collection" => 1)); ?>
The public page is only showing the last part, after the > character:
If I check the HTML code I see that php code is commented:
<!--?php echo link_to_items_browse("collection-test", array("collection" =--> 1)); ?>
Any idea about why the code is filtered?
The test is easy. Just uncheck the HTML Filtering in Settings->Security-> Enable HTML Filtering-> uncheck, and insert the code above in a simple page.
I am using the last versions of Omeka Classic (3.1.1) and Simple Pages (3.2.1)