I am using the template from Twink (4) and it is awesome. The only problem I am having is whenever I goto sort on something, say the Title, I click on the Title bar and it sorts correctly but changes the name from Title to null, if I click it again it sorts it the other way but the bar still says null. This happens when I try to sort from any field. 
I have not changed the script at all.
Any help would be great.
Scott
			
			
									
						
										
						Twink Template #4
- 
				Guest
 
Hi there...
I have solved the same problem with on small change in the movies.js
-- FIND --
-- CHANGE TO --
as you can see it is only the word "inner" that is to be put in in front of  "text"
/
regards
LS
			
			
									
						
										
						I have solved the same problem with on small change in the movies.js
-- FIND --
Code: Select all
//SORT FUNCTIONS
  //Hides the sort triangle
  function hideSort(){
   if(lastSortedBy!=null){
     var HTML = "<div class = 'boxbordercontent'><div class = 'boxcontent'><b> ";
     HTML += lastSortedBy.text;
     HTML += "</b> </div></div>";
     lastSortedBy.innerHTML = HTML;
   }
  }
  //Displays the sort triangle
  function showSort(column){
   var HTML = "<div class = 'boxbordercontent'><div class = 'boxcontent'><b> ";
   HTML += column.text;
   HTML += " <img src='pics//"+(sortAsc!=true?"down":"up")+".png' width='8' height='8'>";
   HTML += "</b> </div></div>";
   column.innerHTML = HTML;
  }
Code: Select all
//SORT FUNCTIONS
  //Hides the sort triangle
  function hideSort(){
   if(lastSortedBy!=null){
     var HTML = "<div class = 'boxbordercontent'><div class = 'boxcontent'><b> ";
     HTML += lastSortedBy.innertext;
     HTML += "</b> </div></div>";
     lastSortedBy.innerHTML = HTML;
   }
  }
  //Displays the sort triangle
  function showSort(column){
   var HTML = "<div class = 'boxbordercontent'><div class = 'boxcontent'><b> ";
   HTML += column.innertext;
   HTML += " <img src='pics//"+(sortAsc!=true?"down":"up")+".png' width='8' height='8'>";
   HTML += "</b> </div></div>";
   column.innerHTML = HTML;
  }/
regards
LS