brendo / scaffolds

A Symphony extension that allows a developer to quickly create Sections from JSON
8 stars 6 forks source link

Using scaffolds in subfolders #10

Open andrewminton opened 11 years ago

andrewminton commented 11 years ago

Currently the JS is looking for the WEBSITE variable in the Symphony object, but it gets returned as undefined if the site is located in a subdirectory..

If I define a variable for 'root' which is linking to Symphony.Context.get('root'); all is restored and well with exporting at least.. haven't tried importing yet.

andrewminton commented 11 years ago

Ok so the above works for output, but importing throws a wobbly stating json is in an invalid format.. will need more digging.