WebSite X5Help Center

 
Steve Vince
Steve Vince
User

Php  en

Автор: Steve Vince
Просмотрено 1042, Подписчики 1, Размещенный 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

Размещено
7 Ответы
Steve Vince
Steve Vince
User
Автор

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

Читать больше
Размещено От 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

Читать больше
Размещено От Stefano G.
Steve Vince
Steve Vince
User
Автор

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

Читать больше
Размещено От Steve Vince
Axel  
Axel  
User
Лучший пользователь месяца FR

@Stefano,

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

Enjoy

Axel

Читать больше
Размещено От 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

Читать больше
Размещено От Stefano G.
Steve Vince
Steve Vince
User
Автор

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

Читать больше
Размещено От Steve Vince