WebSite X5Help Center

 
Steve Vince
Steve Vince
User

Php  en

Autore: Steve Vince
Visite 1255, Followers 1, Condiviso 0  
Parole Chiave: php,website x5 pro 2021.1

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

Postato il
7 RISPOSTE
Steve Vince
Steve Vince
User
Autore

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

Leggi di più
Postato il da 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

Leggi di più
Postato il da Stefano G.
Steve Vince
Steve Vince
User
Autore

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

Leggi di più
Postato il da Steve Vince
Axel  
Axel  
User

@Stefano,

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

Enjoy

Axel

Leggi di più
Postato il da 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

Leggi di più
Postato il da Stefano G.
Steve Vince
Steve Vince
User
Autore

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

Leggi di più
Postato il da Steve Vince