Mistake?

  • Posts: 222
  • Thank you received: 1
9 years 10 months ago #217459

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4

Is this code correct? (views > user > cpanel, line 21 end 42)

*****<div <?php echo $url; ?> class="icon hikashop_cpanel_icon_div icon hikashop_cpanel_icon_div_<?php echo $oneButton;?>">*****
.................................
******</div>*******

Normaly, if the code is red, it means a mistake. Than I added a '>' after '<div' . Now the code is not red, but I see now this code on "my account" page in every div

I see more red codes in other vieuws.

Last edit: 9 years 10 months ago by Vero.

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

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
9 years 10 months ago #217466

Hi,

That code is correct. adding a > after <div will break the code. The problem is not the code in the view but the thing adding the red which doesn't understand PHP, only HTML.

The following user(s) said Thank You: Vero

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

  • Posts: 222
  • Thank you received: 1
9 years 10 months ago #217520

Thank you. Now I understand it.

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

Time to create page: 0.049 seconds
Powered by Kunena Forum