D
D
dearname2015-07-29 09:37:48
JavaScript
dearname, 2015-07-29 09:37:48

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);


Is there any protection in Dle for such insertions, because plain text is inserted well.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Ivanov, 2015-07-29
@Writerim

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 question

Ask a Question

731 491 924 answers to any question