cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add a folder in the website generation folder

ymlesaux
Super Contributor

Hello,

 

I have to add a new folder in the folder of the generated website. I know that's possible but I couldn't find how in the documentation.

How can I do that?

thanks

LE SAUX Yves-Marie
3 Replies

Hello

 

There is not standard feature to created a new subfolder.

You can only control the names of the existing folders using options.

Options.PNG

Creating a new subfolder cannot be configured using options

 

You can 

  • Create a folder manually before generation
  • Code a custom macro that creates this subfolder (via windows API and objet FileSystem). It should be trigger before web site generation

Once it is created, you can copy files druring generation from folder Mega_usr to the standard file folder using a specific tag [Variable=StdFile]. See KB 00002089 http://community.mega.com/t5/custom/page/page-id/mega-kb-solution?sid=50120000000mqtHAAQ

 

Jerome

ymlesaux
Super Contributor

The number2 : a new subfolder automatically created with the website generation

LE SAUX Yves-Marie

jhorber
MEGA
MEGA

Hello

 

You do you mean exactly 

1) A new generation folder for a web site?

Ex:  generation folder for static page website1 is path1

2) A new subfolder in the structure of the web pages next to folder 'images', 'pages', 'standard'?

web.PNG

 

 

 

 

Jerome