Differences

This shows you the differences between two versions of the page.

Link to this comparison view

dglux5_wiki:workspace_and_workflow:projects_and_files:about_dg5 [2019/07/17 19:17]
127.0.0.1 external edit
dglux5_wiki:workspace_and_workflow:projects_and_files:about_dg5 [2021/09/20 14:51]
Line 1: Line 1:
-{{indexmenu_n>​7}} 
-====== DG5 Files ====== 
-Pages in a DGLux5 project are saved as ''​.dg5''​ files. A ''​.dg5''​ file uses [[http://​www.json.org/​|JSON]] to store information about the page's [[dglux5_wiki:​dgscript:​home#​page_model|model]] and content. 
  
----- 
- 
-===== index.dg5 ===== 
-By default, every DGLux5 project has an ''​index.dg5''​ file. You can use ''​index.dg5''​ as the home page for your project. By default, ''​index.dg5''​ is loaded when the user goes to the URL for the project. ​ 
- 
----- 
- 
-===== Create a New DG5 File ===== 
-To create a new ''​.dg5''​ file in the currently open project: 
-  * <​WRAP>​Select **File** > **New File**. 
- 
-{{:​dglux5_wiki:​workspace_and_workflow:​dglux5_new_file_1.png?​direct|}}</​WRAP>​ 
- 
-Alternatively,​ you can press Shift + N to create a new file. 
- 
----- 
- 
-===== Save a DG5 File ===== 
-To save a file: 
-  - If you have multiple files open, make sure the file is selected in the tabs above the [[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​document_window|Document window]]. 
-  - <​WRAP>​In the Main Menu, select **File** > **Save File**. Or, select **File** > **Save As** to create a new version. 
- 
-{{:​dglux5_wiki:​workspace_and_workflow:​dglux5_save_file_1.png?​direct|}}</​WRAP>​ 
- 
-Alternatively,​ you can press Ctrl + S to save the currently open file. 
- 
----- 
- 
-===== Open a DG5 File ===== 
-To open a ''​.dg5''​ file: 
-  - [[dglux5_wiki:​workspace_and_workflow:​projects_and_files:​open_project|Open the project]] that contains the file. 
-  - <​WRAP>​In the [[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​project_panel|Project panel]], double-click the file to open it. 
- 
-{{:​dglux5_wiki:​workspace_and_workflow:​dglux5_open_file.png?​direct|}}</​WRAP>​ 
- 
----- 
- 
-===== Copy a DG5 File ===== 
-To copy a ''​.dg5''​ file: 
-  - Select the ''​.dg5''​ file in the project panel. 
-  - <​WRAP>​Click {{:​dglux5_wiki:​89_icn-tool-menu.png?​nolink|}} **Menu**, and select {{:​dglux5_wiki:​59_icn-tool-copy.png?​nolink|}} **Copy**. ​ 
- 
-{{:​dglux5_wiki:​workspace_and_workflow:​dglux5_copy_file_2.png?​direct|}} 
- 
-Alternatively,​ you can right-click the file and select {{:​dglux5_wiki:​59_icn-tool-copy.png?​nolink|}} **Copy**.</​WRAP>​ 
- 
----- 
- 
-===== Paste a DG5 File ===== 
-To paste a ''​.dg5''​ file: 
-  - Select a directory in the [[dglux5_wiki:​workspace_and_workflow:​panels_and_menus:​project_panel|Project panel]]. It can be the project'​s root directory. 
-  - <​WRAP>​Click {{:​dglux5_wiki:​89_icn-tool-menu.png?​nolink|}} **Menu**, and select {{:​dglux5_wiki:​58_icn-tool-paste.png?​nolink|}} **Paste**. ​ 
- 
-{{:​dglux5_wiki:​workspace_and_workflow:​dglux5_copy_file_1.png?​direct|}} 
- 
-Alternatively,​ you can right-click the directory and select {{:​dglux5_wiki:​59_icn-tool-copy.png?​nolink|}} **Paste**.</​WRAP>​ 
- 
----- 
- 
-===== Recover a DG5 File ===== 
-To recover an old version of a ''​.dg5''​ file: 
-  - <​WRAP>​In the Main Menu, select **File** > **Recover**,​ and select the version you want to open. 
- 
-{{:​dglux5_wiki:​workspace_and_workflow:​dglux5_recover_file_1.png?​direct|}}</​WRAP>​ 
-  - [[#​save_a_file|Save]] the file to your project. 
- 
----- 
- 
-<WRAP left>​[[dglux5_wiki:​workspace_and_workflow:​projects_and_files:​export_project|Previous:​ Export a Project]]</​WRAP>​ 
-<WRAP right>​[[dglux5_wiki:​workspace_and_workflow:​projects_and_files:​import_dg5|Next:​ Export and Import a DG5 File]]</​WRAP>​