OK - I've never done multiple sites before and am fairly new to
umbraco... but I've managed to get the domain part working - (I think),
but the xslt files are producing errors.
What I did was set up the
multiple sites via the wikiarticle, created a new document type &
template for the new site. Then I copied the old site template into the
new site template, changed the css so I could see differences - which
worked - then added new content - which worked.
My content/template/doctype setup up is one with a master page and child template (so on the master template I have a asp:ContentPlaceHolder - is that correct? I was trying to kep it all tidy in the admin.
But the xslt files are giving the error.
It
looks like the css, media, js and other directories are being read, but
the xslt one isn't - which is why the error is occuring. I added
?umbdebugshowtrace=true to the end of the url, but there were no red
errors...
Which makes me think there is something I need to add to
the xslt file to make it usable on multiple installs... but what that
is, I don't know
Your xslt error in the footer.xslt is more than likely due to some incorrect logic, if you can post your content structure and the footer.xslt file I'm sure we can solve it.
Multiple sites - Error Parsing xslt files
OK - I've never done multiple sites before and am fairly new to umbraco... but I've managed to get the domain part working - (I think), but the xslt files are producing errors.
What I did was set up the multiple sites via the wikiarticle, created a new document type & template for the new site. Then I copied the old site template into the new site template, changed the css so I could see differences - which worked - then added new content - which worked.
My content/template/doctype setup up is one with a master page and child template (so on the master template I have a asp:ContentPlaceHolder - is that correct? I was trying to kep it all tidy in the admin.
But the xslt files are giving the error.
It looks like the css, media, js and other directories are being read, but the xslt one isn't - which is why the error is occuring. I added ?umbdebugshowtrace=true to the end of the url, but there were no red errors...
Which makes me think there is something I need to add to the xslt file to make it usable on multiple installs... but what that is, I don't know
Any ideas?
Hi,
You don't need to add anything to the xslt file to make it 'work' for a multiple install.
What is the error you are getting? It would be helpful if you could post your xslt and an image of your content structure.
Rich
Thanks Rich :)
The xslt error is: Error parsing XSLT file: \xslt\Footer.xslt
My content structure is:
My Document Type is for site 1:
Master -- homepage
My Document Type is for site 1:
Simpa -- homepage
Templates the same..
The way I got multiple sites to work you can find in the last post here:
I am only testing on the home page at the moment.
Is that what you were after?
Hi,
Can't see that image for some reason.
Your xslt error in the footer.xslt is more than likely due to some incorrect logic, if you can post your content structure and the footer.xslt file I'm sure we can solve it.
Rich
Yes - I messed that up :)
2 secs
See Below - sorry :)
Bugger - thats not working... sorry - just seend the code section :)
is working on a reply...