Column Filtering
-
Hello,
I’ve had a request from my client to try and enable the column filtering option available, for which I downloaded the DataTables Column Filter extension. Having configured it as specified, the feature does not seem to work. I also noticed that features such as search, sorting and pagination do not show up:
http://www.visual-data.com/?page_id=11
In a recent thread, you mentioned in the FAQ section of your site that it’s probably a JavaScript issue. The site was developed using a customized template, however I fear that it was not coded well and the developers are no longer reachable.
I’ve examined the code through the view source option you recommended and tried locating lines with the <script> tags, however I’m not sure which lines need addressing? I’m just worried any changes might affect the gallery slider at the top and the roundabout feature on the home page.
I would be grateful for any suggestions!
Header.php attached:
<!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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Visual Data </title> <link href="<?php bloginfo('template_url');?>/CSS/user-style2.css" type="text/css" rel="stylesheet" /> <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> <link href="<?php bloginfo('template_url');?>/CSS/user-style.css" rel="stylesheet" type="text/css" /> <script src="<?php bloginfo('template_url');?>/js/jquery-1.7.1.min.js" type="text/javascript"></script> <script src="<?php bloginfo('template_url');?>/js/jquery-ui-1.8.16.custom.mins.js" type="text/javascript"></script> <script src="<?php bloginfo('template_url');?>/js/allinone_carousels.js" type="text/javascript"></script> <!--[if IE]><script src="<?php bloginfo('template_url');?>/js/excanvas.compileds.js" type="text/javascript"></script><![endif]--> <!-- must have --> <script src="<?php bloginfo('template_url');?>/js/prototypes.js" type="text/javascript"></script> <script src="<?php bloginfo('template_url');?>/js/scriptaculouss.js" type="text/javascript"></script> <script src="<?php bloginfo('template_url');?>/js/lightboxs.js" type="text/javascript"></script> <!-- must have --> <script type="text/javascript"> function clearText(field){ if (field.defaultValue == field.value) field.value = ''; else if (field.value == '') field.value = field.defaultValue; } </script> <link href='http://fonts.googleapis.com/css?family=Oswald:400,300,700' rel='stylesheet' type='text/css'> <script src="<?php bloginfo('template_url');?>/src/skdslider.js"></script> <link href="<?php bloginfo('template_url');?>/src/skdslider.css" rel="stylesheet"> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery('#demo').skdslider({'delay':5000, 'fadeSpeed': 2000,'showNextPrev':true,'showPlayButton':true,'autoStart':false}); }); </script><link rel="stylesheet" href="<?php bloginfo('template_url');?>/CSS/style.css" media="screen"> <link rel='stylesheet' id='tablepress-default-css' href='http://www.visualdataindustrial.com/wp-content/tablepress-combined.min.css?ver=2' type='text/css' media='all'/> </style> </head> <body> <div id="header-bg"> <div id="header-inner"> <div id="header"> <div class="main-menu"> <?php wp_nav_menu( array( 'theme_location' => 'header_menu','container' => '','menu_id' => '' ,'menu_class' => '' ) ); ?> </div> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("header area") ) : ?><?php endif; ?> </div> </div> <div id="demo" class="skdslider"> <ul> <li> <img src="wp-content/uploads/2013/11/Control-Room.jpg" /> <!--Slider Description example--> <div class="slide-desc"> <h2>Surveillance Solutions</h2> <p>When it comes to surveillance, we've got you covered.</p> </div> </li> <li> <img src="wp-content/uploads/2013/11/University-Campus.jpg" alt="img" /> <!--Slider Description example--> <div class="slide-desc"> <h2>University Surveillance</h2> <p>We provide camera systems for university campuses.</p> </div> </li> <li> <img src="wp-content/uploads/2013/11/Server.jpg" alt="img" /> <!--Slider Description example--> <div class="slide-desc"> <h2>Storage Servers</h2> <p>We offer top-of-the line video storage servers.</p> </div> </li> <li> <img src="wp-content/uploads/2013/11/Camera.jpg" alt="img" /> <!--Slider Description example--> <div class="slide-desc"> <h2>City Wide Surveillance</h2> <p>Demo description here. Demo description here. Demo description here. Demo description here. Demo description here.</p> </div> </li> <li> <img src="wp-content/uploads/2013/11/Shopping-Mall.jpg" alt="img" /> <!--Slider Description example--> <div class="slide-desc"> <h2>Retail Settings</h2> <p>Our surveillance solutions are perfect for the retail setting.</p> </div> </li> </ul> </div> </div>
- The topic ‘Column Filtering’ is closed to new replies.