April 12, 2018 at 6:06 am #10412CoolCellMember
I take it there’s no way to use Bootstrap Studio to add PHP code and other code other than bootstrap?
Currently I use Bootstrap Studio to design my site then use a text editor to insert the PHP code. The issue with that is if I need to update my site design in bootstrap studio my PHP code is not there and have to reexport the code then use the text editor to add the PHP code all over again. This means sadness because I love bootstrap studio.
<h1>If I missed how to put PHP code into my code using bootstrap studio and have it save to BSdesign files so the PHP code stays please let me know!</h1>
If there is to a way maybe the developers can add a edit raw code button that lets you edit the code in raw form with the editor you select or open the folder the file is in to edit it manually to insert PHP etc. then after you save it then return to bootstrap studio and click another button that will load code from raw edit and import the changes to bootstrap studio so it saves the changes to the .BSdesign files.
Also be nice if the feature to rename the file extensions can be changed to PHP because people like me can uses apps like XAMPP to test the exported site.
You can put in the settings a advanced editor option that has to been enable the import from raw code file button not to confuse bootstrap only users. But honestly have not seen or found a bootstrap only developer yet!
These features would be great to have and make bootstrap studio better.April 12, 2018 at 7:10 am #10415Chris HackwoodMemberValued
If you want to add php to your design then you need to insert a custom code component which will allow this – however please note your php won’t function within the app or the preview until you have exported and uploaded to your design to your server/virtual server.
Does that make sense ?April 12, 2018 at 7:29 am #10418CoolCellMember
That help some I understand the PHP will not work until it’s extracted and put the site on a server or virtual server until then it will be considered dead code.
Is there a way to insert a PHP file into Bootstrap Studio (example a con.php file)? Or do I have to make them .html files and rename everything after export from .html to .php when it’s on a server?
Would be cool to be able to add .php files to the project until there extracted even if there dead code.
If not I can still use bootstrap studio to develop the pages and appreciate your help greatly. Thank youApril 13, 2018 at 1:58 pm #10438
HASANSHAH = SPAMMERSeptember 19, 2018 at 2:54 pm #12723jefcorMember
Sorry but my English comes from Google.
I believe, to interact BS with php, should be as follows:-
1-Create a project with an IDE any (I use NetBeans)
2-make your BS project and export it to www-your project (if you use Wamp or htdocs if using Xampp)
3-include in your php project the index.html from the BS exported with the include_once
4-run the IDE project and you will see in the browser your BS project working.
5-my index.pxp was like that:-<!DOCTYPE html>
<?php include_once=”” ‘conecta.php’;=”” include_once=”” ‘index.html’;=””?>
I’m having trouble doing work details such as:-
– the-answer button submits;
– put data mysql tables in lists;
– replace images in grids.
I know I have to put in my php page using code snippets <?php…..??> but don’t know how to find refer to html commands. This is my challenge.
Don’t forget, I love BSDecember 10, 2018 at 2:45 am #13511ta1dbMember
Hi, can anyone give me an advise for my forum post on https://bootstrapstudio.io/forums/topic/bootstrap-with-composer/ Thanks.December 10, 2018 at 12:22 pm #13516
You must be logged in to reply to this topic.