Closed (outdated)
Project:
Shell
Version:
7.x-1.0-beta5
Component:
Code
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2012 at 09:37 UTC
Updated:
21 Jan 2018 at 10:54 UTC
Jump to comment: Most recent
Comments
Comment #1
richardp commentedSorry, no, that isn't possible right now, but I will keep it in mind for the next release.
Thanks,
Richard
Comment #2
andrés chandía commentedThanks for your quick answer,
so it is possible then, to have in the same code or make a script that send the user to a defined directory once the shell is opened?
Thanks again
Comment #3
richardp commentedSure, I think so. You could probably just enter a "chdir()" command in PHP when it first starts to get to the directory you want. If nothing else, you could send a "cd" command through the shell itself.
Richard
Comment #4
andrés chandía commentedThanks a lot for your answer, but how can you do that (sorry I'm not an expert)?
Comment #5
richardp commentedWell, it would really need to be something that's programmed into the module. You would need an understanding of PHP and Drupal's code framework. As I said in #1, it isn't something that can be easily done at the moment, but I could look at trying to put it in for the next release.
Richard
Comment #6
andrés chandía commented