PHP and other code intergration

Forums Ideas PHP and other code intergration

This topic contains 6 replies, has 5 voices, and was last updated by  Jo 1 month, 1 week ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10412
    CoolCell
    Member

    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.

    #10415
    Chris Hackwood
    Member
    Valued

    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 ?

    #10418
    CoolCell
    Member

    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 you

    #10438
    Jo
    Member

    HASANSHAH = SPAMMER

    #12723
    jefcor
    Member

    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>
    <html>
    <head>
    <meta charset=””UTF-8″”>
    <title>SYSTEM X</title>
    </head>
    <body>
    <?php include_once=”” ‘conecta.php’;=”” include_once=”” ‘index.html’;=””?>
    </body>
    </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 BS

    #13511
    ta1db
    Member

    Hi, can anyone give me an advise for my forum post on https://bootstrapstudio.io/forums/topic/bootstrap-with-composer/ Thanks.

    #13516
    Jo
    Member
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.