Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Cosmetics" Joomla/VirtueMart template.

Topic-icon Undefined variable error changing template style

More
5 years 7 months ago #12572 by wvq
wvq created the topic: Undefined variable error changing template style
I'm editing the templates style and when I select any of the tabs to change the colors I get the following error:

"Undefined variable: value in C:\...\elements\hotcolor.php on line 53

How can I solve this?

Please Log in to join the conversation.

More
5 years 6 months ago #12597 by ivan.milic
ivan.milic replied the topic: Re: Undefined variable error changing template style
open that file and replace $value with $this->value

Please Log in to join the conversation.

More
5 years 6 months ago #12795 by flyingfinn64
flyingfinn64 replied the topic: Re: Undefined variable error changing template style
Hello can u help me also?
have the same problem in the hot joomla photo module in your virtuemart template hotfurniture with the hotcolor.php error in line 53
can u help me?
here the line 53 until the end

$value = htmlspecialchars(html_entity_decode($value, ENT_QUOTES), ENT_QUOTES);
$background = ' style="background-color: '.$value.'"';

return '<input type="text" name="'.$this->name.'" id="'.$this->id.'" '.$background.' class="'.$class.'" value="'.htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8').'">';

thank u very much

Please Log in to join the conversation.

More
5 years 6 months ago #12813 by ivan.milic
ivan.milic replied the topic: Re: Undefined variable error changing template style
That is warning , not error and solution is same for j1.6/j1.7

$value replace with $this->value

Please Log in to join the conversation.

More
5 years 6 months ago #12823 by milos
milos replied the topic: Re: Undefined variable error changing template style
We have fixed this, please download, unzip and upload the attached file to /templates/hot_templatename/elements (overwrite existing file).

File Attachment:

File Name: hotcolor.zip
File Size:1 KB
Attachments:

Please Log in to join the conversation.

More
5 years 6 months ago - 5 years 6 months ago #12827 by flyingfinn64
flyingfinn64 replied the topic: Re: Undefined variable error changing template style
Ty u for ur quick responses. im out of office for weekend ill fix it monday morning and ill let u know.
Thanks in advance
Last Edit: 5 years 6 months ago by flyingfinn64.

Please Log in to join the conversation.

Time to create page: 0.129 seconds

Links, Partners and Social Media