Respondida Page layout content only showing to logged in users

  • lunes, 30 de abril de 2012 9:46
     
     

    Hi,

    I have a site with anonymous access it has several page layouts and associated content types.

    One of the page layouts has an issue where the content written into the page layotus fields is not showing to AA users. This information must be being correctly stored into the content type/column as the information shows fine for logged in users.

    The page is correctly checked in and published etc

    below is an example copied from the renderd page source:

    Loggedin:

    <p class="Title">Accommodation</p>
            <div class="CHTextArea">
                <div dir="">Accom Page Test</div>
            </div>

    AA:

          <p class="Title">Accommodation</p>
            <div class="CHTextArea">
                <div dir=""></div>&#160;
            </div>

    im unsure where the dir="" and &#160 come from...

Todas las respuestas

  • lunes, 30 de abril de 2012 12:36
     
     Respondida

    Hi wez1978, Can you show us also the source of your page layout? Are you using a SPSecurityTrimmed control?

    Cheers
    Riccardo


    Italian SharePoint Community - My blog - My profile

  • jueves, 03 de mayo de 2012 9:20
     
     Respondida
    Another source of troubles could be anonymous caching being active, and serving your AA user an older version of the content.  Check that as well.

    jliu - http://johnliu.net - http://sharepointgurus.net

  • martes, 08 de mayo de 2012 13:21
     
     

    Thanks for your answers this issue was due to the server having an out of date version of the Content Type.

    The content type was missing a field that was used in the page layout this issue occured whether this field contained data or not.

    I dont understand why this led to the page layout working correclty for logged in but not AA but adding the field to the content type was the solution.