Quote:
Originally Posted by Meltingfire
After debugging and editing for half an hour this is my last feedback for today.
It is impossible to run both new and hot at the same time, probably because they use same variablenams etc.
What i had to do was to rename everything with "hot" in ldm-new.php to "new", after that i duplicated one styles for each "links_hotlinks" and "links_newlinks", and also "adv_portal_custom_ldm_hot" and "adv_portal_custom_ldm_new".
I removed the <tr><td><span> $hotlinks </span></td></tr> part from the "adv_portal_custom_ldm_hot" since i wanted to use more then one colulmn and or row per file, and added the part with <tr><td><span> <a href> ... </a></span></td></tr> in "links_hotlinks" instead. Did same thing for the "_new"-versions.
This also removes the need to use $hottitle, $collapseobj_custom_ldm and $collapseimg_custom_ldm, since they can now be set in the template instead.
This is my $0.05, now its saturday night here and time to party! :P
|
Greatly appreciated - as I've said elsewhere, I don't use vbAdvaced, so have had to work a bit in the dark - will try to pull these things together soon.
Your easrlier equstion about $linkstatus = 1 or >1 - the variable is positive if the link is good, and >1 if it should be treated as a file size - maybe I should have used two variables but I was a bit lazy at one point