WebSite X5Help Center

 
Steve Vince
Steve Vince
User

Php  en

Autor: Steve Vince
Visitado 1025, Followers 1, Compartido 0  

Is it possible to create a php page within the program to include in another page, that doesnt have all the additional coding at the beginning and end

I know i can create them using sublime text but it would be useful if this could be done and let ws5 create them

Publicado en
7 RESPUESTAS
Steve Vince
Steve Vince
User
Autor

NO sorry it isn't

I have a website that has an html box on it

this has a php script that uses the  "include" function that link to external pages

at the moment i created these pages using a text editor, what i wanted to do was create them in ws5, but if i do they have a load of additional markup that stops them from working

Leer más
Publicado en de Steve Vince
Incomedia
Stefano G.
Incomedia

Hello Steve

Code-wise, the pages created by the software are fully compliant with classic HTML and PHP pages, so any type of PHP and HTML code will work just fine as long as it doesn't conflict with the generated code.

So I would say yes, you can freely add your own code to pages

I hope I was helpful

Stefano

Leer más
Publicado en de Stefano G.
Steve Vince
Steve Vince
User
Autor

I want to write php pages in ws5 that do not include any generated code, just plain php

Leer más
Publicado en de Steve Vince
Axel  
Axel  
User

@Stefano,

And sometimes some issues with the jQuery libraires into HTML code !foot-in-mouth 

Enjoy

Axel

Leer más
Publicado en de Axel  
Incomedia
Stefano G.
Incomedia

Hello Steve

You can create a PHP file externally from the software, then link it like this in the HTML Object or in Step 1 -> Statistics and Code so that it gets uploaded online:

Could this suit you?

Thank you

Stefano

Leer más
Publicado en de Stefano G.
Steve Vince
Steve Vince
User
Autor

I know i can create the php externally, but its double the workload as you have to uses two different applications  to build the site and then ftp sepaeratly.

i was hoping to avoid this .  What i wanted was to do this all within ws5

Leer más
Publicado en de Steve Vince