Quote:
Originally Posted by Slave
Oh .. one thing that's come to mind ..
With the vBa modules .. at the moment it just shows the link and hits, would it be possible to also show the cat for each link?
link ? hits
cat
link ? hits
cat
sort of thing ..
Is it just the case of adding a $ to the links_vbalinks template, or is some editing of the php file required?
|
It needs a minor change in the code and a reference to a new variable in the links_vbalinks template. I'll add the variable into the code, but leave the template change for you to patch locally. In the meantime, you can implement the change as follows:
- Edit local_links_include.php
- Line 1907 or thereabouts, in function get_links2, add $linkscat to the list of global variables.
- Towards the end of the *while* loop, before the eval() statement, add this statement :
PHP Code:
$linkcatname = $linkscat[$catid]["catname_clean"];
Then patch the template so that it refers to $linkcatname