WebSite X5Help Center

 
Todd P.
Todd P.
User

Can the index file be used in a directory with the rest of the files are not in?  en

Автор: Todd P.
Просмотрено 941, Подписчики 1, Размещенный 0  

I have a website on another script, I want to add a page using website X5 evo
I want the style, res,and pcss folders to be in a folder (Not Public_html)
and put the index file elsewhere.

I have tried this and it does not work. 

Example: folder newpage holds the style, res, and pcss folders
the index file code is put in the other script as a page.
This  does  not  work  even  if  i add  the  path  to  the  folder  in  the  index  code.

Is there anyway to make this work?

Размещено
3 Ответы
Esahc ..
Esahc ..
Moderator

Todd, why not put the whole website in a folder in public_html. Then you can call the site (for embedding in another site? Eg mywesite.com/newsite) and index.html will know where to get its resources relative to its position?

Читать больше
Размещено От Esahc ..
Todd P.
Todd P.
User
Автор

I only need the index.html code to put in the other script, but there doesn't seem to be a way to use the index file outside of the same folder everything else is in. Most site/page builders i have used i can put all the style,image, and other files needed into a folder, then put the code for the index outside that folder and it still works.

This doesn't seem to be an option with website x5

Читать больше
Размещено От Todd P.
Esahc ..
Esahc ..
Moderator

Not in WX5 sorry.

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