Partial Views macro not loading with Public Access settings enabled
I created my site using umbraco 7.214 mvc. I created a base page and a home page and 5 sub topic and sever pages under each topic. I created a MainNavigationcshtml.cshtml scripting file and partial view to load the slider slides from the medial folder, add the macros and all is working fine.
Then I set up my login page and set the public access settings to allow allow member group to have access to the site. the login works fine, but the home page both the Umbraco.RenderMacro stopped working. I am assuming that the this may be conflict with .net sercurity. I looked at the webconfig in botth the root and the views, and macroscript folder and did not see anything a miss. If I remove public access settings all works fine,
There should normally be no conflict with the macros and public settings, although I'd need to know more about your tree and what you're protecting. Are you able to paste in a screenshot of your content tree, and the error (if any) you're encountering?
Partial Views macro not loading with Public Access settings enabled
I created my site using umbraco 7.214 mvc. I created a base page and a home page and 5 sub topic and sever pages under each topic. I created a MainNavigationcshtml.cshtml scripting file and partial view to load the slider slides from the medial folder, add the macros and all is working fine.
Then I set up my login page and set the public access settings to allow allow member group to have access to the site. the login works fine, but the home page both the Umbraco.RenderMacro stopped working. I am assuming that the this may be conflict with .net sercurity. I looked at the webconfig in botth the root and the views, and macroscript folder and did not see anything a miss. If I remove public access settings all works fine,
<div id="homeScreen" class="row">
<div id="sliderWrap" class="row">
<div class="royalSlider rsDefault">
@Umbraco.RenderMacro("BannerSlides")
</div>
</div><!--end sldier wrap-->
<div class="navWrapper" class="row">
<div class="navBGWrap">
<div id="button1BG" class="buttonbg current">
<img src="images/current-arrow.png" alt="current" class="currentArrow" />
<div class="box"></div>
</div>
<div id="button2BG" class="buttonbg"><div class="box"></div></div>
<div id="button3BG" class="buttonbg"><div class="box"></div></div>
<div id="button4BG" class="buttonbg"><div class="box"></div></div>
<div id="button5BG" class="buttonbg last"><div class="box"></div></div>
</div><!--navBGWrap-->
<div class="mainNavWrap">
@Umbraco.RenderMacro("MainNavigationcshtml")
</div><!--mainNavWrap-->
</div><!--end nav wrapper-->
</div><!--end home screen-->
Hi Roger,
There should normally be no conflict with the macros and public settings, although I'd need to know more about your tree and what you're protecting. Are you able to paste in a screenshot of your content tree, and the error (if any) you're encountering?
- Rob.
is working on a reply...