Hi Guys,
I think you may have answered this question before. But i'll ask again:
Can you use PHP within mysource matrix, i.e the parse file?
For example:
<?php echo "Hello World" ?>
Hi Guys,
I think you may have answered this question before. But i'll ask again:
Can you use PHP within mysource matrix, i.e the parse file?
For example:
<?php echo "Hello World" ?>
Matrix does not execute any embedded code. Only code capable of being executed client-side (e.g., JavaScript) can be embedded. All other functionality must be done using PHP plugins to Matrix.
trying to make a search tool within the website.
i have swish-e loaded on the box, and if I can't use PHP to call the command line, or Perl, I have no idea where to go from there.
[quote]You would need to write a new asset type in PHP that connects to swish-e. Then, you would create an asset of that type within your Matrix system via the Admin Interface. I assume the new asset type would contain the PHP code that displays the search form and results.
There is a “Creating a new asset type” tutorial on the Matrix website.[/quote]
Thanks Avi.