Integrating existing masterpage with Sitefinity 4.0
Hi,
I have a custom masterpage, with a lot of graphics and one or two contentplaceholders. When I upload this to sitefiniy and preview it, the preview does not show the graphics. At most, just the links are displayed.
This begs the question, how can I integrate an existing masterpage to correctly work with Sitefinity 4.0?
Thanks
This documentation is pretty good a stepping you through the basics:
www.sitefinity.com/.../How-to-create-a-website-template.aspx
For the images I usually find my problem lies in making sure I have the correct path.
Use the Firebug Net tab. Are the HTTP requests for the graphics getting sent? Are there any errors? Can you confirm that the IMG tags are getting rendered in the HTML? Are the paths correct [test them in the web address bar]?
Speaking generally, if the Master Page references an image then it should work fine if the path is correct.
Your post doesn't really have enough details to suggest an answer.
Gabe Sumner
Telerik | Sitefinity CMS
I am having the same issue. I just copied the old mast page in 3.7 and dropped it into the App_Master folder in my 4.0 instance. The images are in a file in my App_Themes, again just copied and pasted over. I am using the same path to reference the image as before. Example:
<div id="left-shadow"><img src="App_Themes/Blackbarn/images/dropshadow-left.jpg" /></div>
Is this different in 4.0?
Hello Kelly,
You should put the files inside App_Data/Sitefinity/WebsiteTempaltes/App_Themes folder
If you use html control - img the src should start with /Sitefinity. For server controls use ~/App_Data. Please take a look at
Hello bemara57,
There are future plans to make Sitefinity integration (synchronization) with MarketPlace, so you can upload or download some data directly. This is why we suggest using the App_Data/Sitefinity/WebsiteTempaltes/. When your templates and themes are inside App_Data we allow you to dynamically control these files from Sitefinity's UI. App_Master folder was introduced by us in the older versions of Sitefinity - 3.x.
Kind regards,
Ivan Dimitrov
the Telerik team
@bemara57
I was skeptical initially, but I gotta say, having EVERYTHING live under a single folder is pretty awesome. I had a problem where I had to blow away the entire site and start again (twice actually), and all I needed to do was copy over the theme into App_Data (and updated the config) and I was up and running again.
The only thing I hate is having to navigate down the tree EVERY time in the backend files area