CMS MADE SIMPLE FORGE

Banners Module

 

[#8440] Not working clickthrough on empty category with default url

avatar
Created By: Tomáš Havlas (tomas.havlas)
Date Submitted: Tue Sep 25 12:09:08 -0400 2012

Assigned To: Robert Campbell (calguy1000)
Version: 2.6
CMSMS Version: 1.11.2
Severity: Trivial
Resolution: None
State: Open
Summary:
Not working clickthrough on empty category with default url
Detailed Description:
Hello,

when I create new category and I set some default url to it and then try do
display this (empty) category I will get shown default image, thats ok, but also
there is generated clickthrought which is not working, and after clicking it I
get some database error, because there is no banner id suppied.
I thought of 2 possible solutions, first is not to generate clickthrough when
url matches category dflt_url (this can be done by modifing condition in
action.default.php on line 131 adding  "&& $row['url'] !=
$category['dflt_url']") or the another possible solution is to just copy value
from $row['url'] to $row['clickthrough'].


History

Comments
avatar
Date: 2014-08-12 14:30
Posted By: Hector Hernandez @HectorFHdez (soportepro)

08-2014 and this error continue... any solution? thanks.