Project Disk

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113
I guess there should be good feature to implement like {-Project.Disk-}
Meaning if i add project disk at the beginning then i can control more folders where is my project... Cos if i want to add my project in seperate folder and data information is one folder back then there is not possible to show in zenno where is data folder.
Except full path...

Maybe there is some other suggestions how to indicate that data is one folder back...

I hope you get what i mean...
 
  • Спасибо
Реакции: Kepperbes и Boxcutter

Boxcutter

Client
Регистрация
08.06.2012
Сообщения
127
Благодарностей
72
Баллы
28
I get what you mean and it's a problem I have ran into as well.

Let's say you have 2 folders:

Resources (containing universal resource files)
Templates (containing all your templates)

If you want to use the data from the resource folder in anyone of the
templates you are forced to use the full real path to the resources folder
because there is no variable to go back a folder from the project directory
where your templates are now located.

Basically at the moment all your templates have to be on the same level as
all your resource folders etc so you can use the project directory across all
your templates.

Not very flexible at all if you want to categorize templates etc and need to pull
data from a folder a level up from them and when you move your folder system around
it will mess up file paths etc because the file paths aren't working with variables.

I'm not sure if {-Project.Disk-} would be the best solution though because it goes so far
back to something like C: and you will still need to add all the folders that lead to your
data from there.

Maybe the ability to do something like: Resources{-Project.Directory-} and ZP would know
you want to access data in the resources folder a level up from the project directory would work
far better.
 
  • Спасибо
Реакции: Kepperbes и lokiys

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113

gemini

Client
Регистрация
10.03.2011
Сообщения
160
Благодарностей
31
Баллы
28
Why don't you use relatives paths?
"{-Project.Directory-}..\" - gives you folder above current folder.
 
  • Спасибо
Реакции: Boxcutter и lokiys

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 183
Баллы
113

gemini

Client
Регистрация
10.03.2011
Сообщения
160
Благодарностей
31
Баллы
28

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)