cancel
Showing results for 
Search instead for 
Did you mean: 

Add a folder in the website generation folder

SOLVED
MEGA Partner

Add a folder in the website generation folder

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

3 REPLIES
MEGA

Re: Add a folder in the website generation folder

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
MEGA Partner

Re: Add a folder in the website generation folder

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

MEGA

Re: Add a folder in the website generation folder

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