Answer the question
In order to leave comments, you need to log in
How to get the id of the current resource in modx revo using PHP?
I am creating a plugin that will create a folder in a specific directory for it and I need to get the resource id.
<?php
$namepapka = ид_создаваемого_ресурса;
mkdir("..../assets/files/$namepapka", 0700);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question