WebSite X5Help Center

 
Diosdado  M.
Diosdado M.
User

Running script inside x5  en

Autor: Diosdado M.
Visitado 1389, Followers 2, Compartido 0  

I have php script complete application, I want to run this script inside X5, how ever the script contains sub-folders in it, If I link to X5 page, It will execute on different complete page because I link it via URL, if I link it thru page It will only link to a certain script file but not all the folders. How could I make this work so that all the folders in my script will be included to X5 page? Thanks

Publicado en
3 RESPUESTAS
Incomedia
Claudio D.
Incomedia

Hello Diosdado,

You can add the script in Step 1 Expert Tab in the html code where you link to the script files. All you add in this section will be present automatically in all pages.

Many thanks!

Leer más
Publicado en de Claudio D.
Diosdado  M.
Diosdado M.
User
Autor

so how can i run a full php script inside a page? i inserted a php script but it doesnt work, it just display my script and not executed? what is the right way to run a php complete script inside a page? thanks

Leer más
Publicado en de Diosdado M.
Incomedia
Claudio D.
Incomedia

Hello Diosdado,

you need to change also the extension of the page in Step 2 - Propierties- in the Expert Tab to PHP otherwise the server will not know that the code inside has to be run and not only rendered as text.

The script will not work in the Preview, because it needs to run on a server with php support. You will be able to see the script only once exported online.

Please feel free to write back if you need more information.

Leer más
Publicado en de Claudio D.