This is an auto-generated support/comment thread for
SuperPage.
Use this forum to post any comments about this addition or any questions you have regarding its use.
Brief Description:
Create 30 documents whith basic info
Yes, indeed...
I just downloaded the code... There’s no documentation whatsoever, no indication of parameters or configuration, nothing. I’d think twice before pasting something into my set of plugins...
I’m sure it’s usefull for something, but I’m not sure that it should be in the repository, certainly not as it is now.
-
☆ A M B ☆
- 24,524 Posts
For one thing, it’s not a plugin, it’s a module.
I added a bit to it; on line 85, in the loop that actually generates the documents, I changed the 30 to a variable, $howMany, then on the first line I added
$howMany = isset($howMany) ? $howMany : 10;
Now in the module’s Configuration, I put
-
☆ A M B ☆
- 24,524 Posts
Basically, it gives you fields to input the names for as many documents as you want, then other page settings. It only creates pages that you give it names for; if you fill out 2 fields or 300 fields it will create that many pages. Don’t forget to refresh the document tree manually; this doesn’t do it automatically.
Thanks for the explanation Susan, I often have trouble understanding Javier’s extension I admit, which is a pity since some are really interresting...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
sorry i dont recive information about this coments in my plugin its realy like scottwell says
and i made for create the site tree of a new website in a little cliks, i think is very usefoul and for me go well for give to my clients a menu whith all the site tree in a very less work than create one by one.
i change the repository to give the name of module and give a short description.
hi
A little tip
you dont need create 30 documents could be only 5 or 19 or 23 ....
only take blank the pages dont need
updated in the repository whith susan changes, thanks
-
☆ A M B ☆
- 24,524 Posts
I’m working on a mod that lets you click on the document tree to set the parent. So far it sets the parent, but also triggers the javascript error message. I hate javascript.