0

I've made a little script to be able to select entire rows in a table.

$(".clickableRow").on("click", function() {
    location.href="{path='leerlijnen/school/{entry_id}/#toevoegen'}";
}); 

However the href doesn't produce a valid URL: ../leerlijnen/school/{entry_id/#toevoegen'} where I expected: ../leerlijnen/school/3964/#toevoegen.

Any glues?

  • 1
    Are you running this in your channel entries tags? – Johnathan Waters Jul 25 '14 at 19:25
1

Try

../leerlijnen/school/{entry_id}/#toevoegen

You may have to put it between channel tags to get it to parse.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.