Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-rest-fs-openacs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-rest-fs-openacs
Commits
c63c3825
Commit
c63c3825
authored
Jan 09, 2019
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Now registering content types for new folders
parent
0947edaa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
intranet-rest-fs-openacs-procs.tcl
tcl/intranet-rest-fs-openacs-procs.tcl
+3
-3
mkdir.tcl
www/mkdir.tcl
+7
-2
No files found.
tcl/intranet-rest-fs-openacs-procs.tcl
View file @
c63c3825
www/mkdir.tcl
View file @
c63c3825
...
...
@@ -32,13 +32,18 @@ if {"" eq $parent_id} {
ad_script_abort
}
fs::new_folder
\
set
folder_id
[
fs::new_folder
\
-name
$folder
_name
\
-pretty_name
$folder
_name
\
-parent_id
$parent
_id
\
-creation_user
$user
_id
\
-creation_ip
[
ad_conn peeraddr
]
\
-package_id
$package
_id
-package_id
$package
_id
\
]
db_string reg
"select content_folder__register_content_type(:folder_id, 'content_folder', true)"
db_string reg
"select content_folder__register_content_type(:folder_id, 'file_storage_object', true)"
db_string reg
"select content_folder__register_content_type(:folder_id, 'content_extlink', true)"
doc_return 200
"text/plain"
"project_id=
$project
_id, path=
$path
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment