Ticket #1102 (closed defect: fixed)

Opened 13 years ago

Last modified 13 years ago

Problem with "Featured ..." algorithm

Reported by: hans Owned by:
Priority: critical Milestone:
Component: generic Version:
Keywords: Cc:
Time planned: 2h Time remaining:
Time spent:

Description (last modified by hans) (diff)

In some cases featured content and featured tools algorithms will display only two cover images, although there are much more published resources that have cover images.

http://lemill.org/trac/attachment/ticket/1102/featured_content.png?format=raw

http://lemill.org/trac/attachment/ticket/1102/featured_tools.png?format=raw

Attachments

featured_tools.png (75.0 KB) - added by hans 13 years ago.
featured_content.png (47.4 KB) - added by hans 13 years ago.
featured_activities.png (96.2 KB) - added by hans 13 years ago.
featured_activities.2.png (96.2 KB) - added by hans 13 years ago.

Change History

Changed 13 years ago by hans

comment:1 Changed 13 years ago by hans

  • Description modified (diff)
  • Summary changed from Problem with Featured tools algorithm to Problem with featured tools algorithm

comment:2 Changed 13 years ago by hans

  • Description modified (diff)

comment:3 Changed 13 years ago by hans

  • Priority changed from major to critical
  • Description modified (diff)
  • Summary changed from Problem with featured tools algorithm to Problem with "Featured ..." algorithm

Changed 13 years ago by hans

comment:4 Changed 13 years ago by hans

  • Description modified (diff)

comment:5 Changed 13 years ago by pjotr

This one is a strange thing indeed. I have never seen anything like that on my instance.

comment:6 Changed 13 years ago by szabolcs

  • Owner changed from anonymous to szabolcs
  • Status changed from new to assigned
  • Time planned set to 2h

comment:7 Changed 13 years ago by szabolcs

Hans, the next time you see such a page, could you send me the source?

comment:8 Changed 13 years ago by hans

Here is the source. I will post the screenshot in the next comment.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



<html xmlns="http://www.w3.org/1999/xhtml" xml:lang=""
      lang="">

  <head>
    <meta http-equiv="Content-Type"
          content="text/html;charset=utf-8" />

    <title>
        Calibrate Toolbox &mdash;
        Activities
    </title>

    
      
        <base href="http://toolbox.calibrate.eun.org/activities/" />

      
    

    <meta name="generator" content="Plone - http://plone.org" />


    <!-- Plone ECMAScripts -->
    
      
        
            
                <script type="text/javascript"
                        src="http://toolbox.calibrate.eun.org/portal_javascripts/LeMill%20EUN/ploneScripts0075.js">
                </script>
                
            
            
                <script type="text/javascript"
                        src="http://toolbox.calibrate.eun.org/portal_javascripts/LeMill%20EUN/ploneScripts3902.js">
                </script>
                
            
        
    
    

    
	
          
        
            
                
                    
                    
                        <style type="text/css"><!-- @import url(http://toolbox.calibrate.eun.org/portal_css/LeMill%20EUN/ploneStyles0721.css); --></style>
                    
                    
                
            
            
                
                    <link rel="alternate stylesheet"
                          type="text/css" media="screen"
                          href="http://toolbox.calibrate.eun.org/portal_css/LeMill%20EUN/ploneStyles6127.css"
                          title="Small Text" />

                    
                    
                
            
            
                
                    <link rel="alternate stylesheet"
                          type="text/css" media="screen"
                          href="http://toolbox.calibrate.eun.org/portal_css/LeMill%20EUN/ploneStyles0165.css"
                          title="Large Text" />
                    
                    
                
            
            
                
                    
                    
                        <style type="text/css" media="all"><!-- @import url(http://toolbox.calibrate.eun.org/portal_css/LeMill%20EUN/ploneStyles1093.css); --></style>
                    
                    
                
            
        
    
        
        
    

    <!-- Internet Explorer CSS Fixes -->
    <!--[if IE]>
        <style type="text/css" media="all">@import url(http://toolbox.calibrate.eun.org/IEFixes.css);</style>
        <style type="text/css" media="all">@import url(http://toolbox.calibrate.eun.org/IEFixesLeMill.css);</style>
    <![endif]-->

    <link rel="shortcut icon" type="image/x-icon"
          href="http://toolbox.calibrate.eun.org/favicon.ico" />

    <link rel="home" href="http://toolbox.calibrate.eun.org"
          title="Front page" />
    <link rel="search"
          href="http://toolbox.calibrate.eun.org/search_form"
          title="Search this site" />

    <link rel="author"
          href="http://toolbox.calibrate.eun.org/author/Tarmo"
          title="Author information" />
    <link rel="contents"
          href="http://toolbox.calibrate.eun.org/sitemap"
          title="Site Map" />

    

    <link rel="alternate"
          href="http://toolbox.calibrate.eun.org/activities/RSS"
          title="RSS 1.0" type="application/rss+xml" />

    <link rel="up" href="http://toolbox.calibrate.eun.org"
          title="Up one level" />

    

    <!-- Disable IE6 image toolbar -->
    <meta http-equiv="imagetoolbar" content="no" />
    
    

    
	      
	        
	            
	                
	                
	                    
	                
	                
	                
	            
                    
                                                                
	            
	            <link rel="stylesheet" type="text/css"
                   href="ploneColors_activities.css" />

	        
	    
	    

    

      
    
    
    
    


      
      
    

    
      
      
    

  </head>

  <body class="section-activities" dir="ltr">


<table id="tb-language-header" summary="Languages" width="760" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr>
		<td>
		<a href="http://calibrate.eun.org/merlin/"><img src="images/arrow_left.png" alt="" /></a>
		<a href="http://calibrate.eun.org/merlin/">Go to portal</a>

		</td>
                <td align="right">
                <span>
                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=cz&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">cz</a>
                     |
                 </span>
                <span>
                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=de&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">de</a>

                     |
                 </span>
                <span>
                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=en&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">en</a>
                     |
                 </span>
                <span>
                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=et&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">et</a>
                     |
                 </span>

                <span>
                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=hu&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">hu</a>
                     |
                 </span>
                <span>
                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=lt&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">lt</a>
                     |
                 </span>
                <span>

                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=nl&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">nl</a>
                     |
                 </span>
                <span>
                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=pl&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">pl</a>
                     |
                 </span>
                <span>
                    <a href="http://toolbox.calibrate.eun.org/lemill_tool/giveLanguageLink?lang=sl&amp;url=http://toolbox.calibrate.eun.org/activities/lemill_activities_view&amp;param=">sl</a>

                     
                 </span>                                                                                       
		</td>
	</tr>
</table>

<table id="tb-portal-header" summary="Header" width="760" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="200" class="logo"><a
    href="http://toolbox.calibrate.eun.org"><img alt=""
    src="images/toolbox_logo.png" /></a></td>
        <td width="420">
            
    <ul id="tb-portal-globalnav">
        <li id="portaltab-content">

            
            <a href="http://toolbox.calibrate.eun.org/content"
               class="plain">Content</a></li>
	
        <li id="portaltab-activities">
            
            <a href="http://toolbox.calibrate.eun.org/activities"
               class="selected">Activities</a></li>
	
        <li id="portaltab-tools">
            
            <a href="http://toolbox.calibrate.eun.org/tools"
               class="plain">Tools</a></li>
	
        <li id="portaltab-community">
            
            <a href="http://toolbox.calibrate.eun.org/community"
               class="plain">Community</a></li>

	
    </ul>

        </td>
        <td width="140" align="right" valign="middle">
        
                     <div id="tb-portal-searchbox">
    <script type="text/javascript">
        function search_redirect () {
            if (document.searchform.SearchableText.value == "") {
                document.searchform.action = "lemill_search_form";
                document.searchform.submit();
            } else
                document.searchform.submit();
        }
    </script>

    <form name="searchform"
          action="http://toolbox.calibrate.eun.org/lemill_search_results"
          style="white-space:nowrap"
          onsubmit="return liveSearchSubmit()">

        <label for="searchGadget" class="hiddenStructure">Search Site</label>

        <div class="LSBox">
       <input id="searchGadget" name="SearchableText"
              type="text" size="7" title="Search Site"
              accesskey="4" class="searchbox" />
	               
                       <button class="searchbutton" onclick="search_redirect();"><img
    src="images/search.png" class="smallicon" alt="Search" /></button>

        <div class="LSResult" id="LSResult" style=""><div class="LSShadow" id="LSShadow"></div></div>
        </div>
    </form>

</div>
        </td>

    </tr>
</table>

<table summary="Personal toolbar" width="760" border="0" align="center" cellpadding="0" cellspacing="0" id="personal-bar">
    <tr>
        <td>
        

<ul id="tb-portal-personaltools">
    
    
    
    <li>
            <a href="http://toolbox.calibrate.eun.org/login_form">
               Log in
            </a>

        </li>
    

</ul>

        </td>
    </tr>
</table>

<table id="tb-portal-columns" summary="Main content" width="760" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        
        <td id="tb-portal-column-one" width="210"
            valign="top">
                
                    

    
        

        
            
        

        

        
    
    
        

        
            
        

        

        
    

                
                &nbsp;

        </td>
        

        
        <td id="tb-portal-column-content" width="550"
            valign="top">

              
                

                    <a name="documentContent"></a>

                    

    



                    

                    <div style="width:100%">

   
   
    <h1>Featured activities</h1>

    <ul class="coverimages">

        <li>
            <div>
              <a href="http://toolbox.calibrate.eun.org/activities/jigsaw-group-work">
                <span class="coverimg"><span></span>
                    <img src="http://toolbox.calibrate.eun.org/activities/jigsaw-group-work/coverImage"
                         style="cursor: pointer;"
                         onclick="document.location='http://toolbox.calibrate.eun.org/activities/jigsaw-group-work'" />
                </span>
                <span class="caption">Jigsaw group work</span>
              </a>

            </div>
        </li>
        <li>
            <div>
              <a href="http://toolbox.calibrate.eun.org/activities/making-mind-maps">
                <span class="coverimg"><span></span>
                    <img src="http://toolbox.calibrate.eun.org/activities/making-mind-maps/coverImage"
                         style="cursor: pointer;"
                         onclick="document.location='http://toolbox.calibrate.eun.org/activities/making-mind-maps'" />
                </span>
                <span class="caption">Making mind-maps</span>

              </a>
            </div>
        </li>
        <li>
            <div>
              <a href="http://toolbox.calibrate.eun.org/activities/making-concept-maps-1">
                <span class="coverimg"><span></span>
                    <img src="http://toolbox.calibrate.eun.org/activities/making-concept-maps-1/coverImage"
                         style="cursor: pointer;"
                         onclick="document.location='http://toolbox.calibrate.eun.org/activities/making-concept-maps-1'" />
                </span>

                <span class="caption">Making concept maps</span>
              </a>
            </div>
        </li>
    </ul>

   

    <h1>Browse activities</h1>
    
    <ul>

        <li>
            <a href="activities">by title</a>
        </li>

        <li>
            <a href="tags">by tags</a>:
            <span>
                <a href="tags?getTags=visualization">visualization</a>,
            </span>

            <span>
                <a href="tags?getTags=group%20work">group work</a>,
            </span>
            <span>
                <a href="tags?getTags=diagram">diagram</a>,
            </span>
            <a href="tags">...</a>
        </li>

        <li>
            <a href="language">by language</a>:
            <span>
                <a href="language?Language=en">English</a>,
            </span>
            <a href="language">...</a>
        </li>
    </ul>

</div>

                    
                      <div class="discussion">
    
        

            
            


        
    
</div>
                    

                
              

        </td>
    </tr>
</table>

</body>
</html>

Changed 13 years ago by hans

Changed 13 years ago by hans

comment:9 Changed 13 years ago by hans

Screenshot of the page. Source code is two comments above... I think that I have got these defects only with Firefox 2, not with Safari.

http://lemill.org/trac/attachment/ticket/1102/featured_activities.2.png?format=raw

comment:10 Changed 13 years ago by pjotr

I've got Firefox 2.0.0.1 at home, so I have tried to take a look at this one.

Everything seems to be working fine for me.

Might this be a problem of Firefox 2 on MAC?

From the looks of the code - the third block should just be there.

comment:11 Changed 13 years ago by szabolcs

  • Owner szabolcs deleted
  • Status changed from assigned to new

comment:12 Changed 13 years ago by jukka

  • Status changed from new to closed
  • Resolution set to fixed

All three objects are there in the source code, only thing between source html and displayed view is css. As css has been greatly simplified by fixing #1071, I'm pretty sure this problem is solved.

Note: See TracTickets for help on using tickets.