Answer the question
In order to leave comments, you need to log in
How to insert custom using jquery in dle?
Good afternoon. I'm trying to insert this code into the page using Jquery in dle, for some reason it does not work.
var text="{custom category=\"2\" template=\"shortstory\" aviable=\"global\" from=\"0\" limit=\"6\" cache=\"no\"}"
$(".column").append(text);
Answer the question
In order to leave comments, you need to log in
If I understood correctly, then you are trying to insert some kind of plugin on the page, which should be processed by php?
If yes, then it won't work because php didn't see this code. It was inserted after generating the php page.
based on what you showed
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question