Card object problem

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Humberto
 
 
Posts: 32
Joined: Thu Jul 11, 2019 3:45 pm

Card object problem

Post by Humberto »

Hello to everybody,

I really don´t know where this question belongs, but i hope it's here :D

I've kinda of a problem with the Card object. If i insert a image and use php code in the scr of that image, when i publish the page the scr is allways changed to someting like <img id="BootstrapCard6-card-item0" src="images/100x100.jpg" alt="" title=""> and not the php code.
In this case it should stay <img id="BootstrapCard6-card-item0" src="<?php echo $user_photo; ?>" alt="" title="">

I can later change this, but ot's very annoying.

Can some one help me please.

Thanks.
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Card object problem

Post by Pablo »

The Card object currently does not support PHP code.
Due to internal calculations any invalid file names are replaced with a dummy image.
Humberto
 
 
Posts: 32
Joined: Thu Jul 11, 2019 3:45 pm

Re: Card object problem

Post by Humberto »

Hi Pablo,

Thanks for the answer, but all the other items in card object work just fine, the only one that doesn't work is the image.

Here is the code that is created automatacly

<div id="BootstrapCard6-card-body">
<img id="BootstrapCard6-card-item0" src="images/100x100.jpg" alt="" title="">
<div id="BootstrapCard6-card-item1"><?php echo $nome; ?></div>
<div id="BootstrapCard6-card-item2"><?php echo $tipo; ?></div>
<hr id="BootstrapCard6-card-item3">
<div id="BootstrapCard6-card-item4"><?php echo $parceiro; ?></div>
<div id="BootstrapCard6-card-item5"><?php echo $email; ?></div>
<hr id="BootstrapCard6-card-item6">
<div id="BootstrapCard6-card-item7"><a href="./conf_edit_user.php?id=<?php echo $id_user; ?>" target="_parent">Editar</a></div>
<div id="BootstrapCard6-card-item8"><a href="./conf_delete_user.php?id=<?php echo $id_user; ?>" target="_parent">Eliminar</a></div>
</div>
User avatar
Pablo
 
Posts: 22429
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Card object problem

Post by Pablo »

Sorry, this is by design. Any invalid filename will be replace with a dummy image.
I will try to add PHP support in a future update.
Humberto
 
 
Posts: 32
Joined: Thu Jul 11, 2019 3:45 pm

Re: Card object problem

Post by Humberto »

Ok Pablo, thanks.
Humberto
 
 
Posts: 32
Joined: Thu Jul 11, 2019 3:45 pm

Re: Card object problem

Post by Humberto »

Hi Pablo,

Just installed the last version and i saw the "problem" with the card object solved.

I wish to thank you for listening your customers. As i told before a just love your software and will keep buying all versions because they just leave my jobs so much easier. Once again, thanks.

Best regards,
Humberto Rodrigues
Post Reply