G
G
Ghost_Bear2017-03-02 15:14:04
PHP
Ghost_Bear, 2017-03-02 15:14:04

How to include php code in modx template?

Hello!

<?php
Некий код
?>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
Код
</body>
</html>

How to include "Some Code" in a template?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
anton_lazarev, 2017-03-02
@anton_lazarev

Create a snippet, then call it in the template via the construct

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question