We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39355
    • 26 Posts
    Im getting a locked up/not responding/el crasho Internet Explorer with my getPage call. It works fine with Safari and Firefox however. Maybe Im using it wrong. I have it calling 3 blog entries and I have this placed in a template:
    [[!getPage?
       &elementClass=`modSnippet`
       &element=`getResources`
       &showHidden=`1`
       &parents=`3`
       &depth=`2`
       &limit=`3`
       &pageVarKey=`page`
       &processTVs=`1`
       &includeTVs=`1`
       &includeContent=`1`
       &tpl=`recent_right`
    ]]


    my recent_right just has typical pagetitle type stuff

    Ive tried cached, uncached, upside down, right side up, inside out,





    [ed. note: jmanson last edited this post 14 years, 6 months ago.]
      • 32316
      • 387 Posts
      the getPage cal runs on your server and produces html - so it not the call that is at fault but the html produced that is the problem and therefore likely to be the fault of the 'html bits' i.e. the recent_right template or maybe a TV that produces some html.

      Is the html valid - I seem to be noticing that later versions of IE are not as forgiving of incorrect html as Safari or Firefox (this is not a bad thing IMHO) so missing a closing tag, or incorrectly nested tags or...

      posting recent_right, or a link to the site might help someone to help you if my suggestions do not help.
        • 39355
        • 26 Posts
        thanks whistlemaker for replying. Here is my recent_right:

                        	<li>
                            	<div class="recntpst">
                                	<div class="rthumb">
                                    	<a href="[[~[[+id]]]]"><img src="assets/templates/jm/images/cmnticon.png" alt="" /></a>
                                    </div>
                                	<div class="rdes">
                                    	<p>
                                        	<span class="left"><a class="white" href="[[~[[+id]]]]"><strong>[[+pagetitle]]</strong>
                                        </p>
                                        <p>
                                        	<span class="colr3 left">Posted By: <a href="#"><strong class="mclor"><u>[[+createdby:userinfo=`username`]]</u></strong></a></span>  
                                            <span class="colr4 right">[[+publishedon:strtotime:date=`%b/%d/%Y`]]</span>
                                        </p>
                                    </div>
                              </div>
                                <div class="tag">
                                	<ul>
        
                                        <li class="moreinfo">
                                        	<a href="[[~[[+id]]]]">:: Moreinfo</a>
                                        </li>
                                    </ul>
                                </div>
                            	
                            </li>



        Thanks for taking the time to help me

        Happy Easter
          • 39355
          • 26 Posts
          by the way, its only explorer that locks up/crashes. firefox and safari seems to be ok

            • 32316
            • 387 Posts
            line 8 - you are missing closing tags: a </a> and a </span>

            Also I would not use <u> tags - they are deprecated, I would underline things using css. They should not cause IE to choke though, the unclosed link and span tags might give IE a problem (they should give Safari and Firefox problems really)