Sitecore IFrame displays Page Editor ribbon

孤人 提交于 2019-12-11 19:12:43

问题


I am working on integrating an iframe to a Sitecore template. I have created the ASPX page and added that to the iframe in Sitecore template. (e.g. /sitecore/content/Custom Editors/SampleIFrameEditor)

It works fine, I can see my ASPX page gets rendered in the iframe control. Only issue is that it shows the "Page Editor" ribbon control on top (Home Advanced Expereience...), which I do not need to be displayed. (It's like I opened it up in Page Editor.)

How can I hide "Page Editor" options from this scenario?


回答1:


You could add ?sc_mode=normal as a query string to your iframe src URL.



来源:https://stackoverflow.com/questions/13837537/sitecore-iframe-displays-page-editor-ribbon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!