activate director tree and manager mode
-
Hi,
Sorry to bother but im a newbie in wordpress.
I’m using fileaway with woffice theme and i have trouble to activate the manager mode so i can delete and edit file in the frontend like on the link picture :
– https://ps.w.org/file-away/assets/screenshot-06.jpg?rev=999654
Woffice theme support taught me to add this code to my theme child functions.php file :
function woffice_projects_fileway_manager($post_slug) {
$sub_name = “projects_” . $post_slug;
/* We output the directory */
echo do_shortcode(‘[fileaway base=”1″ makedir=”true” sub=”‘ . $sub_name . ‘” type=”table” directories=”true” paginate=”false” makedir=”true” flightbox=”images” bulkdownload=”on”]’);/* We output the file uploader */
echo do_shortcode(‘[fileup base=”1″ makedir=”true” sub=”‘ . $sub_name . ‘”]’);}
after checking fileway documentations i finally came out with taht code added to my functions.php file :
function woffice_projects_fileway_manager($post_slug) {
$sub_name = “projects_” . $post_slug;
/* We output the directory */
echo do_shortcode(‘[fileaway base=”1″ manager=”on” makedir=”true” sub=”‘ . $sub_name . ‘” type=”table” directories=”true” paginate=”false” makedir=”true” flightbox=”images” bulkdownload=”on”]’);/* We output the file uploader */
echo do_shortcode(‘[fileup base=”1″ makedir=”true” sub=”‘ . $sub_name . ‘”]’);}
But nothing happened… so my question so what did I miss ?
Can you explain me precisely the steps to follow to activate manager mode or director tree mode so i can manage my file and sub directories from the frontend ?
thx
- The topic ‘activate director tree and manager mode’ is closed to new replies.