K
K
Kot Matpockuh2014-01-29 10:06:26
PHP
Kot Matpockuh, 2014-01-29 10:06:26

How to pass and receive get value in modx revo?

In a chunk I write the following link code:
<a href="">
I'm trying to get a value in another chunk using getPage, but I'm apparently doing something wrong, what exactly?


How to make it work and write this code correctly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
ilyautkin, 2014-06-04
@kot_matpockuh

Instead of we write AND create a snippet called get :

<?php
return $_GET[$need];

N
Nikolai Pinevich, 2015-11-09
@Afres

If there is a getPage addition, then there is a simple construction
! - not to be cached
# - to be filtered from malware

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question