WebSite X5Help Center

 
Stephen L.
Stephen L.
User

Directory from which changes to html files will not overwritten by future updates.  en

Autor: Stephen L.
Besucht 1251, Followers 1, Geteilt 0  

If I want to make a more or less permanent change to an html file (for example adding a Facebook pixel), in what directory do I make the file changes in: the root project directory*, the "preview" directory**, the "upload" directory***, or some other directory?

*C:\Users\steve\OneDrive\Documents\Incomedia\WebSite X5 v13 - Professional\STOSS Books\

**C:\Users\steve\OneDrive\Documents\Incomedia\WebSite X5 v13 - Professional\STOSS Books\Preview

***C:\Users\steve\OneDrive\Documents\Incomedia\WebSite X5 v13 - Professional\STOSS Books\Upload

Gepostet am
4 ANTWORTEN - 1 KORREKT
Esahc ..
Esahc ..
Moderator

Stephen

The best place is within WX5 program itself and add an html cell.

Unless you wish to link to an html file, in which case, drop the code into your preview folder and also to you public_html folder on your server so it can be found in both your preview and online when called.

Mehr lesen
Gepostet am von Esahc ..
Stephen L.
Stephen L.
User
Autor

So when a website is updated, do the files that are in the "preview" directory get copied to the "upload" directory?

Mehr lesen
Gepostet am von Stephen L.
Esahc ..
Esahc ..
Moderator

No Stephen.

If you are using the built in FTP engine, you could put it in the upload directory, but I am not sure if it is ever flushed.

In the past I used to use filezilla, and because of this I created a directory to export to disk, then simply uploaded everything in that directory.  It was handy, because I could even add an iwzip as a permanent backup if I wished.

Mehr lesen
Gepostet am von Esahc ..
Stephen L.
Stephen L.
User
Autor

Great suggestion. Thanks Gordan.

Mehr lesen
Gepostet am von Stephen L.