Page 1 of 1
Can the software support PHP templating code
Posted: Mon Dec 04, 2023 2:23 am
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?
Re: Can the software support PHP templating code
Posted: Mon Dec 04, 2023 2:42 am
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
Re: Can the software support PHP templating code
Posted: Mon Dec 04, 2023 7:25 am
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
Re: Can the software support PHP templating code
Posted: Mon Dec 04, 2023 9:15 am
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.
Re: Can the software support PHP templating code
Posted: Mon Dec 04, 2023 9:58 am
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.
Re: Can the software support PHP templating code
Posted: Mon Dec 04, 2023 11:15 am
by murugappan
Understood. Thank you. A design too is what i wanted. I already purchased a plus copy earlier.