Deploying a 'read-only' site separate from Umbraco admin backend
Hi Everyone,
I'm not sure if this is the right place to post this.
I am new to Umbraco, but I'm keen to use it in our company. I have been trawling around these forums and the internet for some time to find an answer to this, but so far no luck. I apologise if I have missed the solution!
We have an existing .net site that I would like to modify to present Umbraco-stored content. First of all, what is the best way to integrate Umbraco content retrieval into an existing site? I don't really want to 'import' the site into Umbraco because the Umbraco admin backend (content management) needs to be hosted on a separate machine.
From what I have read, I think this would be possible if some content retrieval libraries were included in our site that will enable the use of <umbraco:> content tags in our master page templates. The problem is, I don't know how to do this. I stumbled across a post of a user that tried this some time ago with Umbraco 3.something, who talked about including cms.dll, businesslogic.dll, etc into the existing app to enable Umbraco content retrieval. Is there a definitive guide on how to do this for Umbraco 4?
I realise this may effect caching, but I read somewhere that simply copying some xml file(?) to the existing site will solve this.
To include the dll's in your own app, you just need to add those references in your visual studio (if you don't know how to do this, then you can just do a google search on adding references in your particular version of VS), then you can begin to use the classes and methods from those dlls.
To find what methods you want, you could take a look at the API docs:
I would take look at umbraco.cms.businessLogic. That has the Content class.
If you figure out how to do it with the use of <umbraco:> content tags in our master page templates, that would be interesting.
Another option is that the whole published umbraco site will be in /data/umbraco.config as an xml file, so you could just parse that in order to find what you want.
Deploying a 'read-only' site separate from Umbraco admin backend
Hi Everyone,
I'm not sure if this is the right place to post this.
I am new to Umbraco, but I'm keen to use it in our company. I have been trawling around these forums and the internet for some time to find an answer to this, but so far no luck. I apologise if I have missed the solution!
We have an existing .net site that I would like to modify to present Umbraco-stored content. First of all, what is the best way to integrate Umbraco content retrieval into an existing site? I don't really want to 'import' the site into Umbraco because the Umbraco admin backend (content management) needs to be hosted on a separate machine.
From what I have read, I think this would be possible if some content retrieval libraries were included in our site that will enable the use of <umbraco:> content tags in our master page templates. The problem is, I don't know how to do this. I stumbled across a post of a user that tried this some time ago with Umbraco 3.something, who talked about including cms.dll, businesslogic.dll, etc into the existing app to enable Umbraco content retrieval. Is there a definitive guide on how to do this for Umbraco 4?
I realise this may effect caching, but I read somewhere that simply copying some xml file(?) to the existing site will solve this.
Any help would be greatly appreciated!
Thanks,
Dan
This is a post on the old forum, which is something like what I am after.
http://forum.umbraco.org/yaf_postst9827_Loading-Umbracomanaged-content-in-an-external-NET-site.aspx
Thanks,
Dan
To include the dll's in your own app, you just need to add those references in your visual studio (if you don't know how to do this, then you can just do a google search on adding references in your particular version of VS), then you can begin to use the classes and methods from those dlls.
To find what methods you want, you could take a look at the API docs:
http://umbraco.org/apiDocs/index.html
I would take look at umbraco.cms.businessLogic. That has the Content class.
If you figure out how to do it with the use of <umbraco:> content tags in our master page templates, that would be interesting.
Another option is that the whole published umbraco site will be in /data/umbraco.config as an xml file, so you could just parse that in order to find what you want.
Hi,
Thanks for the reply, I'll give it a go and report back.
One thing - do you know which of the httpHandles deals with parsing the <umbraco:> tag? Or how else is it done?
Thanks,
Dan
I am not sure about the httpHandle but here is another forum thread about this exact topic: http://our.umbraco.org/forum/developers/extending-umbraco/6674-Pulling-data-from-Umbraco-database---how-easy?p=1.
It seems they take the XML approach.
is working on a reply...