<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    Hi Simone. <br>
    <br>
    As you say I need to figure out if there's any interfering template
    or app causing the problem. in the meanwhile i remove the
    {{CLIENT_RESULTS_LIMIT}} template tag from search_scripts.html in
    "production server" and substitute with a numeric value. Not doing
    so makes javascript break (not default value is provided) <br>
    <br>
    I will let you know if i find out the cause of the problem.<br>
    <br>
    Thanks!<br>
    <br>
    Jesús<br>
    <br>
    <div class="moz-cite-prefix">On 05/04/2015 12:38 AM, Simone Dalmasso
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAHAC+foxSfN_QAS6TKsnfD3VfbNVhgv77KLp35mCBP5p_DRwg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Jesus, I cannot replicate this.
        <div>The <span style="font-size:12.8000001907349px">CLIENT_RESULTS_LIMIT
            is defined in the settings as you said but also is passed
            from the context_processor to the client see <a
              moz-do-not-send="true"
href="https://github.com/GeoNode/geonode/blob/master/geonode/context_processors.py#L62">https://github.com/GeoNode/geonode/blob/master/geonode/context_processors.py#L62</a> that
            defaults it to 10 if not found in settings. And is used
            here <a moz-do-not-send="true"
href="https://github.com/GeoNode/geonode/blob/master/geonode/templates/search/search_scripts.html#L26">https://github.com/GeoNode/geonode/blob/master/geonode/templates/search/search_scripts.html#L26</a>.</span></div>
        <div><span style="font-size:12.8000001907349px">All this is done
            server side so it should not be a javascript error. Did you
            by the way changed in the template? Seems that the server is
            not interpreting the </span><span
            style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre;background-color:rgb(248,238,199)">{{
            CLIENT_RESULTS_LIMIT }} </span><span
style="font-size:12px;line-height:16.7999992370605px;white-space:pre;background-color:rgb(255,255,255)"><font
              color="#000000" face="arial, helvetica, sans-serif"> and
              this could be caused by the presence of a {% verbatim %}
              block around it.</font></span></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-05-03 20:21 GMT+02:00 Jesus <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:gesusjl@gmail.com" target="_blank">gesusjl@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
            <br>
            Layers and maps not appear in geonode 2.4 dev.. firebug
            console raise an javascript error<br>
            <br>
            SyntaxError: expected expression, got ';'<br>
            <br>
            CLIENT_RESULTS_LIMIT = ;<br>
            <br>
            <br>
            I tried uploading local_settings.py with<br>
            <br>
            CLIENT_RESULTS_LIMIT = 100<br>
            <br>
            but no result. Maybe a javascript bug or something else to
            check around?<br>
            <br>
            No apache errors<br>
            <br>
            Thank you,<br>
            <br>
            Jesús<br>
            <br>
            _______________________________________________<br>
            geonode-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:geonode-users@lists.osgeo.org"
              target="_blank">geonode-users@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users"
              target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">Simone </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>