I've been browsing for a minute now trying to find a way to create a relative symlink inside a relative symlink, and what I mean by that is this...
I have my CakePHP Templates Skeleton as a symlink inside one of my projects, inside my skeleton, I have a symlink to a plugin outside the skeleton folder, the idea being, I can symlink my CakePHP CMS Skeleton inside my projects, create an "Application" plugin outside the CMS skeleton symlink, and and the skeleton symlink point to my projects "Application" plugin.
By that I mean the following.
I have a CakePHP CMS Skeleton at the following path
/mnt/proj/libs/cakephp/lib/Cake/Console/Templates/skel
The path to my project folder is below
/mnt/proj/mysite.com/
I then symlink the CakePHP CMS Skeleton inside my project folder like so
/mnt/proj/mysite.com/cms-skel -> /mnt/proj/libs/cakephp/lib/Cake/Console/Templates/skel
Inside the skeleton I have a symlink pointing to an Application plugin
/mnt/proj/libs/cakephp/lib/Cake/Console/Templates/skel/Plugin/Application -> ../../Application
So inside the CakePHP CMS symlinked folder in mysite.com folder I have
/mnt/proj/mysite.com/cms-skel/Plugin/Application -> ../../Application
The issue is, that the above symlink points to
/mnt/proj/libs/cakephp/lib/Cake/Console/Templates/Application
And I need it to point to
/mnt/proj/mysite.com/cms-skel/Plugin/Application
Any ideas on how I can do the above with symlinks is greatly appreciate, I am not even sure what to google at this point.