Can the software support PHP templating code

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
murugappan
 
 
Posts: 6
Joined: Thu Apr 01, 2021 2:21 pm

Can the software support PHP templating code

Post by murugappan »

Hi,

I want to purchase a copy of the software but held back until i clarify one important feature. Does the software embedded PHP and create the code into a php file?
User avatar
BaconFries
 
 
Posts: 5893
Joined: Thu Aug 16, 2007 7:32 pm

Re: Can the software support PHP templating code

Post by BaconFries »

You have asked a similar question before or complained about not being able to do so and wanting a refund. See the the url below. Note WWB is not a HTML Editor but HTML Generator this means that no code exists until you publish. With this said you can use the following HTML Object to insert external code to the page.you can also add custom code via the Page HTML.
Again please note that the software is not a HTML Editor.
viewtopic.php?p=458160#p458160
User avatar
Pablo
 
Posts: 23281
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Can the software support PHP templating code

Post by Pablo »

WYSIWYG Web Builder is not an HTML editor.
However, you can add custom code (like PHP) to the page.

Here's are a few tutorials about this topic:
https://www.wysiwygwebbuilder.com/add_html.html

https://www.wysiwygwebbuilder.com/forms_php.html

https://www.wysiwygwebbuilder.com/webshop.html
murugappan
 
 
Posts: 6
Joined: Thu Apr 01, 2021 2:21 pm

Re: Can the software support PHP templating code

Post by murugappan »

Hi Baconfries,

I could not access the post that you provided. I think it would not be necessary to point to an outdated issue.

Hi Pablo,
(1) Previously, what i asked was, if the WWB can save files as PHP and insert php code. That was based on WWB V16. I got a negative reply then and therefor requested a refund. Since then things have matured and evolved. But now i have already seen that it could do that. My question was this, please allow me to show with an example. In the php file, the following could be done within the HTML code:

Code: Select all

<div class="form-group">
        <label for="">Mobile No.</label>
        <input type="text" name="mobile" class="form-control" value='<?php echo set_value('mobile');?>' />
        <div class='text-danger'><?php echo display_error($validation, 'mobile') ?></div>
 </div>
(2) The code "value='<?php echo set_value('mobile');?>'" is the php scripting code similar to twig or laravel blade. This is used extensively in CRUD based apps. From the current features of WWB 19 and examples, i would assume that WBB19 would have ways to use values generated by PHP code inserted at the top or from external php scripts located in the server instead of the need to use embedded scripting codes. My question is based on this.

(3) Our intention of using WWB is to fulfill our strategy on using raw php, html, css, bootstrap/tailwind , javascript and jquery instead of depending on overloaded/overdependent frameworks like Laravel, Codeigniter, Vuejs, React or Angular.

Appreciate your advise.
User avatar
Pablo
 
Posts: 23281
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Can the software support PHP templating code

Post by Pablo »

1. It has always been possible to insert PHP code. This functionality has not changed.
You can also insert PHP coder in the value property of the editbox.
This also works in the demo so you can try it for yourself.

2. This is not specific to WB19. This works in any version of WWB.

3.Again, WYSIWYG Web Builder, is not a code/HTML editor. The software was not designed to create web applications. it's a web design tool.
murugappan
 
 
Posts: 6
Joined: Thu Apr 01, 2021 2:21 pm

Re: Can the software support PHP templating code

Post by murugappan »

Understood. Thank you. A design too is what i wanted. I already purchased a plus copy earlier.
Post Reply