You know you can use sub=”Whatever/Sub/You/Want” in both [fileaway] and [fileup] shortcodes, right?
So if base1 is ‘wp-content/uploads’
Then [fileaway base=1 sub=”fileaway/mp3s”]
equals wp-content/uploads/fileaway/mp3s
And so on.
You really only _need_ to have one base directory (your site root). Is there a reason you’d need more than five?
Thread Starter
Futuresweb
(@webmasterfutureswebcom)
Ahh cool,I will try that. I guess what would be more convenient is what you mentioned here, however we would need the option of having more base directories??:
I can make it an option to have the destination directory be fixed and thus remove the dropdown. I would also, in that case, probably need to remove the ability to create subdirectories when renaming files. (You’ll notice, before upload, if you rename: “filename” to “new sub 1/new sub 2/filename”, it will create those two subdirectories. Users cannot use “..” though to try to get above the parent directory.
You don’t need more base directories. The fixed directory in a fileup shortcode will be your base+sub attributes combined from your shortcode.
Thread Starter
Futuresweb
(@webmasterfutureswebcom)
You should really use the shortcode generator, if you’re not. Each attribute has an info icon next to it; if you click on it, it will explain how everything works and interacts.
Thread Starter
Futuresweb
(@webmasterfutureswebcom)
i just changed it to a table and works great! Thanks
It’s on your TinyMCE toolbar under the Visual tab.
Thread Starter
Futuresweb
(@webmasterfutureswebcom)