I got a simple question.
I have a plugin that is all built and working nicely. What it does is count how many times a page is viewed (so i can make a list of popular pages in a ditto call) it does so by adding to a template variable.
The plugin calls this template variable by its id. I want to call it by the TV name so it will be easier to share with the community (so people dont hae to edit the plugin)
Right now the code looks like...
$tmplvar = 16; // set this equal to the id of the template variable storing the count
16 being the id of the TV.. i want it to be something like..
$tmplvar = [*pageHits*]; // set this equal to the id of the template variable storing the count
.. but i dont know the proper syntax, anyone know it