Having a problem with umbraco.library.RenderTemplate
I'm trying to use the "RenderTemplate" function in a macro. I am using the following code.
Important Notes: - I am using v 4.5 w/ <UseLegacyXmlSchema>true</UseLegacyXmlSchema> in umbracoSettings.config - This installation of umbraco is on a subdirectory - 1078 is a page node and 1080 is a template node. - This code worked for me previously. So, it should either be a problem with the 4.5 upgrade or the fact that this is on a subdirectory.
I've come to the conclusion, that I'm pretty sure the issue is related to Umbraco being hosted inside of a sub-directory. It is trying to find default.aspx in the root of the site instead of in umbraco's directory root.
Does anybody know where to change the path to this default.aspx?
Having a problem with umbraco.library.RenderTemplate
I'm trying to use the "RenderTemplate" function in a macro. I am using the following code.
Important Notes:
- I am using v 4.5 w/ <UseLegacyXmlSchema>true</UseLegacyXmlSchema> in umbracoSettings.config
- This installation of umbraco is on a subdirectory
- 1078 is a page node and 1080 is a template node.
- This code worked for me previously. So, it should either be a problem with the 4.5 upgrade or the fact that this is on a subdirectory.
When i place this macro on a template, I get this error where the macro should be.
Does anybody know why this is happening?
Thank you so much!
I've come to the conclusion, that I'm pretty sure the issue is related to Umbraco being hosted inside of a sub-directory. It is trying to find default.aspx in the root of the site instead of in umbraco's directory root.
Does anybody know where to change the path to this default.aspx?
is working on a reply...