Greeting EPi-gurus!
I'm trying to figure out how to get Content Provider to work.
I have to different EPi-sites, with two different databases and I have access to both of them.Let's differentiate the two sites by giving them the nicknames "Provider" and "Receiver".
The Provider has got a few pages based on the Page "ContactPage".I want to be able to read these pages in the Receiver by using ContentProvider.
All of the instructions I found on the web are either outdated and only work CMS Versions below 7.
I understand the following:
1. I have to create the same PageType in the Receiver site as in the Provider site.
2. I have to enter the contentProvider in the webconfig for Receiver with an entry point.
Something like this...
<contentProvider> <providers> <add name="ContentProvider" type="SolutionName.ProviderCladd, SolutionName" entryPoint="271"/> </providers></contentProvider>
3. Add a new connectionstring to access the Provider Database.
4. Create a class which inherits ContentProvider which reads the data from the Providers Database and maps it correctly according to the PageType created in step 1.
I have no idea on how to to the last step and can't find any instructions on this matter.
Please help or point me in the right direction / a link to a guide on how to approach the subject.
Regards,
Chris