Quote:
Originally Posted by hydn
I'm struggling with layout issues. I have a broken link that links to:
"ARG:4NDEFINED.php?catid=-8"
|
Have you modified one of the LDM templates at some time in the past or got other hacks installed? A url pointing to catid=-8 is trying to display the most recent entries, and the current templates would construct this in terms of something like:
Code:
<a href="$SEARCH_SCRIPT.php?action=find&catid=$NEW_CAT">$vbphrase[ll_menu_shownew]</a>
Maybe if you switch on template titles on your vb admincp/options, you can check which template this link is within - I would expect it to be in the links_header template.
Quote:
Originally Posted by hydn
Also there's a "lone" statistics box on the bottom-right of all pages. How can I add other stats or anything to the left of it?
|
This is set up in the links_main template. There a set of code that looks like the following:
Code:
<if condition="$includeinmain[prestats]">
$includeinmain[prestats]
</if>
<if condition="$viewcatstats or $viewcathits">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td width="70%"> </td>
<td>
...
You can add other material to the empty 70% cell. Alternatively, you can assign something to the $includinmain[prestats] variable by writing a plugin tied to the links_linkbit_create hook