Problem with countdown module

  • Posted by Lorenzo Rossini (11) Offline
Hello again,

Just for your information, in the circular.php file I had to delete references to the transparency (alpha channel), there was a problem with the point that was substituted by a comma, I don't know why.
I also noticed that $s_color variable was commented.

That's what I have changed in the code:

Before
$doc = JFactory::getDocument();
$cbg_color = modResponsiveCountdownHelper::hex2rgba($circlebgcolor,0.8);
$d_color = modResponsiveCountdownHelper::hex2rgba($daysColor,0.8);
$h_color = modResponsiveCountdownHelper::hex2rgba($hoursColor,0.8);
$m_color = modResponsiveCountdownHelper::hex2rgba($minutesColor,0.8);
//$s_color = modResponsiveCountdownHelper::hex2rgba($secondsColor,0.8);

After
$doc	= JFactory::getDocument();
$cbg_color = modResponsiveCountdownHelper::hex2rgba($circlebgcolor);
$d_color = modResponsiveCountdownHelper::hex2rgba($daysColor);
$h_color = modResponsiveCountdownHelper::hex2rgba($hoursColor);
$m_color = modResponsiveCountdownHelper::hex2rgba($minutesColor);
$s_color = modResponsiveCountdownHelper::hex2rgba($secondsColor);

...and now it seems that it works...
10 years 2 weeks ago #13 by Lorenzo Rossini

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5310) Offline
Hmm strange .. but thanks for let me know
10 years 2 weeks ago #14 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum